- PHP version 8.2 or higher installed.
- SQLite or MySQL 5.7+
- Composer
- Node.js (18+) and NPM
-
Install Composer Dependencies
composer install
-
Copy the Configuration File
cp .env.example .env
-
Generate Application Key
php artisan key:generate
-
Run Migrations
php artisan migrate
php artisan migrate:fresh
-
(OPTIONAL) Run Laravel Pint (cs-fixer) Run pint (cs-fixer):
vendor/bin/pint
-
Install NPM Dependencies
npm install --no-save
npm update
-
Run Vite (for asset compilation & admin theme)
npm run build
-
Start the Application
php artisan serve
Laravel development server started: http://localhost:8000