laravel
Install PHP using XAMPP
Install COMPOSE (PHP dependecy manager)
Run below to create a laravel app named example-app
composer create-project laravel/laravel example-appcd example-appConnect to DB
// Can now run laravel web app using
php artisan serveTo connect to mySQL database: I use mySQL workbench Connect a connection Create a database eg.

Add database details to .env file

Create model migration
Now my database looks like this , because there are multiple default tables


Example (Create list Item , add to DB)
Last updated