2017 © Pedro Peláez
 

library resourcemaker

Generate a model, repository, controller and services

image

laravelresource/resourcemaker

Generate a model, repository, controller and services

  • Wednesday, April 12, 2017
  • by twinklesharma
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

laravel-resource-generator

Generates a model, repository, controller and services, (*1)

Installation

Add laravelresource/resourcemaker as a requirement to composer.json :, (*2)

{
    "require": {
        "laravelresource/resourcemaker": "dev-master"
    }
}

Update your packages with composer update or install with composer install., (*3)

You can also add the package using composer require laravelresource/resourcemaker "dev-master" and later specifying the version you want (for now, dev-master is your best bet)., (*4)

Service Provider

LaravelResource\ResourceMaker\ResourceGeneratorServiceProvider::class,, (*5)

And that's it! Start working with a awesome resource Generator!, (*6)

Using the generator

From the command line, run:, (*7)

php artisan make:resource ModelName "attributes"

For the simplest example, let's create a new users resource:, (*8)

php artisan make:resource Users

The Versions

12/04 2017

dev-master

9999999-dev

Generate a model, repository, controller and services

  Sources   Download

The Requires

 

The Development Requires

by Twinkle Sharma