tilomotion/fuelsdk

Php Sdk to connect with Api Fuel

Installs: 1 827

Dependents: 0

Suggesters: 0

Security: 0

pkg:composer/tilomotion/fuelsdk

v2.5.3 2025-12-23 13:15 UTC

README

Total Downloads Latest Stable Version

This library allow use Fuel's API with all kind of authentication.

Installation

Install the latest version with..

$ composer require tilomotion/fuelsdk

HTTP CODES

  • 200: OK
  • 204: NOT FOUND. Element's Id not found for this license. Available on GET or DELETE for item or list. On Create or Update when related object's id not exists.
  • 400: Insufficient parameters on request. Normally on PUT or POST request.
  • 401: Invalid credentials, require refresh.
  • 409: Already exists element. Usually on POST request.
  • 412: Already exists on Dms or other external platform
  • 416: Exceeded results obteined.
  • 421: Fail login or conection with Dms or other external platform.
  • 500: Internal Server Error. Report to developers.

Documentation

New in 2.0.0

  • Login B2B.
    $conn = new ConnectionB2b("pass", "key", $logger, "DEV");
    

New in 1.0.8

  • Continuous integration of bitbucket repository with packagist.
  • Constants with the path of the services exposed in the Fuel API. Use class WebService.
    $params[]  = new QueryOrder("fechaAlta", QueryOrder::FUEL_STR_ORDER_DESC);
    $conn->requestWilcardGet(WebService::PATH_USER_LIST, $params);
    

New in 2.2.0

  • Not sufix queryParam allowed by boolean parameter
  • NotNull sufix queryParam allowed by boolean parameter
    $params[]  = new QueryParam("fechaAlta", QueryParam::FUEL_INT_QUERY_RELATION_IS_NULL, /* For apply negation  !=*/ true);
    $conn->requestWilcardGet(WebService::PATH_USER_LIST, $params);
    
  • Fix urlEncoded only in specified keys

Third Party Packages

Third party handlers, formatters and processors are listed in the wiki. You can also add your own there if you publish one.

About

Requirements

  • Fuel sdk works with PHP 5.4 or above.

Submitting bugs and feature requests

Bugs and feature request are tracked on Bitbucket

Framework Integrations

  • Frameworks and libraries using PSR-3 can be used very easily with Monolog since it implements the interface.

Author

Alejandro Gago Encinas - agago@tilomotion.com
Carmelo Ramírez Robles - cramirez@tilomotion.com

License

FuelSdk is licensed under the MIT License - see the LICENSE file for details