PHPackages                             abocati/l5scaffold - 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. abocati/l5scaffold

ActiveLibrary

abocati/l5scaffold
==================

Extend Laravel 5.6's generators scaffold.

010PHP

Since Jun 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/abocati/l5scaffold)[ Packagist](https://packagist.org/packages/abocati/l5scaffold)[ RSS](/packages/abocati-l5scaffold/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Laravel 5.4 Scaffold Generator
==============================

[](#laravel-54-scaffold-generator)

[![Laravel5.4](https://camo.githubusercontent.com/76ab1765ac11bc8f154925b60295819fe6eb89900fa2e4d8a5baa9c4ed11def3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e342d7265642e737667)](https://camo.githubusercontent.com/76ab1765ac11bc8f154925b60295819fe6eb89900fa2e4d8a5baa9c4ed11def3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e342d7265642e737667)[![Build Status](https://camo.githubusercontent.com/fcd202466149d232b8b2d34e37b8d603d61ea9390e1213cd8c79eb08a676ca6c/68747470733a2f2f7472617669732d63692e6f72672f706f7369747269756d2f6c3573636166666f6c642e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/imasami/l5scaffold)[![Packagist](https://camo.githubusercontent.com/16a480e52a6c70d18e68f09f8cb616887ec56f935e2ea61694a3c085df441acf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706f7369747269756d2f6c3573636166666f6c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/positrium/l5scaffold)

install
=======

[](#install)

composer
--------

[](#composer)

```
composer require --dev positrium/l5scaffold:dev-develop

```

composer.json
-------------

[](#composerjson)

```
    "require-dev": {
        "positrium/l5scaffold": "dev-develop"
    },
```

Usage
=====

[](#usage)

with foreign
------------

[](#with-foreign)

```
$ php artisan make:scaffold Shelf \
      --schema='title:string'

$ php artisan make:scaffold Book \
      --schema='title:string, shelf_id:integer:foreign'

```

generation
----------

[](#generation)

```
APP_ROOT
  `-- app/
  |    `-- Book.php
  |    `-- Shelf.php
  |    `-- Http/
  |         `-- Controllers/
  |              `-- BookController.php
  |              `-- ShelfController.php
  |
  `-- database/
  |    `-- migrations/
  |    |    `-- yyyy_mm_dd_his_create_shelves_table.php
  |    |    `-- yyyy_mm_dd_his_create_books_table.php
  |    |
  |    `-- seeds
  |         `-- BookTableSeeder.php
  |         `-- ShelfTableSeeder.php
  |
  `-- routes/
  |    `-- web.php
  |
  `-- resources
       `-- views/
       |    `-- books/
       |    |    `-- create.blade.php
       |    |    `-- edit.blade.php
       |    |    `-- index.blade.php
       |    |    `-- show.blade.php
       |    |
       |    `-- shelves/
       |         `-- create.blade.php
       |         `-- edit.blade.php
       |         `-- index.blade.php
       |         `-- show.blade.php
       |
       `-- error.blade.php
       `-- layout.blade.php

```

```
//  `-- routes/
//       `-- web.php

Route::resource('shelves', 'ShelfController');
Route::resource('books', 'BookController');

```

Testing
=======

[](#testing)

```
$ composer update

$ vendor/bin/phpunit -c phpunit.xml

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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/9afa5e951ce1b8d42191b7ae4b8bbb2d0bb60a9f79dea86c2c10daebc164ac6b?d=identicon)[abocati](/maintainers/abocati)

---

Top Contributors

[![sylviot](https://avatars.githubusercontent.com/u/2183643?v=4)](https://github.com/sylviot "sylviot (44 commits)")[![fernandobritofl](https://avatars.githubusercontent.com/u/699879?v=4)](https://github.com/fernandobritofl "fernandobritofl (28 commits)")[![ryangurn](https://avatars.githubusercontent.com/u/1297082?v=4)](https://github.com/ryangurn "ryangurn (24 commits)")[![raphaelheitor](https://avatars.githubusercontent.com/u/2575337?v=4)](https://github.com/raphaelheitor "raphaelheitor (17 commits)")[![cjwilburn](https://avatars.githubusercontent.com/u/529894?v=4)](https://github.com/cjwilburn "cjwilburn (3 commits)")[![alnutile](https://avatars.githubusercontent.com/u/365385?v=4)](https://github.com/alnutile "alnutile (3 commits)")[![token7](https://avatars.githubusercontent.com/u/1640041?v=4)](https://github.com/token7 "token7 (2 commits)")[![DreAmigo](https://avatars.githubusercontent.com/u/324796?v=4)](https://github.com/DreAmigo "DreAmigo (2 commits)")[![webbtj](https://avatars.githubusercontent.com/u/865814?v=4)](https://github.com/webbtj "webbtj (1 commits)")[![DeftNerd](https://avatars.githubusercontent.com/u/3002275?v=4)](https://github.com/DeftNerd "DeftNerd (1 commits)")[![Dev-Force](https://avatars.githubusercontent.com/u/11722123?v=4)](https://github.com/Dev-Force "Dev-Force (1 commits)")[![hootlex](https://avatars.githubusercontent.com/u/6147968?v=4)](https://github.com/hootlex "hootlex (1 commits)")[![itsazzad](https://avatars.githubusercontent.com/u/54909?v=4)](https://github.com/itsazzad "itsazzad (1 commits)")[![jonatastd](https://avatars.githubusercontent.com/u/1504450?v=4)](https://github.com/jonatastd "jonatastd (1 commits)")[![mankms](https://avatars.githubusercontent.com/u/392926?v=4)](https://github.com/mankms "mankms (1 commits)")

### Embed Badge

![Health badge](/badges/abocati-l5scaffold/health.svg)

```
[![Health](https://phpackages.com/badges/abocati-l5scaffold/health.svg)](https://phpackages.com/packages/abocati-l5scaffold)
```

PHPackages © 2026

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