- First We Need to install the package
composer require elattar/prepare
- Run
composer update
and typey
composer update
- Initialize the newly created project by pushing the helpers
- This Command will install the development packages that helps us like
laravel telescope
,laravel modules
,fast paginate
,commitlint
andhusky
php artisan elattar:initialize
- if you don't want to install
commitlint
package to lint you git commits, you can pass--no-commitlint
flag
php artisan elattar:initialize --no-commitlint
- To install advanced packages like
log-viewer
you can pass--advanced
flag
php artisan elattar:initialize --advanced
- Then We have to publish package assets, files
php artisan vendor:publish --tag=elattar-prepare --force
- finally copy middlewares, files, dump composer
php artisan elattar:publish-prepare-files