Clone & Setup Laravel Project from GitHub

Follow these steps to clone and run a Laravel 12 project from GitHub.

1. Clone the Repository

git clone https://github.com/StarCodeKh/Laravel-Admin-Template-Pro.git cd Laravel-Admin-Template-Pro

2. Install PHP Dependencies

composer install

3. Environment Setup

cp .env.example .env php artisan key:generate

Edit .env to match your database configuration.

4. Run Migrations

php artisan migrate

5. Install Node Dependencies & Build Assets

npm install npm run dev # for development # or npm run build # for production

6. Storage Link

php artisan storage:link

7. Serve the Application

php artisan serve

Now open http://127.0.0.1:8000 in your browser. 🚀

Souy Soeng

Souy Soeng

Hi there 👋, I’m Soeng Souy (StarCode Kh)
-------------------------------------------
🌱 I’m currently creating a sample Laravel and React Vue Livewire
👯 I’m looking to collaborate on open-source PHP & JavaScript projects
💬 Ask me about Laravel, MySQL, or Flutter
⚡ Fun fact: I love turning ☕️ into code!

Post a Comment

close