PHPackages                             xt/laravel-inertia-element-ui-crud - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. xt/laravel-inertia-element-ui-crud

ActiveLibrary

xt/laravel-inertia-element-ui-crud
==================================

Generate CRUD files for element ui + inertia js + Vue3

v1.0.6(1y ago)01105[1 PRs](https://github.com/hirenreshamwala/laravel-inertia-element-ui-crud/pulls)MITPHPPHP ^7.4|^8.0|^8.1|^8.3

Since Jun 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hirenreshamwala/laravel-inertia-element-ui-crud)[ Packagist](https://packagist.org/packages/xt/laravel-inertia-element-ui-crud)[ Docs](https://github.com/xt/element-ui-crud)[ RSS](/packages/xt-laravel-inertia-element-ui-crud/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

element-ui crud generator
=========================

[](#element-ui-crud-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/61df7577aee54a3feb72e67a59d93e28dd2f30732d196466a9d2a477e4a55439/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f78742f6c61726176656c2d696e65727469612d656c656d656e742d75692d637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xt/laravel-inertia-element-ui-crud)[![Total Downloads](https://camo.githubusercontent.com/18d83982f527325231f285fdf05041efb414715b74abf0e6a7693d82744e3aac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f78742f6c61726176656c2d696e65727469612d656c656d656e742d75692d637275642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xt/laravel-inertia-element-ui-crud)

Generate CRUD for Element-UI (Vue 3) and Inertia Js.

This package will generate files to perform CRUD, based on the database table schema. It will generate all the fields in list, create and update form pages.

[Vue Plugin](https://www.npmjs.com/package/laravel-inertia-element-ui-crud-vue3)

Features
--------

[](#features)

- Generate list, create and update view pages
- Generate controller which perform insert, update and delete
- Generate form for all the fillable fields defined in model file
- Server side validation (required and maximum length)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require xt/laravel-inertia-element-ui-crud
```

Install npm package:

```
npm install laravel-inertia-element-ui-crud-vue3 --save
```

Add code
--------

[](#add-code)

add following function to the app/Http/Controllers/Controller.php

```
function filterOrderParameters(){
    $sort_order = \request('order', 'd');
    if ($sort_order == ''){
        $sort_order = 'd';
    }
    if ($sort_order == 'a'){
        $sort_order = 'asc';
    } else {
        $sort_order = 'desc';
    }
    return $sort_order;
}
```

Usage
-----

[](#usage)

Add following code to the boot method of the app/Providers/AppServiceProvider.php

```
Inertia::share('flash', function () {
    return [
        'message' => Session::get('message'),
    ];
});

Inertia::share([
    'success' => function () {
        return Session::get('success')
            ? Session::get('success')
            : '';
    },
]);

Inertia::share([
    'error' => function () {
        return Session::get('error')
            ? Session::get('error')
            : '';
    },
]);

Inertia::share([
    'errors' => function () {
        return Session::get('errors')
            ? Session::get('errors')->getBag('default')->getMessages()
            : (object) [];
    },
]);
```

Command to generate CRUD
------------------------

[](#command-to-generate-crud)

```
php artisan crud:generator
```

Prepare model before generate crud

make sure controller name without including controller for example `User` which generates `UserController`

Example:

```
#This will generator view file for Jetstream

php artisan crud:generator User User
```

or

```
#This will generator view file for breeze

php artisan crud:generator User User --template=breeze
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Hiren Reshamwala](https://github.com/hirenreshamwala)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~204 days

Recently: every ~214 days

Total

7

Last Release

581d ago

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

1.0.3PHP ^7.4|^8.0|^8.1

v1.0.6PHP ^7.4|^8.0|^8.1|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c3a9aec52ca2e39b71f5a3aaacec11c7352fa97bb52b04293198e1831982740?d=identicon)[hirenreshamwala](/maintainers/hirenreshamwala)

---

Top Contributors

[![hirenreshamwala](https://avatars.githubusercontent.com/u/1775052?v=4)](https://github.com/hirenreshamwala "hirenreshamwala (16 commits)")

---

Tags

laravelinertiainertiajsElement Pluselement-uixtelement-ui-crud

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xt-laravel-inertia-element-ui-crud/health.svg)

```
[![Health](https://phpackages.com/badges/xt-laravel-inertia-element-ui-crud/health.svg)](https://phpackages.com/packages/xt-laravel-inertia-element-ui-crud)
```

###  Alternatives

[outhebox/laravel-translations

Manage your Laravel translations with a beautiful UI. Add, edit, delete, import, and export translations with ease.

80687.6k](/packages/outhebox-laravel-translations)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

3812.2k](/packages/erag-laravel-lang-sync-inertia)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6392.1k](/packages/masterro-laravel-mail-viewer)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
