bitsoflove/asgardgenerators

This package is abandoned and no longer maintained. No replacement package was suggested.

Installs: 4 322

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Type:asgard-module

This package has no released version yet, and little information is available.


README

Asgard generators scaffold CRUD (Create/Read/Update/Delete) structure inside a given Asgard Module with the database as template.

Items being generated

  • Eloquent Models (Entities)
  • Repositories
  • Controllers
  • Backend Routes
  • Backend views

Version

dev

Installation

Clone this repo in the Modules directory of your AsgardCMS project.

Add the dependencies

Add the following to composer.json

"require-dev": {
    "xethron/migrations-generator": "dev-l5",
    "way/generators": "dev-feature/laravel-five-stable",
    "user11001/eloquent-model-generator": "~2.0"
}

You also need to point to the fork of the way/generators repo. See Xethron/migrations-generator for more info about this.

"repositories": [
    {
        "type": "git",
        "url": "git@github.com:jamisonvalenta/Laravel-4-Generators.git"
    }
]

Next, run composer update

Next, add the following service providers to your config/app.php

Way\Generators\GeneratorsServiceProvider::class,
Xethron\MigrationsGenerator\MigrationsGeneratorServiceProvider::class,
User11001\EloquentModelGenerator\EloquentModelGeneratorProvider::class,

Todos

  • Add tests
  • Add translations
  • Add relationship field generation

License

MIT

Free Software, Hell Yeah!

Rollbar Error Tracking