Laravel 8 Livewire Tutorial (Building a Simple CMS): Create a Livewire CRUD Generator (part 11)
In this video, we will create a custom livewire crud generator. This livewire crud generator will be build using an artisan command that generates our custom livewire crud. This custom livewire crud generator will help us out in our productivity in building our laravel application. This laravel 8 livewire tutorial series will help you build a simple CMS (Content Management System) using laravel 8.
Versions:
Laravel 8
Livewire 2
Timeline:
-- Preparations
0:49 - Add users and users-permissions to route/web.php
1:57 - Add users and user-permissions view files in your resources/views/admin directory
2:49 - Update your navigation dropdown file
4:05 - Create a migration file for user-permissions table
5:25 - Publish laravel stubs
5:51 - Create a custom Artisan Command to Generate Livewire CRUD
6:15 - Understanding the basics of our newly created custom Artisan Command
7:14 - Replace the signature name of the command
7:27 - Add the two parameters/arguments that will receive the value of the class name and the model name
9:15 - Build the gather all parameters logic
14:29 - Build the generate Livewire Class file logic
20:57 - Using replace array helper function to make our file generation dynamic
29:18 - Build the generate Livewire View file logic
34:44 - Check if there is an existing generated file so we can abort the process
Livewire Crud Class Stub file:
https://raw.githubusercontent.com/jackoftraits/laravel8-with-livewire/master/stubs/custom.livewire.crud.stub
Livewire CRUD View Stub file:
https://raw.githubusercontent.com/jackoftraits/laravel8-with-livewire/master/stubs/custom.livewire.crud.view.stub
Previous Video: User Access Roles Laravel Middleware (part10)
https://www.youtube.com/watch?v=IsmGlPi43hk
Next Video: Finalize Dynamic User Access Roles (part 12)
https://www.youtube.com/watch?v=m6THBDAmbAw
Github Repo:
https://github.com/jackoftraits/laravel8-with-livewire
Download VS Code:
https://code.visualstudio.com
Tailwind:
https://tailwindcss.com
Sound: www.bensound.com
#laravelLivewire #laravel8 #livewire
Other Videos By Sentgine
Other Statistics
Live Wire! Statistics For Sentgine
Currently, Sentgine has 272,446 views for Live Wire! across 24 videos. There's close to 7 hours worth of content for Live Wire! published on his channel, or 47.23% of the total watchable video on Sentgine's YouTube channel.