melihovv / laravel-compile-views
此包已被弃用且不再维护。未建议替代包。
缺少laravel的view:compile命令。
1.0.1
2017-12-23 16:16 UTC
Requires
- php: >=7.0
- illuminate/support: ^5.3
- illuminate/view: ^5.3
This package is auto-updated.
Last update: 2020-09-05 10:27:31 UTC
README
最近Laravel中已内置view:cache
命令。因此,此包不再需要 :)
缺少laravel的view:compile命令。
与blade minifier结合使用是完美的解决方案:在部署脚本中零成本获取压缩后的编译视图。
安装
通过composer安装
composer require melihovv/laravel-compile-views
如果您使用laravel>=5.5并具有包自动发现功能,以下步骤是可选的。
将服务提供者添加到config/app.php
中的providers
部分
Melihovv\LaravelCompileViews\ServiceProvider::class,
使用方法
php artisan view:compile
安全
如果您发现任何安全相关问题,请发送电子邮件至amelihovv@ya.ru,而不是使用问题跟踪器。