Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.01 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.01 KB

Prepare Laravel Project

Configure newly created laravel project using simple package

  • First We Need to install the package
composer require elattar/prepare
  • Run composer update and type y
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 and husky
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