PHPackages                             mpaleo/scaffolder - 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. [Database &amp; ORM](/categories/database)
4. /
5. mpaleo/scaffolder

ActiveLibrary[Database &amp; ORM](/categories/database)

mpaleo/scaffolder
=================

Laravel scaffolder

v2.0.0(10y ago)165948[10 issues](https://github.com/mpaleo/scaffolder/issues)MITPHPPHP &gt;=5.5.9

Since Jan 23Pushed 7y ago5 watchersCompare

[ Source](https://github.com/mpaleo/scaffolder)[ Packagist](https://packagist.org/packages/mpaleo/scaffolder)[ RSS](/packages/mpaleo-scaffolder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (10)Versions (3)Used By (0)

Laravel scaffolder
==================

[](#laravel-scaffolder)

[![Scaffolder for laravel](https://cloud.githubusercontent.com/assets/5132565/11066969/17feb094-87a9-11e5-96cb-1402e4c7aaca.png)](https://cloud.githubusercontent.com/assets/5132565/11066969/17feb094-87a9-11e5-96cb-1402e4c7aaca.png)[![Software license](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Laravel version](https://camo.githubusercontent.com/872d5269ecc8e6ef632f2eadaf5e13e30bd2b8bf11f7cdd3739cd33e1f272bfa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f666f722532306c61726176656c2d352e322d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://github.com/laravel/framework/tree/5.2)[![Waffle board](https://camo.githubusercontent.com/eaf2d385dffde118d41954603eb09721baff819ee8cf7deb45476eb43bc85b0c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f626f6172642d6f6e253230776166666c652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://waffle.io/mpaleo/scaffolder)[![Gitter chat](https://camo.githubusercontent.com/f77aa7f06944ef13568bf98b0d65f899905365cfead56ae40e74d551a6a9038a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636861742d6f6e2532306769747465722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://gitter.im/mpaleo/scaffolder)

Remove the headache of creating over and over again the base code for most of your projects. You are free to extend it the way you need. This package only generate things that you need to start, always keeping the code clean and abstract. Are you hungry ? Fork it !

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

[](#installation)

1. Get [laravel](http://laravel.com/docs/5.2#installation) up and running
2. Add the following packages to your composer.json

    ```
    ...
    "laravelcollective/html": "5.2.*",
    "yajra/laravel-datatables-oracle": "~6.0",
    "mpaleo/view-tags": "~1.0",
    "mpaleo/scaffolder-theme-material": "~1.0",
    "mpaleo/scaffolder": "~2.0",
    ...
    ```
3. Update your packages

    ```
    composer update
    ```
4. Add the service providers to the providers array in `{laravel-root}\config\app.php`

    ```
    ...
    ViewTags\ViewTagsServiceProvider::class,
    ScaffolderTheme\ScaffolderThemeServiceProvider::class,
    Scaffolder\ScaffolderServiceProvider::class,
    Yajra\Datatables\DatatablesServiceProvider::class,
    ...
    ```
5. Add the following aliases in `{laravel-root}\config\app.php`

    ```
    ...
    'ViewTags'   => ViewTags\ViewTags::class,
    'Form'       => Collective\Html\FormFacade::class,
    'Html'       => Collective\Html\HtmlFacade::class,
    ...
    ```

Getting started
---------------

[](#getting-started)

First you need to publish the configuration files and assets

```
./artisan vendor:publish --provider="Scaffolder\ScaffolderServiceProvider"
./artisan vendor:publish --provider="ScaffolderTheme\ScaffolderThemeServiceProvider" --force
```

Here we are using the theme [mpaleo/scaffolder-theme-material](https://github.com/mpaleo/scaffolder-theme-material), but you can fork it, and do whatever you want/need :)

At this point, you already can start to scaffold things. You have two ways to use the package.

##### Command line way

[](#command-line-way)

When you execute the artisan publish command, the service provider creates the folder `{laravel-root}\scaffolder-config` that has the following structure:

```
- scaffolder-config
-- app.json
-- models
-- cache

```

The `app.json` file contains global settings, also you will get some demo files for models. All you need to scaffold an application is to edit the `app.json` file, and create the json files for the models you want. After you have all the files ready, you have the following commands:

This command generate the application using the files that you have provided.

```
./artisan scaffolder:generate
```

For instance, when you update the package, you should clear the cache files stored in `{laravel-root}\scaffolder-config\cache`

```
./artisan scaffolder:cache-clear
```

##### User interface way

[](#user-interface-way)

All you need to do, is go to your `http://{crazyhost}/scaffolder/generator` and fill some inputs :)

##### Next steps

[](#next-steps)

- Run migrations `./artisan migrate`
- [Wiki](https://github.com/mpaleo/scaffolder/wiki)
- [API Docs](http://mpaleo.github.io/scaffolder/api)

Contributing
------------

[](#contributing)

Just let me know your ideas and let's work together

### Coding style

[](#coding-style)

It would be great if we follow the PSR-2 coding standard and the PSR-4 autoloading standard.

### License

[](#license)

The scaffolder package is licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~42 days

Total

2

Last Release

3726d ago

Major Versions

v1.0.0 → v2.0.02016-03-05

### Community

Maintainers

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

---

Top Contributors

[![mpaleo](https://avatars.githubusercontent.com/u/5132565?v=4)](https://github.com/mpaleo "mpaleo (51 commits)")

---

Tags

laravelphpscaffoldlaravelmigrationgeneratorscaffoldmodelcrudseed

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mpaleo-scaffolder/health.svg)

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

###  Alternatives

[infyomlabs/laravel-generator

InfyOm Laravel Generator

3.8k2.3M13](/packages/infyomlabs-laravel-generator)

PHPackages © 2026

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