elattar/prepare

Configure Newly Created Laravel Projects

Installs: 918

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/elattar/prepare

v5.0 2025-03-03 11:56 UTC

README

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