承接 lukasmu/laravel-favicon 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lukasmu/laravel-favicon

最新稳定版本:v2.0.0

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.

统计信息

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

GitHub 信息

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

其他信息

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