This guide will walk you through the setup process for a Laravel 11 application running on PHP 8.2. Follow these steps to get started with the project.
- PHP 8.2 or higher
- Composer (for managing PHP dependencies)
- A database (MySQL, PostgreSQL, etc.)
- Laravel 11
git clone https://github.com/
cp .env.example .env
- put variables needed in .env
composer install
php artisan key:generate
php artisan passport:keys --force
php artisan passport:client --personal
php artisan migrate:fresh --seed
If you are deploying the application to production, be sure to configure appropriate caching and optimize the application:
php artisan optimize:clear