laravel-restive/restive-sdk is a Laravel package for an api framework for laravel.
It currently has 0 GitHub stars and 138 downloads on Packagist.
Install it with composer require laravel-restive/restive-sdk.
Discover more Laravel packages by laravel-restive
or browse all Laravel packages to compare alternatives.
Last updated
Restive SDK is a companion project to Laravel Restive
It provides a fluent builder that somewhat mimics Laravel's Query Builder.
e.g.
$aqb = new ApiQueryBuilder();
$url = $aqb->where('id', 1)
->orWhere('id', 2)
->whereIn('id', [2,3,4])
->whereBetween('id', [3,4])
->orderBy('id', 'desc')
->crossJoin('user')
->select('id', 'name')->select('status')
->get();
It will produced URL fragments that follow the standard required for filtering/ordering etc, used by Laravel Restive
Documentation will be available soon.
More to come