{"repo":"misterdebug/crud-generator-laravel","free":true,"listed":false,"github":"https://github.com/misterdebug/crud-generator-laravel","clone":"git clone https://github.com/misterdebug/crud-generator-laravel.git","description":"Create a Laravel 12 CRUD in a few seconds","language":"PHP","stars":317,"topics":["crud","laravel","composer-package","crud-generator","laravel-package","laravel8","laravel9","laravel-crud","laravel-crud-generator","generator"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Crud Generator Laravel 12 (your time saver) Crud Generator Laravel is a package that you can integrate in your Laravel to create a REAL CRUD. It includes : - Controller with all the code already written - Views (index, create, edit, show) - Model with relationships - Request file with validation rules - Migration file And since 1.9.2, a complete REST API ! [ NEW ] Your voice matters! Participate in the polls and vote for future features and improvements If you find this project useful, please consider giving it a star⭐. It helps me prioritize and focus on keeping project up-to-date. Thank you for your support! Installation 1\\. Run the following composer command: 2\\. If you don't use Laravel Collective Form package in your project, install it: (Note: This step is not required if you don't need views.) 3\\. Publish the configuration file, stubs and the default-theme directory for views: Usage Create CRUD (or REST API) Let's illustrate with a real life example : Building a blog A Post has many (hasMany) Comment and belongs to many (belongsToMany) Tag A Post can have a title and a content fields Let's do this 🙂 If you need a REST API instead of CRUD, read this wiki CRUD generator command : (theory) (for our example) Available options Generate CRUD with livewire datatable When you call this command, the controller, views and request are generated with your fields (in this case, title and content). Now let's add our relationships ( Comment and Tag models) : We add a hasMany relatio","default_branch":null,"files":null,"tree":[],"storefront":"/r/misterdebug","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/misterdebug/crud-generator-laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}