library laravel-builder-macros
Laravel builder macros for the Eloquent ORM
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
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)
dev-master
9999999-dev
Laravel builder macros for the Eloquent ORM
Sources
Download
MIT
The Requires
by
Kevin Simard
orm
laravel
eloquent
macros
builder
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