PHPackages                             mkhaled-mu/api-crud-generator - 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. mkhaled-mu/api-crud-generator

ActiveLibrary[API Development](/categories/api)

mkhaled-mu/api-crud-generator
=============================

v2.0.0(1y ago)03PHPPHP ^7.0||^8.1

Since Sep 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Md-khaled/api-crud-generator)[ Packagist](https://packagist.org/packages/mkhaled-mu/api-crud-generator)[ RSS](/packages/mkhaled-mu-api-crud-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

API CRUD Generator
==================

[](#api-crud-generator)

`API CRUD Generator` is a Laravel package designed to automate the creation of API CRUD (Create, Read, Update, Delete) operations for specified models. This package generates all necessary components, such as models, controllers, request validation, API resources, migration files, and updates the API routes automatically.

Features
--------

[](#features)

- **Model Generation:** Automatically creates a model with fillable attributes.
- **Controller Generation:** Creates an API resource controller with all CRUD methods (index, show, store, update, delete).
- **Request Validation Generation:** Generates a request class with validation rules based on provided fields.
- **Migration Generation:** Creates a migration file for database table creation.
- **API Resource Generation:** Generates a resource class for transforming model instances in API responses.
- **Route Registration:** Automatically appends API routes to the `routes/api.php` file.

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

[](#requirements)

- Laravel 11
- PHP 8.2 or higher

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

[](#installation)

### Step 1: Install the Package

[](#step-1-install-the-package)

Use Composer to install the package:

```
composer require mkhaled-mu/api-crud-generator

php artisan make:crud name
e.g
php artisan make:crud Comment
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

669d ago

Major Versions

v0.1.1 → v1.0.02024-09-01

v1.0.0 → v2.0.02024-09-01

PHP version history (3 changes)v0.1.1PHP &gt;=8.2

v1.0.0PHP &gt;=8.1

v2.0.0PHP ^7.0||^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50848012?v=4)[Md-khaled](/maintainers/Md-khaled)[@Md-khaled](https://github.com/Md-khaled)

---

Top Contributors

[![Md-khaled](https://avatars.githubusercontent.com/u/50848012?v=4)](https://github.com/Md-khaled "Md-khaled (9 commits)")

### Embed Badge

![Health badge](/badges/mkhaled-mu-api-crud-generator/health.svg)

```
[![Health](https://phpackages.com/badges/mkhaled-mu-api-crud-generator/health.svg)](https://phpackages.com/packages/mkhaled-mu-api-crud-generator)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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