joshybadev / easybroker
easybroker is a PHP client library consult copy easybroker_gem
dev-master
2022-06-05 04:50 UTC
Requires
- php: ^7.2.5 || ^8.0
Suggests
- ext-curl: Required for CURL handler support
- ext-intl: Required for Internationalized Domain Name (IDN) support
This package is not auto-updated.
Last update: 2025-06-30 15:33:07 UTC
README
A gem that makes it easy to work with the EasyBroker API.
-
Is a copy from EasyBroker API GEM.
-
Visit More info.
-
modify file env
-
add next line
-
API_KEY_EasyBroker= Use your API Key
//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.