swatty007/nova-easy-avatars 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

swatty007/nova-easy-avatars

Composer 安装命令:

composer require swatty007/nova-easy-avatars

包简介

Additional Plug & Play Avatars for your Nova Panel.

README 文档

README

Package Banner

Latest Version on Packagist License: MIT Quality Score Total Downloads

A small set of additional Avatars types to extend your Nova Panel. Plug & Play.

Installation

You can install the package via composer:

composer require swatty007/nova-easy-avatars

Configuration

All fields work without any additional configuration out of the box. You can however, overwrite their Name & Attribute fields to your liking as on any other Nova field. Furthermore, you can control the size of your avatars with the setSize() && setFontSize()(Initials only) method.

The Laravolt based Initials field gives you some extra controls over the look & feel of your Avatar via its configuration file. For details check out the package's documentation under: https://github.com/laravolt/avatar

This is helpful, if you want to generate Avatars with a unique color scheme, which matches your application!

Usage

You can use all available Avatar fields in the same way as Novas build in fields.

use Swatty007\NovaEasyAvatars\Fields\Initials;

public function fields(Request $request)
    {
        return [
            ...
            Initials::make('Avatar', 'name')
                    ->setSize(350),
            ...
        ]
    

The package currently supports the following Avatar Types:

Changelog

Please see CHANGELOG for more information what has changed recently.

TODO

  • If someone has an idea how to write tests for Nova fields, pull Requests are welcome 🧐

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email info@martin-niehoff.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 562
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固