PHPackages                             desino/crud-engine - 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. [Admin Panels](/categories/admin)
4. /
5. desino/crud-engine

ActiveLibrary[Admin Panels](/categories/admin)

desino/crud-engine
==================

Laravel Artisan scaffold generator for Desino CRUD modules (model, controller, migration, views, routes, translations).

v1.0.3(1mo ago)150MITPHPPHP ^8.1

Since May 20Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/desino/CrudEngine)[ Packagist](https://packagist.org/packages/desino/crud-engine)[ Docs](https://packagist.org/packages/desino/crud-engine)[ RSS](/packages/desino-crud-engine/feed)WikiDiscussions main Synced 3d ago

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

desino/crud-engine
==================

[](#desinocrud-engine)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e30bd10bb7858e85b3a87aeec79c9d875fdf9c2e969ba130c283e4efffccaf27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646573696e6f2f637275642d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/desino/crud-engine)[![Total Downloads](https://camo.githubusercontent.com/72a9e0536b36e24110747f120b45ea8c4c7c20bcf832a00a0710c96d0f47adfb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646573696e6f2f637275642d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/desino/crud-engine)[![License](https://camo.githubusercontent.com/35ca22d5a43dd6fb82e716c04c421bd8e9b7e673eb37741408b3f67582d7a0bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646573696e6f2f637275642d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/desino/crud-engine)[![PHP Version](https://camo.githubusercontent.com/addd01b19df6e3d2f57383580fbc185019b724f44cb715dee2484820fada4082/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646573696e6f2f637275642d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/desino/crud-engine)

**Laravel Artisan scaffold generator** for Desino admin CRUD modules. One command generates the model, controller, migration, Blade views, web routes, and translation keys in your host application.

Features
--------

[](#features)

- **Artisan command** — `php artisan make:crud-engine {Entity}`
- **Full scaffold** — model, controller, migration, views (`index`, `create`, `edit`)
- **Admin UX** — list with status filters and keyword search, create/edit forms, activate/deactivate, delete with confirmation modals
- **Conventions** — matches Desino patterns (`AppMiscService`, `layouts.app`, `lang/en/messages.php`)
- **Safe re-runs** — skips overwriting existing files unless `--force` is used; skips duplicate route blocks marked in `routes/web.php`
- **Auto-discovery** — service provider registered via Laravel package discovery

Requirements
------------

[](#requirements)

RequirementVersionPHP`^8.1`Laravel`^10.0`, `^11.0`, or `^12.0`Your Laravel application must already include:

- `App\Services\AppMiscService` — flash messages and validation message helpers
- Blade layout `layouts.app`
- Translation file `lang/en/messages.php` with shared keys (e.g. `general_not_allowed_access_message_text`, `general_no_results_text`)
- Session-based authentication (`\Auth::user()`)

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

[](#installation)

Install via Composer:

```
composer require desino/crud-engine
```

Laravel discovers the package automatically. Confirm the command is available:

```
php artisan list | findstr crud-engine
```

On Linux/macOS:

```
php artisan list | grep crud-engine
```

Usage
-----

[](#usage)

Generate CRUD for an entity (use singular or plural; the command normalizes names):

```
php artisan make:crud-engine Category
php artisan make:crud-engine Product --force
```

Example output:

```
CRUD scaffold for Category is ready.
Model:      app/Models/Category.php
Controller: app/Http/Controllers/CategoryController.php
Views:      resources/views/categories/
Routes:     appended to routes/web.php

```

Run migrations after generation:

```
php artisan migrate
```

### Generated artifacts

[](#generated-artifacts)

ArtifactPath (example: `Category`)Model`app/Models/Category.php`Controller`app/Http/Controllers/CategoryController.php`Migration`database/migrations/*_create_categories_table.php`Views`resources/views/categories/index.blade.php`, `create.blade.php`, `edit.blade.php`RoutesAppended to `routes/web.php`TranslationsNew keys merged into `lang/en/messages.php`### Generated behaviour

[](#generated-behaviour)

- **Index** — paginated list, status checkboxes, keyword search (session-backed filters)
- **Create / edit** — validated `name` field (unique, max 55 characters)
- **Activate / deactivate** — toggles `status` with audit fields (`updated_at`, `updated_by`)
- **Delete** — hard delete with confirmation modal

Default table columns: `id`, `name`, `status`, `created_at`, `created_by`, `updated_at`, `updated_by`.

Route names
-----------

[](#route-names)

For an entity `Category`, the generator appends routes under the URI prefix `/categories` (snake-case plural). Route **names** follow camelCase plural:

Route nameController actionMethods`categories.index``index`GET, POST`categories.create``create`GET, POST (`/categories/create`)`categories.edit``edit`GET, POST (`/categories/{id}/edit`)`categories.activate``activate`POST`categories.deactivate``deactivate`POST`categories.delete``delete`POSTActivate, deactivate, and delete use dedicated POST endpoints:

- `POST /categories/activate`
- `POST /categories/deactivate`
- `POST /categories/delete`

Re-running the command does not duplicate routes if `routes/web.php` already contains the marker:

```
// Routers :categories
```

Publishing to Packagist
-----------------------

[](#publishing-to-packagist)

1. Tag a release in your Git repository (e.g. `v1.0.0`).
2. Submit the repository URL on [packagist.org](https://packagist.org/packages/submit).
3. Enable the Packagist webhook (or use Packagist’s GitHub integration) so new tags update the package automatically.

Ensure `composer.json` includes valid `name`, `description`, `license`, and `authors` before submitting.

Support
-------

[](#support)

- **Issues:** [github.com/desino/CrudEngine/issues](https://github.com/desino/CrudEngine/issues)
- **Source:** [github.com/desino/CrudEngine](https://github.com/desino/CrudEngine)
- **Email:**

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md) for release history.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE).

Author
------

[](#author)

**Desino** —

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance92

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

4

Last Release

39d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167307930?v=4)[Desino](/maintainers/desino)[@desino](https://github.com/desino)

---

Top Contributors

[![desino](https://avatars.githubusercontent.com/u/167307930?v=4)](https://github.com/desino "desino (35 commits)")

---

Tags

laravelgeneratorscaffoldcruddesino

### Embed Badge

![Health badge](/badges/desino-crud-engine/health.svg)

```
[![Health](https://phpackages.com/badges/desino-crud-engine/health.svg)](https://phpackages.com/packages/desino-crud-engine)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3991.8k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v5 Starter Kit for Laravel 13, designed to accelerate the development of Filament-powered applications.

461.7k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

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