Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.24 KB

readme.md

File metadata and controls

43 lines (33 loc) · 1.24 KB

EasyBroker for PHP

A gem that makes it easy to work with the EasyBroker API.

//Get all 
//Instance class with parameter
$easy=new EasyBroker(env("API_KEY_EasyBroker"),env('APP_ENV'));
$contactosResponsePagination = $easy->client()->contact_requests()->search("");
if(!$contactosResponsePagination->error())
{
    //Return content
    return $contactosResponsePagination->content();
}
else
{
    //Return message by error
    return $contactosResponsePagination->response()["error"];
}

Aplicacion en heroku para ver su uso con la version de prueba

https://probandoeasybroker.herokuapp.com/.

Installing JoshybaDev/EasyBroker

The recommended way to install JoshybaDev/EasyBroker is through Composer.

composer require joshybadev/easybroker "*"

License

JoshybaDev/EasyBroker is made available under the MIT License (MIT). Please see License File for more information.