Skip to content

laravel-restive/restive-sdk

Repository files navigation

Laravel Restive SDK

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages