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

ActiveLibrary

germey/generator
================

Laravel Generator extends from Infyom Laravel Generator

v1.0.4(9y ago)2231MITPHPPHP &gt;=5.5.9

Since Jan 19Pushed 9y agoCompare

[ Source](https://github.com/Germey/Generator)[ Packagist](https://packagist.org/packages/germey/generator)[ RSS](/packages/germey-generator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

\#Laravel Generator

Laravel Generator modified from Infyom Generator by Germey.

Introduction
------------

[](#introduction)

Modified from [Infyom](http://labs.infyom.com/laravelgenerator/). Because the former package generator the Non-elegant config file like `config/infyom/laravel-generator.php`, so this package changed it to `config/generator.php`.

Besides, this package changed the command name from `infyom:command` to `generator:command`.

Author
------

[](#author)

- Mitul Golakiya
- Germey

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

[](#installation)

Add following packages into your `composer.json`.

```
"require": {
    "germey/generator": "~1.0",
    "laravelcollective/html": "^5.3.0",
    "doctrine/dbal": "~2.3"
}
```

If you want to generate a swagger annotations for your api documentation, you need to install following packages with it.

```
"require": {
    "infyomlabs/swagger-generator": "dev-master",
    "jlapp/swaggervel": "dev-master"
}
```

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

```
Collective\Html\HtmlServiceProvider::class,
Laracasts\Flash\FlashServiceProvider::class,
Prettus\Repository\Providers\RepositoryServiceProvider::class,
Germey\Generator\GeneratorServiceProvider::class,
```

Add following alias to aliases array in `config/app.php`

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

Run the following command:

```
php artisan vendor:publish

```

Open `app\Providers\RouteServiceProvider.php` and update `mapApiRoutes` method as following:

```
Route::group([
    'middleware' => 'api',
    'namespace' => $this->namespace."\\API",
    'prefix' => 'api',
    'as' => 'api.',
], function ($router) {
    require base_path('routes/api.php');
});
```

We have added `as` prefix to separate out named routes of api and web. Also its a better way to store api controllers in separate directory with separate namespace. so we have added `"\\API"` suffix in namespace.

Commands Usage
--------------

[](#commands-usage)

The former docs: [Infyom](http://labs.infyom.com/laravelgenerator/docs/5.3/generator-commands)

Commands have been changed from `infyom:command` to `generator:command`.

For example:

```
php artisan infyom:rollback $MODEL_NAME $COMMAND_TYPE

```

changed to

```
php artisan generator:rollback $MODEL_NAME $COMMAND_TYPE

```

Please remember replace all the `infyom` to `generator`.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community1

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

8

Last Release

3403d ago

Major Versions

v0.9.2 → v1.0.02017-01-20

### Community

### Embed Badge

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

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

PHPackages © 2026

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