This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
You can install the package via composer:
composer require limewell/laravel-macros
withWhereHas()
User::query()
->withWhereHas('subscriptions', function ($query) {
$query->where('package_id', 4)->withWhereHas('package');
})
->get();
hasForeign()
Schema::table('subscriptions', function (Blueprint $table) {
if($table->hasForeign('subscriptions_package_id_foreign')){
//
}
});
loadWithLimit()
Country::all()
->loadWithLimit(['states' => function($query){
$query->limit(1);
}]);
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email dipesh.sukhia@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.