Download the PHP package ibex/crud-generator without Composer
On this page you can find all versions of the php package ibex/crud-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ibex/crud-generator
More information about ibex/crud-generator
Files in ibex/crud-generator
Informations about the package crud-generator
This Laravel CRUD Generator v2.x package provides and generates Controller, Model (with eloquent relations), and Views in Bootstrap/Tailwind CSS for the development of your applications with a single command. This new v2.x
will have stack options like bootstrap
, tailwind
, livewire
(Livewire views will be generated in Tailwind CSS), and API
only.
- Will create Model with Eloquent relations
- Will create Controller with all resources
- Will create API Controllers with all requests
- Will create Component with all resources for Livewire
- Will create views in Bootstrap/Tailwind
This is the best crud generator for a blank Laravel project installation too. This will auto install the starter kit laravel/breeze or laravel/ui (for bootstrap 5) for blank Laravel installation.
Requirements
Laravel >= 10.x
PHP >= 8.1
Installation
1 - Install
2- Publish the default package's config (optional)
For older Laravel(<10.x) versions please use v1.x
Usage
Add a route in web.php
For Livewire
add routes below
For api
add routes below
Route name in plural slug case.
Options
-
Tech Stack
- Custom Route
Examples
Model
Controller
Livewire component
API only controller
Tailwind CSS
Bootstrap
Tailwind Form
Bootstrap Form
Personalize
You have the possibility of 100% customizing the generated views, this is achieved in the following way:
- Run this command
php artisan vendor:publish --tag=crud
this will create thecrud.php
file in your config/ folder. - Update the variable
stub_path
, to your own stub folder like'stub_path' => resource_path('stubs/'),
-
Copy the stubs files from package
- Update your changes in your stub files. (you can delete extra files/folders if you are not using them).
- Run the command for crud generation and you'll get the updated views.
Author
M Awais // Email Me
Hire Me LinkedIn