PHPackages                             ahead/crud-generators - 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. [Framework](/categories/framework)
4. /
5. ahead/crud-generators

AbandonedArchivedLibrary[Framework](/categories/framework)

ahead/crud-generators
=====================

A collection of CRUD generators for Lumen

0.0.2(5y ago)19MITPHPPHP ^7.2.5

Since Aug 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hgcassiopeia/ahead-generators)[ Packagist](https://packagist.org/packages/ahead/crud-generators)[ RSS](/packages/ahead-crud-generators/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

ahead-generators
================

[](#ahead-generators)

A collection of CRUD generators for Lumen by A-Host

How-To-Use
==========

[](#how-to-use)

### วิธี Generate Model, Resource, Repository, Controller, Route ในคำสั่งเดียว

[](#วิธี-generate-model-resource-repository-controller-route-ในคำสั่งเดียว)

#### Command

[](#command)

```
php artisan ahead:start

```

### วิธี Generate Model

[](#วิธี-generate-model)

#### คำอธิบายการใช้ Flag

[](#คำอธิบายการใช้-flag)

FlagDescription--tableชื่อ Table ตาม Database--fillableกำหนดคอลัมน์ fillable ตัวอย่างการใส่ เช่น col1,col2,col3,...--timestampsกำหนด Timestamp โดยค่า Default เป็น true--pathกำหนด Path เก็บ Model โดยค่า Default เป็น app/Models--forceกรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true#### Command

[](#command-1)

```
php artisan ahead:model  --=

```

### วิธี Generate Resource

[](#วิธี-generate-resource)

#### คำอธิบายการใช้ Flag

[](#คำอธิบายการใช้-flag-1)

FlagDescription--tableชื่อ Table ตาม Database--pathกำหนด Path เก็บ Resources โดยค่า Default เป็น app/Resources--forceกรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true#### Command

[](#command-2)

```
php artisan ahead:rsc  --=

```

### วิธี Generate Repository

[](#วิธี-generate-repository)

#### คำอธิบายการใช้ Flag

[](#คำอธิบายการใช้-flag-2)

FlagDescription--modelกำหนดชื่อ Model กรณีที่มี Model อยู่แล้ว--pathกำหนด Path เก็บ Repositories โดยค่า Default เป็น app/Repositories--forceกรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true#### Command

[](#command-3)

```
php artisan ahead:repo  --=

```

### วิธี Generate Controller

[](#วิธี-generate-controller)

#### คำอธิบายการใช้ Flag

[](#คำอธิบายการใช้-flag-3)

FlagDescription--modelกำหนดชื่อ Model กรณีที่มี Model อยู่แล้ว--resourceกำหนดชื่อ Resource กรณีที่มี Resource อยู่แล้ว--repositoryกำหนดชื่อ Repository กรณีที่มี Repository อยู่แล้ว--pathกำหนด Path เก็บ Controller โดยค่า Default เป็น app/Http/Controllers--forceกรณีที่มีไฟล์ชื่อนั้นอยู่แล้ว ต้องการให้เขียนทับไฟล์เดิม ให้ส่ง flag --force=true#### Command

[](#command-4)

```
php artisan ahead:ctrl  --=

```

### วิธี Generate Route

[](#วิธี-generate-route)

#### คำอธิบายการใช้ Flag

[](#คำอธิบายการใช้-flag-4)

FlagDescription--controllerกำหนดชื่อ Controller กรณีที่มี Controller อยู่แล้ว--laravelกำหนด Pattern ของ Route กรณีที่ใช้กับ Project ที่เป็น laravel route จะถูก generate ที่ routes/api.php ถ้าไม่ใช่ default จะเป็น routes/web.php ตัวอย่างการส่ง flag --laravel=true#### Command

[](#command-5)

```
php artisan ahead:route  --=

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity43

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

4

Last Release

2089d ago

Major Versions

0.0.2 → 1.0.0-beta2020-08-28

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/ahead-crud-generators/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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