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

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

ricardosierra/l5scaffold
========================

Extend Laravel 5's generators scaffold. Forked RicardoSierra

1.0.10(9y ago)0561MITPHPPHP &gt;=5.4.0

Since Apr 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ricardosierra/l5scaffold)[ Packagist](https://packagist.org/packages/ricardosierra/l5scaffold)[ RSS](/packages/ricardosierra-l5scaffold/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (14)Used By (1)

Laravel 5.x Scaffold Generator
==============================

[](#laravel-5x-scaffold-generator)

[![Travis](https://camo.githubusercontent.com/94ec6a0aca3df87db84f99d582f0dd4a1d9cab8e5daa6bade674f838a3673e3a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7269636172646f7369657272612f6c3573636166666f6c642e7376673f7374796c653d666c61742d737175617265)](https://github.com/ricardosierra/l5scaffold)[![Packagist](https://camo.githubusercontent.com/25d9039475141ddef0a5235994bd1247f47a7dafb0d936da46d19c311a3eb6f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7269636172646f7369657272612f6c3573636166666f6c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ricardosierra/l5scaffold)[![Tag](https://camo.githubusercontent.com/16d90e944f3fc4ea8d95e2862f96dd182b988eb2e8dcd729986a8820366021ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f7269636172646f7369657272612f6c3573636166666f6c642e737667)](https://github.com/ricardosierra/l5scaffold/tags)

Worked with Laravel 5.8 :)

Usage
-----

[](#usage)

### Step 1: Install Through Composer

[](#step-1-install-through-composer)

```
composer require 'ricardosierra/l5scaffold' --dev

```

### Step 2: Add the Service Provider

[](#step-2-add-the-service-provider)

Open `config/app.php` and, to your **providers** array at the bottom, add:

```
RicardoSierra\L5scaffold\GeneratorsServiceProvider::class

```

### Step 3: Run Artisan!

[](#step-3-run-artisan)

You're all set. Run `php artisan` from the console, and you'll see the new commands `make:scaffold`.

Examples
--------

[](#examples)

Use this command to generator scaffolding of **Tweet** in your project:

```
php artisan make:scaffold Tweet \
	--schema="title:string:default('Tweet #1'), body:text"

```

or with more options

```
php artisan make:scaffold Tweet \
	--schema="title:string:default('Tweet #1'), body:text" \
	--ui="bs3" \
	--prefix="admin"

```

This command will generate:

```
app/Tweet.php
app/Http/Controllers/TweetController.php

database/migrations/201x_xx_xx_xxxxxx_create_tweets_table.php
database/seeds/TweetTableSeeder.php

resources/views/layout.blade.php
resources/views/tweets/index.blade.php
resources/views/tweets/show.blade.php
resources/views/tweets/edit.blade.php
resources/views/tweets/create.blade.php

```

After don't forget to run:

```
php artisan migrate

```

Custom stub
-----------

[](#custom-stub)

Create a new folder inside **Stubs &gt; views** with your UI name custom [![image](https://camo.githubusercontent.com/86089f63924a869351ca0f65755c430b59b0c4482ae48eb725c200e990e42628/687474703a2f2f6936362e74696e797069632e636f6d2f31306e647067772e706e67)](https://camo.githubusercontent.com/86089f63924a869351ca0f65755c430b59b0c4482ae48eb725c200e990e42628/687474703a2f2f6936362e74696e797069632e636f6d2f31306e647067772e706e67)

Custom fields in `Stubs > views > **ui-name** > fields`

Custom pages in `Stubs > views > **ui-name** > pages`

💭 **Send us your ideas.** (creating issues)

\##Collaborators [Fernando Brito](https://github.com/fernandobritofl "fernandobritofl")
[Sylvio Tavares](https://github.com/sylviot "Sylviot")
[Raphael Heitor](https://github.com/raphaelheitor "raphaelheitor")
[Alfred Nutile](https://github.com/alnutile "alnutile")
[Sazzad Hossain Khan](https://github.com/itsazzad "itsazzad")
[Alexander Makhaev](https://github.com/mankms "mankms")
[Adam Brown](https://github.com/DeftNerd "DeftNerd")
[TJ Webb](https://github.com/webbtj "webbtj")
[Tsaganos Tolis](https://github.com/Dev-Force "Dev-Force")
[Ryan Gurnick](https://github.com/ryangurn "ryangurn")

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor3

3 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.

###  Release Activity

Cadence

Every ~43 days

Recently: every ~2 days

Total

11

Last Release

3598d ago

### Community

Maintainers

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

---

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)")[![pbellusci](https://avatars.githubusercontent.com/u/5648188?v=4)](https://github.com/pbellusci "pbellusci (11 commits)")[![ricardosierra](https://avatars.githubusercontent.com/u/5499444?v=4)](https://github.com/ricardosierra "ricardosierra (8 commits)")[![alnutile](https://avatars.githubusercontent.com/u/365385?v=4)](https://github.com/alnutile "alnutile (3 commits)")[![cjwilburn](https://avatars.githubusercontent.com/u/529894?v=4)](https://github.com/cjwilburn "cjwilburn (3 commits)")[![celtaphp](https://avatars.githubusercontent.com/u/2974743?v=4)](https://github.com/celtaphp "celtaphp (3 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)")[![acharkizakaria](https://avatars.githubusercontent.com/u/6684599?v=4)](https://github.com/acharkizakaria "acharkizakaria (1 commits)")

---

Tags

laravelscaffoldlaravel5generators

### Embed Badge

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

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

###  Alternatives

[laralib/l5scaffold

Extend Laravel 5's generators scaffold.

31474.1k](/packages/laralib-l5scaffold)[summerblue/generator

Extend Laravel's generators scaffold.

34139.9k](/packages/summerblue-generator)[brexis/laravel-workflow

Integerate Symfony Workflow component into Laravel.

283125.6k](/packages/brexis-laravel-workflow)[mckenziearts/laravel-command

A simple Laravel package to provide artisan new commands

321.2k](/packages/mckenziearts-laravel-command)

PHPackages © 2026

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