wychoong / laravel-view-extract
This package helps to extract view from vendor package using artisan command
v0.1.2
2023-04-04 16:04 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.0|^10.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0|^8.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-09 09:25:19 UTC
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.