New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

germey/generator

Laravel Generator extends from Infyom Laravel Generator
23 2

Larablocks Analysis

germey/generator works with Laravel 5 (latest release v1.0.4, Jan 20, 2017), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Jan 20, 2017)
  • 0 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jan 20, 2017.
  • No releases in the last 12 months.
  • First released: Jan 19, 2017.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.

Install
composer require germey/generator
Latest Version:v1.0.4
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Jan 20, 2017
Links: GitHub  ·  Packagist
Maintainer: Germey

#Laravel Generator

Laravel Generator modified from Infyom Generator by Germey.

Introduction

Modified from Infyom. 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

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

The former docs: Infyom

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.

Alternatives to germey/generator

backpack/generators

Generate files for laravel projects

3,296,719 311
robosys-labs/db-scaffolder

DB Application Scaffolder

6,660 0
ahmedebead/lara-crud

A comprehensive Laravel package to generate CRUD operations with advanced featur...

5,123 2

Version History

Version Released PHP Laravel License
v1.0.4 >=5.5.9 ~5.0 MIT
v1.0.3 >=5.5.9 ~5.0 MIT
v1.0.2 >=5.5.9 ~5.0 MIT
v1.0.1 >=5.5.9 ~5.0 MIT
v1.0.0 >=5.5.9 ~5.0 MIT