wychoong/laravel-view-extract
最新稳定版本:v0.1.2
Composer 安装命令:
composer require wychoong/laravel-view-extract
包简介
This package helps to extract view from vendor package using artisan command
README 文档
README
This package helps to extract view from vendor package using artisan command
Installation
You can install the package via composer:
composer require wychoong/laravel-view-extract
You can publish the config file with:
php artisan vendor:publish --tag="view-extract-config"
This is the contents of the published config file:
return [ /** * Exclude views when resync views (when using sync all) */ 'exclude' => [ // 'namespace::foo.bar.blade-name' ], /** * Only sync these views (when using sync all) * - `only` take priority over `exclude * - if same view listed in `exclude` it will still be excluded */ 'only' => [ // 'namespace::foo.bar.blade-name' ], ];
Usage
# Extract view from vendor php artisan view:extract {view} {--force} # Sync extracted views from vendor php artisan view:sync {namespace?} {--check}
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-31