2017 © Pedro Peláez
 

library crud-controller

Stop repeating yourself in controllers

image

sinclairt/crud-controller

Stop repeating yourself in controllers

  • Wednesday, March 29, 2017
  • by sinclairt
  • Repository
  • 1 Watchers
  • 0 Stars
  • 34 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

Crud Controller

The Crud Controller is built to minimise the amount of code you need to write to get a resource off the ground. It is coupled with the Magic Views package which gets the views for these methods created in a cinch., (*1)

Installation

composer require sinclairt/crud-controller, (*2)

composer install, (*3)

Add the service provider to your app/config, (*4)

Sinclair\CrudController\Providers\CrudControllerServiceProvider::class

composer dump-autoload, (*5)

Usage

All you need to do is create a controller and use the Sinclair\CrudController\Traits\CrudController trait, and ensure the setUp method is called inside your construct and you're good to go!, (*6)

Repositories

The repository should extend Sinclair\Repository\Repositories\Repository, but will at least need to implement Sinclair\Repository\Contracts\Repository., (*7)

All the methods inside the repository use methods from the Illuminate\Database\Eloquent\Model class, so, if you are going to use something other than this in your repository, make sure you implement Sinclair\Repository\Contracts\Repository and implement the methods as necessary., (*8)

Magic Views

Please refer to the documentation for Magic Views for more information., (*9)

The Versions

19/01 2017

1.1.13

1.1.13.0

Stop repeating yourself in controllers

  Sources   Download

The Requires

 

The Development Requires

03/10 2016

1.1.11

1.1.11.0

Stop repeating yourself in controllers

  Sources   Download

The Requires

 

The Development Requires

11/07 2016

1.0.10

1.0.10.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

07/07 2016

1.0.9

1.0.9.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

07/07 2016

1.0.8

1.0.8.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

07/07 2016

1.0.7

1.0.7.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

06/07 2016

1.0.6

1.0.6.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

07/06 2016

1.0.5

1.0.5.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

10/05 2016

1.0.4

1.0.4.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

02/03 2016

1.0.3

1.0.3.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

12/01 2016

1.0.2

1.0.2.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

12/01 2016

1.0.1

1.0.1.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair

12/01 2016

1.0.0

1.0.0.0

Stop repeating yourself in controllers

  Sources   Download

MIT

The Requires

 

by Tom Sinclair