Basic requirements
- PHP versions 8.1
- composer
- MySQL 8.* (any versions)
git clone
composer install
or
composer install --ignore-platform-reqs
Copy the .env.example file in .env or just run this command
cp .env.example .env
Next update the .env file
Change these keys in the .env file
APP_URL=http://127.0.0.1:8000 # change this line app run URL
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_livewire_crud
DB_USERNAME={user_name}
DB_PASSWORD={password}
Now run the migrate and app run command via the terminal
php artisan migrate
php artisan serve