Download the PHP package very-code-com/furgonetka-api-php without Composer

On this page you can find all versions of the php package very-code-com/furgonetka-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package furgonetka-api-php

furgonetka-api-php

PHP client library for the Furgonetka.pl REST API.

Compare prices of DPD, InPost, DHL, UPS, GLS, FedEx, Poczta Polska, ORLEN Paczka and others behind one API of the courier broker Furgonetka.pl: create and order shipments, download labels, book pickups, track parcels, find pickup points, send abroad and receive tracking webhooks. No framework and no HTTP library to install: plain cURL, PSR-3 for logging.

Latest Version Total Downloads CI Integration PHPStan PHP

Installation

Requires PHP 8.2+ with ext-curl, ext-json, ext-libxml, ext-mbstring and ext-simplexml, a Furgonetka.pl account and an OAuth application. Getting started shows how to get the keys, for the sandbox and for production.

Quick start

Keep the keys in the environment (FURGONETKA_CLIENT_ID, FURGONETKA_CLIENT_SECRET, FURGONETKA_ENV) and log in once from a terminal (php examples/02_password_grant_and_2fa.php); the token is stored and refreshes itself after that.

Ordering on production charges the account and books a carrier. Try everything on the sandbox first; the examples are dry unless you ask them to order.

Documentation

Document Contents
Getting started Accounts and OAuth keys for the sandbox and production, configuration, debug mode, what to know before the first order
Authentication and tokens The grants, token stores, several accounts, Laravel and Symfony
Sending abroad Customs data, contracts, regulations, the customs signature outside the EU
API reference Every client method, the objects they take and return, local validation, exceptions, the webhook parser
Furgonetka's quirks What the API does that its documentation does not say, and what was not verified
Testing Testing your code against a fake transport, running this library's tests, CI
Examples Eighteen runnable scripts, three of them offline
Cookbook About two hundred small recipes by carrier, service and country, each run against the sandbox
Changelog Releases

License

NOTICE for attribution requirements. You may use, distribute and modify this library freely, and must retain the NOTICE file and copyright notices in any redistribution or derivative work.

Built by Very Code. Contributions welcome, open an issue or PR.


All versions of furgonetka-api-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-curl Version *
ext-json Version *
ext-libxml Version *
ext-mbstring Version *
ext-simplexml Version *
psr/log Version ^2.0|^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package very-code-com/furgonetka-api-php contains the following files

Loading the files please wait ...