Create PHP Laravel 8 CRUD web application with MySQL Database.
Create PHP Laravel 8/7 CRUD Web App with MySQL Database
To run with Laravel sail, run the following comamnd:
cp .env.example .env
./vendor/bin/sail -f docker-compose-dev-sail.yml up
Then hit http://localhost/students
on your favorite browser to see if the app is working.
To run the Laravel application in a production like way, please execute the following command:
docker-compose up
The go to http://localhost/students
to view the output.