joshybadev/easybroker

easybroker is a PHP client library consult copy easybroker_gem

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/joshybadev/easybroker

dev-master 2022-06-05 04:50 UTC

This package is not auto-updated.

Last update: 2026-01-12 18:31:37 UTC


README

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.