PHPackages                             remonhasan/fastapi-crud-scaffold - 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. remonhasan/fastapi-crud-scaffold

ActiveLibrary[API Development](/categories/api)

remonhasan/fastapi-crud-scaffold
================================

Laravel package to generate API CRUD scaffolds with one command.

v1.1.0(3mo ago)04↓91.7%MITPHPPHP ^8.0|^8.1|^8.2|^8.3

Since Mar 24Pushed 3mo agoCompare

[ Source](https://github.com/Remonhasan/fastapi-crud-scaffold)[ Packagist](https://packagist.org/packages/remonhasan/fastapi-crud-scaffold)[ RSS](/packages/remonhasan-fastapi-crud-scaffold/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Fast API CRUD Scaffold Package
==============================

[](#fast-api-crud-scaffold-package)

Generate API CRUD boilerplate in Laravel with a single command.

Features
--------

[](#features)

- Command: `make:fastapi {name} {flags?}`
- Supports Laravel `9` through `13`
- Generates:
    - model (always generated)
    - migration (`m`)
    - controller (`c`)
    - resource (`r`)
    - requests (`f`)
    - repository (`repo`)
- Controller ships with standard CRUD methods:
    - `index`, `show`, `store`, `update`, `destroy`
- Repository pattern included by default for clean separation.
- Optional route appending to `routes/api.php`.

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

[](#installation)

Install in your Laravel app:

```
composer require remonhasan/fastapi-crud-scaffold
```

If Composer shows dependency conflicts, update lock dependencies during install:

```
composer require remonhasan/fastapi-crud-scaffold -W
```

Publish config (optional):

```
php artisan vendor:publish --tag=fastapi-config
```

Publish stubs (optional):

```
php artisan vendor:publish --tag=fastapi-stubs
```

Usage
-----

[](#usage)

```
php artisan make:fastapi Product --mode=crfrepo
```

This generates:

- `Product` model
- migration for `products` table
- `ProductController`
- `ProductResource`
- `ProductStoreRequest` and `ProductUpdateRequest`
- `ProductRepository`

### Flags

[](#flags)

- `m` =&gt; migration
- `c` =&gt; controller
- `r` =&gt; resource
- `f` =&gt; requests
- `repo` =&gt; repository

### Single-purpose generation:

[](#single-purpose-generation)

```
# Create model + migration only
php artisan make:fastapi Product --mode=m

# Create model + controller (+ repository automatically)
php artisan make:fastapi Product --mode=c
```

If flags are omitted, all generators run.

### Routes

[](#routes)

- Add `--routes` to append `Route::apiResource(...)` to `routes/api.php`.
- Set `fastapi.auto_append_routes=true` in config for default auto-route behavior.
- Use `--no-routes` to explicitly skip route appending.

Examples:

```
php artisan make:fastapi Product --mode=crfrepo --routes
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

7

Last Release

95d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.0.1PHP ^8.0|^8.1|^8.2|^8.3

### Community

Maintainers

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

---

Tags

api-scaffoldartisan-commandboilerplatelaravel-packagerepository-patternrest-api

### Embed Badge

![Health badge](/badges/remonhasan-fastapi-crud-scaffold/health.svg)

```
[![Health](https://phpackages.com/badges/remonhasan-fastapi-crud-scaffold/health.svg)](https://phpackages.com/packages/remonhasan-fastapi-crud-scaffold)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.5M920](/packages/statamic-cms)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k36.4M126](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k13.5M60](/packages/knuckleswtf-scribe)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

72287.1k1](/packages/mozex-anthropic-laravel)[justbetter/laravel-magento-client

A client to interact with Magento

49108.7k14](/packages/justbetter-laravel-magento-client)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.5k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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