First things first: you will need: Php, Composer and Node (languages), to be able to run all the commands in the terminal, and Xampp or similar to run the back-end. Next to that, you’ll need a code editor (e.g. vscode) and possibly git to clone repositories and backup your code, as well as prettier and eslint for code formatting in your editor. Refer to:
Clone this (or another) existing repository, or make your own. If you want to connect SQL (also with an existing project) refer to ‘setting up the database’ below. You can do this after setup.
(How To connect Laravel Application to MySQL Database. - DEV Community)
Right now, Laravel is using database.sqlite (in project). If you want to use phpMyAdmin, you need to tell Laravel this, using .env.
First, create a new table with CLI inside phpMyAdmin (bottom of the screen)
PhpMyAdmin is probably at : http://localhost/phpmyadmin/index.php?route=/sql&pos=0&db=laravel&table=users
use;
CREATE DATABASE laravelSvelteInertia
(or whichever database name you want)
In .env in project root, then add:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelsvelteinertia
DB_USERNAME=root
DB_PASSWORD=
This makes it easier to see the contents of the database!