2017 © Pedro Peláez
 

library distributed-generators

Smart generators for distrubuted laravel (https://github.com/esbenp/distributed-laravel). Spin up new bundles in the matter of seconds

image

deveodk/distributed-generators

Smart generators for distrubuted laravel (https://github.com/esbenp/distributed-laravel). Spin up new bundles in the matter of seconds

  • Monday, July 31, 2017
  • by deveodk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 122 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

deveodk/distributed-generators

, (*1)

Laravel 5.1, (*2)

Smart generators for distrubuted laravel (https://github.com/esbenp/distributed-laravel). Spin up new bundles in the matter of seconds, (*3)

Example

Example of a generated bundle with files, (*4)

skaermbillede 2017-06-15 kl 18 43 58, (*5)

The package will generate all of the files it can be configured in the config file, (*6)

skaermbillede 2017-06-15 kl 18 45 12, (*7)

Installation

composer require deveodk/distributed-generators

Add the service provider to the App config., (*8)

DeveoDK\DistributedGenerators\DistributedGeneratorsServiceProvider::class

Publish the vendor folder content, (*9)

php artisan vendor:publish --provider="DeveoDK\DistributedGenerators\DistributedGeneratorsServiceProvider"

Important disclaimer

This package is made to work with the distributed laravel architecture. If you try to use it in regular laravel it will not work., (*10)

Usage

The package has multiple commands for generating models, listeners and so on., (*11)

# Generate a new User bundle. Ideal for bootstraping a new bundle
php artsian make:bundle User --all
# Generate a new User controller. It will automaticly be placed under /Controllers
php artsian make:bundle:controller User --namespace="integrations/User"
# Generate a new User model. It will automaticly be placed under /Models
php artsian make:bundle:model User --namespace="integrations/User"
# Generate a new User listerner. It will automaticly be placed under /Listeners
php artsian make:bundle:listener User --namespace="integrations/User"
# Generate a new User exception. It will automaticly be placed under /Exceptions
php artsian make:bundle:exception User --namespace="integrations/User"
# Generate a new User event. It will automaticly be placed under /Events
php artsian make:bundle:event User --namespace="integrations/User"
# Generate a new User transformer. It will automaticly be placed under /Transformers
php artsian make:bundle:transformer User --namespace="integrations/User"
# Generate a new User route file. It will automaticly be placed under /
php artsian make:bundle:route User --namespace="integrations/User"

Special thanks

A special thanks to esbenp for creating the distributed laravel structure that this package is build on, (*12)

License

MIT, (*13)

, (*14)

The Versions

31/07 2017

dev-master

9999999-dev https://github.com/deveodk/distributed-generators

Smart generators for distrubuted laravel (https://github.com/esbenp/distributed-laravel). Spin up new bundles in the matter of seconds

  Sources   Download

MIT

The Requires

 

The Development Requires

deveodk distributed-generators

31/07 2017

1.0.1

1.0.1.0 https://github.com/deveodk/distributed-generators

Smart generators for distrubuted laravel (https://github.com/esbenp/distributed-laravel). Spin up new bundles in the matter of seconds

  Sources   Download

MIT

The Requires

 

The Development Requires

deveodk distributed-generators

15/06 2017

1.0

1.0.0.0 https://github.com/deveodk/distributed-generators

Smart generators for distrubuted laravel (https://github.com/esbenp/distributed-laravel). Spin up new bundles in the matter of seconds

  Sources   Download

MIT

The Requires

 

The Development Requires

deveodk distributed-generators