Model Factories And Seeding
Setup A Laravel Project
First, let’s create a fresh Laravel project. Make sure you have composer
installed, then you can start a new Laravel project with the Laravel Installer or with composer create-project
. If you want to use the Laravel installer follow the Laravel official docs here:
👉 https://laravel.com/docs/8.x/installation
For this tutorial, I will be installing Laravel with composer create-project
.
First, check if you have composer installed: