PHPackages                             tranquil-tools/laravel-vue-crud-builder - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tranquil-tools/laravel-vue-crud-builder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tranquil-tools/laravel-vue-crud-builder
=======================================

A VueJS/Inertia CRUD Builder package for Laravel

1.0.3(1mo ago)032MITPHPPHP ^8.4CI failing

Since May 26Pushed 1mo agoCompare

[ Source](https://github.com/ComfyCodersBV/laravel-vue-crud-builder)[ Packagist](https://packagist.org/packages/tranquil-tools/laravel-vue-crud-builder)[ Docs](https://github.com/ComfyCodersBV/laravel-vue-crud-builder)[ RSS](/packages/tranquil-tools-laravel-vue-crud-builder/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (28)Versions (6)Used By (0)

Laravel Vue CRUD Builder
========================

[](#laravel-vue-crud-builder)

Full CRUD scaffolding for Laravel + Vue 3 + Inertia.js, built on top of [laravel-vue-form-builder](https://github.com/ComfyCodersBV/laravel-vue-form-builder)and [laravel-vue-table-builder](https://github.com/ComfyCodersBV/laravel-vue-table-builder).

One command scaffolds a complete CRUD resource: controller, form class, table class, form request, and Vue pages. Point it at a model and fields/columns are generated from your database schema automatically.

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

[](#installation)

```
composer require tranquil-tools/laravel-vue-crud-builder
```

Install the required npm packages:

```
npm install reka-ui lucide-vue-next
```

Then run the installer, which publishes the config and patches `vite.config.ts` and `resources/css/app.css`:

```
php artisan crud-builder:install
```

Usage
-----

[](#usage)

### Scaffold a CRUD resource

[](#scaffold-a-crud-resource)

```
php artisan make:crud User
```

You will be prompted for the model class (pre-filled guess based on the resource name). Press Enter to accept, or clear to skip schema detection and generate empty Form/Table classes.

This generates:

- `app/Http/Controllers/UserController.php` - explicit controller with all CRUD methods
- `app/Forms/UserForm.php` - form class with schema-detected fields
- `app/Tables/UserTable.php` - table class with schema-detected columns
- `app/Http/Requests/UserRequest.php` - form request backed by `UserForm::rules()`
- `resources/js/pages/Users/Index.vue` and `Form.vue` - Inertia pages

Then register the route in `routes/web.php`:

```
Route::resource('users', \App\Http\Controllers\UserController::class);
```

The generated controller extends Laravel's `Controller` and includes all CRUD methods explicitly, using model route binding and the generated form, table, and request classes:

```
class UserController extends Controller
{
    public function index(): Response
    {
        return Inertia::render('Users/Index', [
            'table' => UserTable::build()->rowLink(fn ($row) => route('users.show', $row)),
            'title' => 'Users',
            'createRoute' => route('users.create'),
        ]);
    }

    public function store(UserRequest $request): RedirectResponse
    {
        User::create($request->validated());

        return redirect()->route('users.index')->with('success', 'User created.');
    }

    // edit, update, destroy …
}
```

All methods are written out explicitly, so you can customize the controller directly.

### Auto schema detection

[](#auto-schema-detection)

When a model is provided during `make:crud`, the generated `UserForm` and `UserTable` are pre-populated with fields and columns derived from the database schema:

```
php artisan make:crud User --model=App\\Models\\User
```

Column type mapping:

Database typeForm fieldTable column`varchar`, `char``Text`sortable`text`, `longtext``Textarea`-`integer`, `bigint`, `decimal``Number`sortable`boolean`, `tinyint` / `is_*`, `has_*``Toggle`sortable`date``Date`sortable`datetime`, `timestamp``DateTime`sortablename contains `email``Email`sortablename contains `password``Password`excludedname contains `color``Color`sortableColumns `id`, `password`, `remember_token`, `email_verified_at`, `created_at`, `updated_at`, `deleted_at` are excluded from forms by default.

### Vue pages

[](#vue-pages)

The generated `Index.vue` and `Form.vue` use the Table- and FormBuilder components:

```

    import TableBuilder from '@table-builder/components/TableBuilder.vue'
    import type {TableData} from '@table-builder/types/table-builder'

    defineProps()

```

```

    import Form from '@form-builder/components/Form.vue'
    import type {FormSchema} from '@form-builder/types/form-builder'

    defineProps()

```

### Shared Vue pages

[](#shared-vue-pages)

Instead of generating per-resource pages, publish shared `Crud/Index.vue` and `Crud/Form.vue` pages once and reuse them across all CRUD resources:

```
php artisan vendor:publish --tag=crud-builder-pages
```

Set in `config/vue-crud-builder.php`:

```
'pages' => 'shared',   // 'per-resource' | 'shared' | 'ask' (default)
```

Or pass `--shared` / `--pages` to `make:crud` to override per-command.

Customising stubs
-----------------

[](#customising-stubs)

Publish stubs to the project's `stubs/` directory to override the generated output:

```
php artisan vendor:publish --tag=crud-builder-stubs
```

```
stubs/
  crud-controller.stub  # the controller
  crud-form.stub        # the Form class
  crud-table.stub       # the Table class
  index-page.stub       # the Index Vue page
  form-page.stub        # the Form Vue page

```

Configuration
-------------

[](#configuration)

```
// config/vue-crud-builder.php

return [
    // 'per-resource' - generate Index.vue + Form.vue per resource (default)
    // 'shared'       - use published Crud/Index.vue + Crud/Form.vue
    // 'ask'          - prompt during make:crud
    'pages' => env('CRUD_BUILDER_PAGES', 'ask'),

    // Namespaces used during code generation
    'namespaces' => [
        'models' => 'App\\Models',
        'forms' => 'App\\Forms',
        'tables' => 'App\\Tables',
        'requests' => 'App\\Http\\Requests',
    ],
];
```

Changelog
---------

[](#changelog)

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

Credits
-------

[](#credits)

- [ComfyCoders B.V.](https://comfycoders.nl)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance92

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~6 days

Total

4

Last Release

39d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/262353729?v=4)[ComfyCoders BV](/maintainers/comfycoders-development)[@comfycoders-development](https://github.com/comfycoders-development)

---

Top Contributors

[![J87NL](https://avatars.githubusercontent.com/u/16107428?v=4)](https://github.com/J87NL "J87NL (13 commits)")

---

Tags

laraveltranquil-toolslaravel-vue-crud-builder

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tranquil-tools-laravel-vue-crud-builder/health.svg)

```
[![Health](https://phpackages.com/badges/tranquil-tools-laravel-vue-crud-builder/health.svg)](https://phpackages.com/packages/tranquil-tools-laravel-vue-crud-builder)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

330530.5k30](/packages/codewithdennis-filament-select-tree)[robertboes/inertia-breadcrumbs

Laravel package to automatically share breadcrumbs to Inertia

59150.6k1](/packages/robertboes-inertia-breadcrumbs)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

123177.8k1](/packages/stephenjude-filament-feature-flags)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)

PHPackages © 2026

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