kriosmane/svg-downloader
最新稳定版本:v1.1
Composer 安装命令:
composer require kriosmane/svg-downloader
包简介
This is my package svg-downloader
README 文档
README
Laravel Package to download SVG Material Design Icons by Material Design Icons
Note: Please use the main MaterialDesign repo to report issues. This repo is for distribution of the SVG files only.
Installation
You can install the package via composer:
composer require kriosmane/svg-downloader
You can publish the config file with:
php artisan vendor:publish --tag="svg-downloader-config"
This is the contents of the published config file:
return [ 'remote_url' => env('MDI_SVG_ENDPOINT', 'https://cdn.jsdelivr.net/npm/@mdi/svg@6.9.96/'), 'disk' => [ 'driver' => env('MDI_SGV_FILESYSTEM_DISK', 'local'), 'root' => env('MDI_SGV_FILESYSTEM_DISK_ROOT', public_path('/svg')), ], ];
Usage
php artisan svg-downloader
php artisan svg-downloader --author=Google
php artisan svg-downloader --path="storage/mdi/svg"
$svgDownloader = new Kriosmane\SvgDownloader();
Changelog
Please see CHANGELOG for more information on what has changed recently. 1
Contributing
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.
Credits
License
The MIT License (MIT). Please see License File for more information.
How can I thank you?
As a programmer i need coffee to be productive, don't let my cup get emtpy
Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-06