Laravel 5 Layer is a package that helps to fast create Query
Require this package with composer. It is recommended to only require the package.
composer require linhnha95/laravel-query-support
Add the ServiceProvider to the providers array in config/app.php
Linhnh95\LaravelQuerySupport\SupportProvider::class,