
Update the default migration for creating the users table and add the custom fields that we’re going to use: // database/migrations/_create_users_table.php public function up ( ) Īt this point, you can now start running the app.

Don’t forget to check the project’s changelog on their GitHub repo to make sure you’re not missing anything. If you’re reading this in the future, it’s recommended that you install the most recent version.

Note: we’re installing the specific version I’ve used in creating the demo. Install it with the following command: composer require livewire/livewire:2.3 We only have one dependency for the back end and that’s Livewire. The next step is to create a MySQL database using your database management tool of choice. This will be the root project folder where you execute all of the commands throughout this tutorial. Navigate inside the livecrud folder that it will generate. You can now create a new Laravel project: composer create-project laravel/laravel livecrud
