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

ActiveLibrary[API Development](/categories/api)

jatri/api-first-crud
====================

A Laravel package to generate API-first CRUD operations

07PHP

Since Aug 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/alhussain50/api-first-crud)[ Packagist](https://packagist.org/packages/jatri/api-first-crud)[ RSS](/packages/jatri-api-first-crud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#requirements)

- **PHP**: 7.4, 8.0, 8.1, 8.2, or 8.3
- **Laravel**: 8.x, 9.x, 10.x, 11.x, 12.x

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

[](#installation)

To install the package, run the following command:

```
composer require jatri/api-first-crud:dev-main
```

Usage
-----

[](#usage)

Once installed, you can generate a complete CRUD operation by using the following Artisan command:

```
php artisan make:crud Post
```

This will generate:

- A model in `app/Models/Post.php`
- A controller in `app/Http/Controllers/PostController.php`
- A request validation file in `app/Http/Requests/PostRequest.php`
- A migration file in `database/migrations/xxxx_xx_xx_create_posts_table.php`
- API routes in `routes/api.php`

Troubleshooting
---------------

[](#troubleshooting)

### Common Issues

[](#common-issues)

- Missing Cache Table: If you encounter an error related to the cache table not existing, try the following commands:

```
php artisan cache:table
php artisan migrate
```

- Class Not Found Errors: If you encounter related issues try the following command

```
composer dump-autoload
```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

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://avatars.githubusercontent.com/u/44936730?v=4)[Wali](/maintainers/alhussain50)[@alhussain50](https://github.com/alhussain50)

---

Top Contributors

[![alhussain50](https://avatars.githubusercontent.com/u/44936730?v=4)](https://github.com/alhussain50 "alhussain50 (17 commits)")

### Embed Badge

![Health badge](/badges/jatri-api-first-crud/health.svg)

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

###  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)
