chriscubos / assets
让创建带有资源的Laravel包变得简单。
5.3.0
2016-09-03 23:38 UTC
Requires
- php: ~5.4|~7.0
- chrirscubos/jspack: 1.0.0
- chrirscubos/packager: 1.0.0
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2024-09-23 14:44:20 UTC
README
这里应该是您的描述。尽量限制在一到两段,并提及您支持的PSR以避免用户和贡献者的任何混淆。
安装
通过Composer
$ composer require chriscubos/assets
config/app.php
<?php return [ 'providers' => [ Chriscubos\Assets\AssetsServiceProvider::class, ], ] ?>
安装配置
php artisan vendor:publish
可选任务
$ composer dump-autoload
用法
// organize collection sets <?=Assets::collection(['jquery', 'bootstrap', 'style.css']);?> // grouped packages for your fun <?=Assets::packages(['colorpicker', 'bootstrap-slider'])?> // takes assets from the theme folder auto switch with my theme package <?=Assets::theme(['style.css','_all-skins.min.css'])?>
配置
变更日志
有关最近更改的更多信息,请参阅变更日志。
测试
$ composer test
贡献
有关详细信息,请参阅CONTRIBUTING和CONDUCT。
安全性
如果您发现任何与安全性相关的问题,请通过电子邮件chriscubos@outlook.com联系,而不是使用问题跟踪器。
鸣谢
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件。