This package helps to extract view from vendor package using artisan command
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'
],
];
# Extract view from vendor
php artisan view:extract {view} {--force}
# Sync extracted views from vendor
php artisan view:sync {namespace?} {--check}
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.