In this episode, we're kicking things off by creating a brand new Laravel project that we'll use throughout the course. You'll see step-by-step how to spin up a fresh Laravel app, install Livewire, and get everything set up for smooth development.
We'll walk through using the Laravel installer (or Composer if you don't have it) and create a project called Livewire Trello. We use Laravel Breeze as our starter kit because it's lightweight and easy to use for authentication out of the box. During the setup, you'll see how to pick Livewire as the stack, and we touch on the option between the Volt class API and functional API—although for this project, we’ll stick with standard Livewire components.
Next, we finish configuring some preferences for our new project—choosing Pest as our testing framework, skipping dark mode, and not worrying about Git right now. We'll also set up MySQL as our database, run the default Laravel migrations, and make sure everything is connected by registering a new user.
Once that's all running, we check that migrations worked and the user is in the database. We'll finish up by making sure the frontend tools are built by running npm run dev
, and verify our new app is up and running (I use Laravel Herd, but any method works!).
By the end of this video, you’ll have a fresh Laravel app with authentication and Livewire ready to go, so we’re all set to start building out new pages and components next. Perfect foundation work done!