定制 regnilk/fa-laravel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

regnilk/fa-laravel

Composer 安装命令:

composer require regnilk/fa-laravel

包简介

Laravel component for FontAwesome integration with Blade

README 文档

README

Laravel component for FontAwesome integration with Blade

Name Latest stable release Name

Total Download GitHub Watchers GitHub Stars GitHub Followers

License php php

Note : This package is to be used with Laravel version 8

Installation

Install the package via Composer:

    $ composer require regnilk/fa-laravel

The package service provider will be registered automatically.

Configuration

You need to publish the configuration file to set the icons you need

    php artisan vendor:publish --provider="Regnilk\FaLaravel\FaServiceProvider"

Then edit the array returned in app/config/fa-laravel.php this way :

    return [
        "ok"    => "fas fa-check",
        "close" => "fas fa-times"
    ];

It will provide you a dictionary of icons shortcuts.

Usage

To display an icon, just call it this way :

    <x-fa icon="ok" />

You can customize this component like any other :

    <x-fa icon="close" class="text-danger" style="font-weight: bold;" title="Click here to close" />

Contact

Please use GitHub for making comments or suggestions or to report bugs.

License

Fa-Laravel written by Regnilk and released under the MIT License.

Copyright

Copyright © 2020 Regnilk

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固