fahimhossainmunna / quick-setup
A Laravel quick setup automation package that instantly configures your project by generating the .env file, setting up environment values, installing Composer and NPM dependencies, running migrations and seeders, linking storage, and clearing caches β all with a single Artisan command.
Requires
- php: >=8.1
- illuminate/support: ^10.0|^11.0|^12.0
- symfony/process: ^6.0 || ^7.0
README
A lightweight and time-saving Composer package that helps you automatically set up a freshly cloned Laravel project with a single command.
No more manual .env copying, dependency installation, or migration hassle β just run one command and get started!
π§ About The Project
When we clone a Laravel repository from GitHub, we usually need to:
- Copy
.env.exampleβ.env - Run
composer installandnpm install - Generate the application key
- Set up database credentials
- Run migrations and link storage
- Configure app URL and other environment values
Doing this repeatedly can be frustrating β especially for teams.
So this package provides a bash-powered automation tool that executes all these steps with a single command.
Perfect for developers who want a faster, cleaner, and repeatable setup workflow.
β¨ Features
- π Auto-create
.envfrom.env.example - π§© Run
composer installandnpm install - π Auto-generate app key
- ποΈ Run database migrations
- π Link Laravel storage
- βοΈ Optionally set
APP_URL,DB_*configs - π§Ή Clean and minimal β no heavy dependencies
βοΈ Installation
You can install it globally or directly inside your Laravel project.
First-Time Installation (fresh Laravel project)
composer install composer require fahimhossainmunna/quick-setup
Once installed, simply run the following Artisan command:
composer install php artisan run:quick-setup
π οΈ Troubleshooting
If something doesnβt work, try the following steps:
-
Ensure required tools are installed
- PHP
- Composer
- Node.js
- npm
-
Check your environment file
- Make sure your
.envfile exists and contains valid database credentials.
- Make sure your
-
Clear and refresh Laravel cache
php artisan config:clear php artisan cache:clear
-
Fix file or directory permissions - If you encounter permission errors, run:
chmod -R 775 storage bootstrap/cache
Fahim Hossain Munna
π Packagist Profile
π» GitHub Profile
πͺͺ License
This package is open-sourced software licensed under the MIT license.