New

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

aindong/custom-generator

A custom generator that would generate a new feature for a repository pattern application
125 1

Larablocks Analysis

aindong/custom-generator works with Laravel 5 (latest release 1.0, Apr 9, 2015), which reached end of life: no more fixes, even for security.

Laravel 4 in earlier releases.

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: Apr 9, 2015)
  • 0 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Apr 9, 2015.
  • No releases in the last 12 months.
  • First released: Apr 7, 2015.
  • 0 open issues on GitHub.

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

Install
composer require aindong/custom-generator
Latest Version:1.0
PHP:>=5.4.0
Laravel:5
Older releases:4
License:MIT
Last Updated:Apr 9, 2015
Links: GitHub  ·  Packagist
Maintainer: aindong

Laravel Custom Generator

A laravel custom generator inspired by the generator packaged of jeffrey way. This generator will generate files that are needed for a repository pattern structure.

Installation

  1. Add this into your laravel composer.json file, under require
"require-dev": {
  "aindong/custom-generator": "dev-master"
}
  1. Open up your terminal and run
composer update
  1. After downloadign the package. Open up your app/config/app.php file and inside the $providers array add this
'Aindong\CustomGenerator\Providers\CustomGeneratorServiceProvider',
  1. If errors occured like, it can't find the package. Run
composer dumpautoload -o

Usage

  1. Inside your app folder, create a customized folder name that will contain all of your features. For example I created an Acme Folder
-app
--Acme
  1. And under your custom folder, create a Features folder.
-app
--Acme
---Features
  1. Now on your terminal, type
php artisan generate:feature featurename --path=app/Acme --namespace=Acme
  1. TADA! now check your features folder for the magic!

Notes

This package already has an interface and an abstract of a regular crud process of eloquent built in. But you can always change or create your own.

Notes

This package is still under development but I'm already using it to make my work faster and reduce the time of creating new files and restructuring them. Feel free to suggest.

Related Packages

laradic/generators

Code Generators

1,974 0
minhd/solr-client

A PHP Solr Client

1,823 1
capeandbay/laravel-service-generator
1,038 0
nauvalazhar/facade-please

Laravel 5 Facade Generator

566 2
disitec/laravel-generator

Simplified Wrapper to infyomlabs/laravel-generator

48 4

Version History

Version Released PHP Laravel License
1.0 >=5.4.0 ~5.0 MIT
0.1 >=5.4.0 4.2.* MIT