jsjunior / laravel-make-composer
A package extending Artisan to make View Composer class
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 1
pkg:composer/jsjunior/laravel-make-composer
Requires
- laravel/framework: ~5.5|~6.0
This package is auto-updated.
Last update: 2021-03-03 00:13:26 UTC
README
This package add a make:composer Artisan command to create view composer classes.
Install
composer require --dev jsjunior/laravel-make-composer
Requirements
Laravel >= 5.5
Default location
By default, new view composers are created in a App\View\Composers
folder.
To change it, add a COMPOSERS_PATH variable to your .env file. Example:
COMPOSERS_PATH=\my\composers\location
New composers will be created in App\My\Composers\Location
folder.