tareq1988 / laravel-inertia-crud
A CRUD generator for inertia and react
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/tareq1988/laravel-inertia-crud
Requires
- php: >=8.1
 
Requires (Dev)
- laravel/framework: ^10.0|^11.0
 
This package is auto-updated.
Last update: 2025-10-28 14:41:21 UTC
README
This is a Laravel package that provides a simple and efficient way to create CRUD (Create, Read, Update, Delete) operations using Inertia.js, React and TypeScript.
Features
- Seamless integration with Laravel and Inertia.js (React)
 - Pre-built CRUD operations
 - Easy to customize and extend
 
Requirements
Installation
- 
Install the package via Composer:
composer require tareq1988/laravel-inertia-crud
 - 
Install
@wedevs/tail-reactand@heroicons/reactpackage:yarn add @wedevs/tail-react @heroicons/react // or npm i @wedevs/tail-react @heroicons/react
 
See the usage instruction of @wedevs/tail-react package.
Usage
- 
Generate a new CRUD resource:
php artisan inertia:make-resource Modelname
 
It'll create the controller, model and add a resource route in your web.php route. Please manually import the controller there.
- 
Generate React page CRUD components:
php artisan inertia:make-component Comment
 
You've to pass the model name here, it'll create the required components.
Contributing
Contributions are welcome!
License
This package is open-sourced software licensed under the MIT license.