2017 © Pedro Pelรกez
 

library laravel-builder-macros

Laravel builder macros for the Eloquent ORM

image

kevinsimard/laravel-builder-macros

Laravel builder macros for the Eloquent ORM

  • Thursday, March 23, 2017
  • by kevinsimard
  • Repository
  • 1 Watchers
  • 6 Stars
  • 289 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Laravel Builder Macros

Usage

orderByRandom

User::orderByRandom()->first();
User::where...->orderByRandom()->get();

Installation

Add the Kevinsimard\BuilderMacros\Providers\OrderByRandomServiceProvider service provider in config/app.php., (*1)

Code Structure

โ”œโ”€โ”€ src
โ”‚ย ย  โ””โ”€โ”€ Providers
โ”‚ย ย      โ””โ”€โ”€ OrderByRandomServiceProvider.php
โ”œโ”€โ”€ .editorconfig
โ”œโ”€โ”€ .gitattributes
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ LICENSE.md
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ composer.json

License

This package is open-sourced software licensed under the MIT license., (*2)

The Versions

23/03 2017

dev-master

9999999-dev

Laravel builder macros for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

by Kevin Simard

orm laravel eloquent macros builder

07/04 2016

v1.1.1

1.1.1.0

Laravel builder macros for the Eloquent ORM

  Sources   Download

MIT

The Requires

 

by Kevin Simard

orm laravel eloquent macros builder