PHPackages                             chrispecoraro/laravel-controller-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. chrispecoraro/laravel-controller-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

chrispecoraro/laravel-controller-generator
==========================================

"php artisan make:scaffold" for Laravel 5.5+ and PHP 7.x

1026[1 issues](https://github.com/chrispecoraro/Laravel-Controller-Generator/issues)PHP

Since Jan 11Pushed 8y ago4 watchersCompare

[ Source](https://github.com/chrispecoraro/Laravel-Controller-Generator)[ Packagist](https://packagist.org/packages/chrispecoraro/laravel-controller-generator)[ RSS](/packages/chrispecoraro-laravel-controller-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Megamake for Laravel
--------------------

[](#megamake-for-laravel)

Laravel's `php artisan make:` on steroids

`artisan mega:make Department` produces:

```
 /**
     * Display a listing of the Department resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index(): ResourceCollection
    {
        return new DepartmentResourceCollection(Department::all());
    }

    /**
     * Store a newly created Department resource in storage.
     *
     * @param  \Illuminate\Http\Request $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request): Response
    {
        $input = $request->validate([
            // TODO
            // write validator
        ]);
        $department = Department::create($input->toArray());

        return response($department, 201);
    }
```

The `mega:make` artisan command creates most of the various pieces of a Laravel 5.5 entity, adding boilerplate code and `//TODO`'s, giving you an extra boost, eliminating extra typing.

- A Model
- A Model Factory
- A Seeder
- A Migration
- A Resource Controller
- A Single API Resource
- An API Resource Collection
- A Test

Authors:

- [Christopher Pecoraro](https://github.com/chrispecoraro) - [@chris\_\_pecoraro](https://twitter.com/chris__pecoraro)
- [Dylan De Souza](https://github.com/dylan-dpc) - [@DPC\_22](https://twitter.com/dpc_22)

*This package was created in loving memory of my father, Dr. George Anthony Pecoraro.*

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.7% 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/880860af4ce8d0a4fb5c35faa41523a40210a6dfbb758e88f3d6ba640b568200?d=identicon)[chrispecoraro](/maintainers/chrispecoraro)

---

Top Contributors

[![chrispecoraro](https://avatars.githubusercontent.com/u/307660?v=4)](https://github.com/chrispecoraro "chrispecoraro (42 commits)")[![Dylan-DPC](https://avatars.githubusercontent.com/u/99973273?v=4)](https://github.com/Dylan-DPC "Dylan-DPC (1 commits)")

---

Tags

controllerslaravellaravel-5-packagemodelsscaffolding

### Embed Badge

![Health badge](/badges/chrispecoraro-laravel-controller-generator/health.svg)

```
[![Health](https://phpackages.com/badges/chrispecoraro-laravel-controller-generator/health.svg)](https://phpackages.com/packages/chrispecoraro-laravel-controller-generator)
```

###  Alternatives

[dotsunited/bundlefu

BundleFu is a PHP 5.3+ library which bundles multiple css/javascript files into a big package and sends it out at once

7028.5k3](/packages/dotsunited-bundlefu)[vjik/php-enum

PHP Enum Implementation

209.9k](/packages/vjik-php-enum)[iiifx-production/ukraine-identification-number

Ukraine Identification Number

117.3k](/packages/iiifx-production-ukraine-identification-number)

PHPackages © 2026

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