Start Your First CRUD
Last updated
Last updated
you can build a CRUD after you make a migration for your table, let's say you need to build a customer's table through this migration.
you can create a new migration
and after that, you can build your customer table schema.
run migration to create the table
now you need to install our Generator Plugin Tomato PHP so please use this command to install it
and here is the tomato step just use this command
it will ask you about the table name you generate a migration for it, and if you like to use Laravel Modules, you can just say y
on the next ask.
now you need to add a menu item to the AppServiceProvier boot()
function like this
This facade accepts an array or just 1 Menu class so you can use it as you like
make sure that your view is clean by using this command
BOM.. your CRUD is ready.