2017 © Pedro Peláez
 

library laraquick

A collection of classes to be extended/used in laravel applications for quick development

image

d-scribe/laraquick

A collection of classes to be extended/used in laravel applications for quick development

  • Wednesday, July 4, 2018
  • by ezraobiwale
  • Repository
  • 1 Watchers
  • 23 Stars
  • 351 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 93 Versions
  • 24 % Grown

The README.md

laraquick

A collection of classes to be extended/used in laravel applications for quick development., (*1)

Introduction

The library contains traits with well documented methods that should be used by controllers and models to enhance coding speed., (*2)

Installation

composer require d-scribe/laraquick

Dependencies

>= v1.*

  • PHP >= 7.0
  • Laravel - ~5.5
  • Guzzle - ~6.0

v0.*

  • PHP >= 5.6.0
  • Laravel - 5.4.*
  • Laravel Fractal - ^4.0
  • Guzzle - ~6.0

Example

An example controller for a Book model is:, (*3)

use App\Book;
use Laraquick\Controllers\Traits\Api;

class BookController extends Controller {

    use Api;

    protected function model() {
        return Book::class;
    }

    protected function validationRules(array $data, $id = null) {
        return [
            'title' => 'required|max:200',
            'author' => 'required|max:50',
            'genre' => 'required'
        ];
    }
}

And with just the above, the controller would take care of listing (w/ pagination), and all CRUD operations and give the right JSON responses., (*4)

Route::apiResource('books', 'BookController');

What if Web and not API?

Oh, that's covered too with the version 1.5 and above. Just swap out the Api trait for its Web counterpart, and you're good., (*5)

Documentation

Get a full walk-through, (*6)

Contribution

Contributions are absolutely welcome. Create a PR and I'll as swiftly as possible merge it up., (*7)

The Versions

04/07 2018

dev-master

9999999-dev

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

04/07 2018

v3.x-dev

3.9999999.9999999.9999999-dev

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

04/07 2018

v3.11.0

3.11.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

02/07 2018

v3.10.3

3.10.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

02/07 2018

v3.10.2

3.10.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

02/07 2018

v3.10.1

3.10.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

02/07 2018

v3.10.0

3.10.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

01/07 2018

v3.9.5

3.9.5.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

27/06 2018

v3.9.4

3.9.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

27/06 2018

v2.x-dev

2.9999999.9999999.9999999-dev

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

27/06 2018

v2.1.9

2.1.9.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

26/06 2018

v3.9.3

3.9.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

26/06 2018

v2.1.8

2.1.8.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

25/06 2018

v3.9.2

3.9.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/06 2018

v3.9.1

3.9.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/06 2018

v3.9.0

3.9.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

14/06 2018

v2.1.7

2.1.7.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

14/06 2018

v3.8.5

3.8.5.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

14/06 2018

v2.1.6

2.1.6.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

14/06 2018

v3.8.4

3.8.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

11/06 2018

v2.1.5

2.1.5.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

11/06 2018

v3.8.3

3.8.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

11/06 2018

dev-v2-dev

dev-v2-dev

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

11/06 2018

v2.1.4

2.1.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

11/06 2018

v3.8.2

3.8.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

31/05 2018

v3.8.1

3.8.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

31/05 2018

v3.8.0

3.8.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

18/05 2018

v3.7.2

3.7.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

17/05 2018

v3.7.1

3.7.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

17/05 2018

v3.7.0

3.7.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

17/05 2018

v3.6.4

3.6.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

17/05 2018

v2.1.3

2.1.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

15/05 2018

v3.6.3

3.6.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

09/05 2018

v3.6.2

3.6.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

08/05 2018

v3.6.1

3.6.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

29/04 2018

v3.6.0

3.6.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/04 2018

dev-wip

dev-wip

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/04 2018

v3.5.10

3.5.10.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

16/04 2018

v3.5.9

3.5.9.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

12/04 2018

dev-v4-dev

dev-v4-dev

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

12/04 2018

v3.5.8

3.5.8.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

12/04 2018

v3.5.7

3.5.7.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

12/04 2018

v3.5.6

3.5.6.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

12/04 2018

v3.5.5

3.5.5.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

04/04 2018

v3.5.4

3.5.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

03/04 2018

v2.0.12

2.0.12.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

29/03 2018

v3.5.3

3.5.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

26/03 2018

v2.1.2

2.1.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

26/03 2018

v3.5.2

3.5.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

21/03 2018

v3.5.1

3.5.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

21/03 2018

v2.1.1

2.1.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/03 2018

v2.1.0

2.1.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/03 2018

v3.5.0

3.5.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/02 2018

v3.4.3

3.4.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/02 2018

v2.0.11

2.0.11.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/02 2018

v2.0.10

2.0.10.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/02 2018

v2.0.9

2.0.9.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/02 2018

v3.4.2

3.4.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

17/02 2018

v3.4.1

3.4.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

16/02 2018

v3.4.0

3.4.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

16/02 2018

v3.3.4

3.3.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

14/02 2018

v3.3.3

3.3.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

14/02 2018

v2.0.8

2.0.8.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

08/02 2018

v3.3.2

3.3.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

08/02 2018

v3.3.0

3.3.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

08/02 2018

v3.3.1

3.3.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

29/01 2018

v3.2.0

3.2.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

25/01 2018

v3.1.0

3.1.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

24/01 2018

v3.0.5

3.0.5.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

24/01 2018

v2.0.7

2.0.7.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/01 2018

v3.0.4

3.0.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/01 2018

v2.0.6

2.0.6.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

17/01 2018

v3.0.3

3.0.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

17/01 2018

v2.0.5

2.0.5.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

15/01 2018

v3.0.2

3.0.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

15/01 2018

v2.0.4

2.0.4.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

04/01 2018

v3.0.1

3.0.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

03/01 2018

v3.0.0

3.0.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

24/12 2017

v2.0.3

2.0.3.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

22/12 2017

v2.0.2

2.0.2.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

12/12 2017

v2.0.1

2.0.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

24/11 2017

v2.0

2.0.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

03/11 2017

v1.7

1.7.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

02/11 2017

v1.6

1.6.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

02/11 2017

v1.5

1.5.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

26/10 2017

v1.4

1.4.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

26/10 2017

v1.3

1.3.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

23/10 2017

v1.2

1.2.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

20/10 2017

v1.1.1

1.1.1.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/10 2017

v1.1

1.1.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/10 2017

v1.0

1.0.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

19/10 2017

v0.2

0.2.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick

25/09 2017

v0.1

0.1.0.0

A collection of classes to be extended/used in laravel applications for quick development

  Sources   Download

MIT

The Requires

 

laravel api web controller traits quick