Playing
02. Fresh project with Breeze

Transcript

00:00
Let's kick things off with a fresh Laravel project if you're following along from the start and we're going to use the Laravel Breeze starter kit just to keep things
00:08
really simple here. Of course everything that we're going to cover in the course you can port over to either your own data tables or to wherever you're building your project from scratch. So let's start out with a new project here we're going to call this Livewire CSV. We're going to choose no starter kit because we're specifically going to install Breeze.
00:30
Let's just wait for this to run through and we'll select our database options. Let's choose MySQL here and we'll go ahead and run the default migrations for this app. We don't need to run npm install and npm run build just yet we just need to go into this directory open it up without editor and we'll get the Breeze starter kit installed. So just while that is doing
00:52
its thing let's go ahead and do a composer require on Laravel Breeze on our dev environment. Once this is finished we can go ahead and run the php artisan breeze install command and we can go ahead and choose a stack as we normally would with Laravel 11 and below. So it doesn't matter which Livewire version here we choose I'm just going to choose Livewire with
01:19
the functional api and you can run through any of the options here that you want to use. Okay so once that's done we're going to run npm install and we're going to run npm run dev and that will go ahead and boot up a development server for us to compile all of our assets. If we come over to the browser we should now have a nice fresh application so let's go ahead and register an
01:41
account here just to make sure this is looking good and we should be into our dashboard so let's just pop that email address in there and there we go we're into our dashboard and this is pretty much where we're just going to be building out our very basic data table ready to export and import all of our records.
22 episodes2 hrs 18 mins

Overview

Let's build a powerful CSV importer and exporter with Livewire, completely from scratch.

This can handle millions of rows, be reused for multiple models, and by using queues, doesn't require the browser to be open.

This course is for you if:

  • You need a robust drop-in importer and exporter component for your models that you have full control over
  • You want to brush up on some advanced Livewire concepts
  • You want to learn about queues in Laravel
Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Episode discussion

No comments, yet. Be the first!