2017 © Pedro Peláez
 

library bob

Bob is an API Builder, say Hi!

image

jeffbeltran/bob

Bob is an API Builder, say Hi!

  • Tuesday, June 5, 2018
  • by JeffBeltran
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Bob - An API Query String Builder

Latest Version on Packagist GitHub Tests Action Status Total Downloads, (*1)

This is a Laravel package that will allow you to create query scopes that can be applied to an API's Endpoint dynamically via Query Strings., (*2)

In short, you can apply filters to your API endpoints like so, (*3)

/posts?include=comments&author=2&sort=created_at,asc

This would return all posts for the author of ID 2, all comment relationships and sorted by created_at date (note: some assembly required), (*4)

Installation - WIP

You can install the package via composer:, (*5)

composer require jeffbeltran/bob

You can publish and run the migrations with:, (*6)

php artisan vendor:publish --provider="Jeffbeltran\Bob\BobServiceProvider" --tag="migrations"
php artisan migrate

You can publish the config file with:, (*7)

php artisan vendor:publish --provider="Jeffbeltran\Bob\BobServiceProvider" --tag="config"

This is the contents of the published config file:, (*8)

return [
];

Usage - WIP

$bob = new Jeffbeltran\Bob();
echo $bob->echoPhrase('Hello, Jeffbeltran!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently., (*9)

Contributing

Please see CONTRIBUTING for details., (*10)

Security

If you discover any security related issues, please email jeffbeltran@gmail.com instead of using the issue tracker., (*11)

Credits

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

05/06 2018

dev-develop

dev-develop

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

05/06 2018

dev-master

9999999-dev

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

05/06 2018

0.3.3

0.3.3.0

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

05/06 2018

0.3.2

0.3.2.0

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

05/06 2018

0.3.1

0.3.1.0

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

19/05 2018

0.3.0

0.3.0.0

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

19/05 2018

0.2.0

0.2.0.0

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

16/05 2018

0.1.1

0.1.1.0

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran

16/05 2018

0.1.0

0.1.0.0

Bob is an API Builder, say Hi!

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeff Beltran