定制 lukasmu/laravel-favicon 二次开发

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

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

lukasmu/laravel-favicon

Composer 安装命令:

composer require lukasmu/laravel-favicon

包简介

Add pretty favicons to your Laravel application on the fly

README 文档

README

Latest Version on Packagist GitHub Run Tests Action Status GitHub Format Code Action Status Coverage Status Total Downloads

This package can be used to quickly generate customized and high-quality favicons for your Laravel application. The icons are generated on the fly for different platforms and display resolutions. Usage is super simple and just requires including a view component in your Blade templates.

Installation

You can install the package via composer:

composer require lukasmu/laravel-favicon

Usage

Add the <x-favicon::links /> view component to the head section of your Blade templates:

<!doctype html>
<html>

<head>
    <title>Example</title>
    <x-favicon::links />
    ...
</head>

<body>
...
</body>

</html>

When you use this package to production environments it is recommended invoke the following command to cache the most commonly requested favicons:

php artisan favicon:cache

You can undo the above command by invoking:

php artisan favicon:clear

Customization

You may publish the favicon.php config file with:

php artisan vendor:publish --provider="LukasMu\Favicon\FaviconServiceProvider" --tag="config"

Feel free to set the appropriate environmental variables (or edit the config file) in order to customize the automatically generated favicons.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Contributions are welcome and will be fully credited. Feedback is very much appreciated as well.

Please see CONTRIBUTING for details.

Testing

The package includes tests written for the Pest PHP testing framework which can be run by calling:

composer test

Security

If you discover any security related issues, please email hello@lukasmu.com instead of using the issue tracker.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固