PHPackages                             disitec/laravel-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. disitec/laravel-generator

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

disitec/laravel-generator
=========================

Simplified Wrapper to infyomlabs/laravel-generator

v0.1.10(9y ago)448MITPHPPHP &gt;=5.5.9

Since Dec 26Pushed 9y ago3 watchersCompare

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

READMEChangelogDependencies (2)Versions (12)Used By (0)

Scaffold Laravel Model, Migration, Controller, Routes and Views.
================================================================

[](#scaffold-laravel-model-migration-controller-routes-and-views)

This is an extension of the [infyomlabs/laravel-generator](https://github.com/InfyOmLabs/laravel-generator) package. Documentation is located [here](http://labs.infyom.com/laravelgenerator)

If you prefer less boilerplate in your generated stuff you can use this package instead.

- Controllers without repositories
- Models without soft deletes and based in conventions for table and key names
- Clean views using Bulma CSS. No javascript at all.
- Language files for automatic translate fields in your views (if you use conventional names in english for your database)

Install
-------

[](#install)

### Step 1: Add the package and its dependencies to composer.json

[](#step-1-add-the-package-and-its-dependencies-to-composerjson)

```
"require": {
    "disitec/laravel-generator": "^0.1",
    "infyomlabs/laravel-generator": "5.3.x-dev"
}

```

Run `composer udpdate`

### Step 2: Add Service Providers

[](#step-2-add-service-providers)

Add following service providers into your providers array in `config/app.php`

```
 \Disitec\LaravelGenerator\LaravelGeneratorServiceProvider::class,
 \InfyOm\Generator\InfyOmGeneratorServiceProvider::class,
 Collective\Html\HtmlServiceProvider::class,
 Laracasts\Flash\FlashServiceProvider::class,

```

### Step 3: Add Aliases

[](#step-3-add-aliases)

Add following aliases into your aliases array in `config/app.php`

```
  'Form' => Collective\Html\FormFacade::class,
  'Html' => Collective\Html\HtmlFacade::class,
  'Flash'     => Laracasts\Flash\Flash::class,

```

### Step 4: Init the package

[](#step-4-init-the-package)

Run this command in console: `php artisan disitec:init`

This command will create the config, the simplified stub for controller and model and the menu layout.

### Step 5: Publish tranlations

[](#step-5-publish-tranlations)

If you want to translate your Views you can run `php artisan vendor:publish --tag=disitec-generator.lang`

You have two files:

One for the models, with this structure (You can use a pipe for declaring plural)

```
    return [
        'brand'    => 'Marca|Marcas',
        'customer' => 'Cliente|Clientes',
        'product'  => 'Producto|Productos',
        'provider' => 'Proveedor|Proveedores',
        'supplier' => 'Proveedor|Proveedores',
    ];

```

And one for the fields:

```
    return [
        'id' => 'Id',
            'name' => 'Nombre',
            'email' => 'E-mail',
            'createdAt' => 'Creado',
            'updatedAt' => 'Editado'
    ];

```

You can create one folder for each locale that you need.

Usage
-----

[](#usage)

Run `php artisan disitec:scaffold YourModel`

Example:

`php artisan disitec:scaffold Customer`

You'll be prompted for the fields. You can follow [this guide](http://labs.infyom.com/laravelgenerator/docs/5.3/getting-started#field-inputs) from the original package.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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 ~0 days

Total

11

Last Release

3470d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41cef4e733b85897b6d89a523a6e90ed688969cb1b51fc3f22837284d31ea741?d=identicon)[disitec](/maintainers/disitec)

---

Top Contributors

[![beliolfa](https://avatars.githubusercontent.com/u/12644599?v=4)](https://github.com/beliolfa "beliolfa (49 commits)")

---

Tags

laravelgenerator

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[mastani/laravel-google-static-map

Laravel Google Static Map Generator

471.6M9](/packages/mastani-laravel-google-static-map)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)

PHPackages © 2026

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