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.

Maintainers

Package info

github.com/Fahim-Hossain-Munna/quick-setup

pkg:composer/fahimhossainmunna/quick-setup

Statistics

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.1.0 2025-11-01 13:10 UTC

This package is auto-updated.

Last update: 2026-03-01 00:48:28 UTC


README

Packagist Version Total Downloads License

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 install and npm 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 .env from .env.example
  • 🧩 Run composer install and npm 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:

  1. Ensure required tools are installed

    • PHP
    • Composer
    • Node.js
    • npm
  2. Check your environment file

    • Make sure your .env file exists and contains valid database credentials.
  3. Clear and refresh Laravel cache

    php artisan config:clear
    php artisan cache:clear
  4. 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.