PHPackages                             thereline/crudmaster - 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. [API Development](/categories/api)
4. /
5. thereline/crudmaster

ActiveLibrary[API Development](/categories/api)

thereline/crudmaster
====================

A Laravel package called CrudMaster that provides modular, flexible CRUD generation and response handling, tailored for both API and web (Inertia or Blade) apps.

05PHP

Since Jul 8Pushed 10mo agoCompare

[ Source](https://github.com/elcomware/CrudMaster)[ Packagist](https://packagist.org/packages/thereline/crudmaster)[ RSS](/packages/thereline-crudmaster/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CrudMaster for Laravel 🧠🛠️
==========================

[](#crudmaster-for-laravel-️)

[![Latest Version on Packagist](https://camo.githubusercontent.com/904b6488ebdb9bf9bc75a2bfb95af20df758032e66bc0bd5dcbc866a780a6c5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c636f6d776172652f637275646d61737465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elcomware/crudmaster)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ffe4be03abfb24c9400f326d3a268473e8ae594fd070fddb215c55570fbc7acc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c636f6d776172652f637275646d61737465722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/elcomware/crudmaster/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/328ab06afb273533987f69aa1c1f871cae2a457091b848f7b99f7188417bdb04/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c636f6d776172652f637275646d61737465722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/elcomware/crudmaster/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b89b688ee7fc2502aa3c48b1e65f3c20182be093b56d5c24bd0db3cbe232b441/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c636f6d776172652f637275646d61737465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elcomware/crudmaster)

---

**CrudMaster** by **Elcomware** is a premium Laravel package that helps you scaffold professional, scalable, and modern CRUD systems in minutes. It supports full-stack development — from clean API endpoints to dynamic frontend-ready scaffolding for **Inertia.js** or **Blade**-based apps.

---

🚀 Features
----------

[](#-features)

- ⚙️ Instant CRUD generation (Model, Migration, Controller, Request, Policy, Routes)
- 🎨 Supports Blade or Inertia (Vue) UI stacks
- 🧩 JSON API-ready controllers with clean unified response
- 🧱 Custom stub system for flexible scaffolding
- 📂 Auto-register routes, views, and assets
- ✅ Unified response helpers (Success, Error, Validation)
- 🧪 Built-in test support &amp; publishable config/assets
- 📦 Laravel 10+ and 12+ ready

---

📦 Installation
--------------

[](#-installation)

```
composer require elcomware/crudmaster
```

### 🔧 If using Laravel &lt; 5.5, manually register the service provider:

[](#-if-using-laravel--55-manually-register-the-service-provider)

```
// config/app.php
'providers' => [
    CrudMaster\CrudMasterServiceProvider::class,
],
```

---

📂 Publish Assets
----------------

[](#-publish-assets)

```
php artisan vendor:publish --tag=crudmaster-config     # Configuration file
php artisan vendor:publish --tag=crudmaster-views      # Blade views
php artisan vendor:publish --tag=crudmaster-stubs      # Customizable stubs
php artisan vendor:publish --tag=crudmaster-js         # Inertia-compatible JS
```

---

⚡ Quick Start
-------------

[](#-quick-start)

### Generate CRUD for a resource (e.g. `Post`):

[](#generate-crud-for-a-resource-eg-post)

```
php artisan crudmaster:make Post
```

#### Options:

[](#options)

OptionDescription`--inertia`Generate Inertia + Vue scaffolding`--api`API-only controller`--ui=blade`Choose `blade`, `inertia`, or `none``--fields=name:string,email:string,age:integer`Scaffold with fields`--force`Overwrite existing files---

🔄 Response System
-----------------

[](#-response-system)

CrudMaster includes an intelligent response engine:

```
respond_success($payload, 'Component', ['extra'], 'Done', 'route.name');
respond_error('Something failed', 'redirect.back', ['details']);
respond_info('FYI message...');
respond_validation_failure($errors);
```

🧠 Automatically detects:

- API (returns JSON)
- Inertia (returns Inertia::render)
- Blade (returns view or redirect)

---

⚙️ Config (`config/crudmaster.php`)
-----------------------------------

[](#️-config-configcrudmasterphp)

```
return [
    'ui' => 'inertia',
    'default_namespace' => 'App\\Http\\Controllers',
    'response_class' => App\\Http\\Responses\\SuccessResponse::class,
    'routes' => [
        'prefix' => 'admin',
        'middleware' => ['web', 'auth'],
    ],
];
```

---

🧪 Testing
---------

[](#-testing)

CrudMaster is ready for automated testing via Pest or PHPUnit.

```
php artisan test
```

---

📁 Folder Structure Overview
---------------------------

[](#-folder-structure-overview)

```
src/
├── Commands/
├── Generators/
├── Responses/
├── Stubs/
├── Helpers/
├── CrudMasterServiceProvider.php

```

---

📖 License
---------

[](#-license)

CrudMaster is open-source software licensed under the [MIT license](LICENSE).

---

💬 Support &amp; Contributions
-----------------------------

[](#-support--contributions)

Need help? Found a bug? Want to contribute?

- Submit issues or PRs via [GitHub](https://github.com/elcomware/crudmaster)
- Commercial/custom feature support:

---

> Your CRUD. Your Stack. Your Control — with **CrudMaster** by Elcomware.

---

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc37a62b5c8d4f0dd2ccee33545e7f644bfb225aa592685a90b4f5daac566cbc?d=identicon)[elcomware](/maintainers/elcomware)

---

Top Contributors

[![elcomware](https://avatars.githubusercontent.com/u/173470607?v=4)](https://github.com/elcomware "elcomware (3 commits)")

---

Tags

crud-generatorlaravelliblibrary

### Embed Badge

![Health badge](/badges/thereline-crudmaster/health.svg)

```
[![Health](https://phpackages.com/badges/thereline-crudmaster/health.svg)](https://phpackages.com/packages/thereline-crudmaster)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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