Download the PHP package beziworld/laravel-globkurier without Composer

On this page you can find all versions of the php package beziworld/laravel-globkurier. 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 laravel-globkurier

Laravel GlobKurier

tests Latest Version

GlobKurier.pl REST API v1 client for Laravel. GlobKurier compares and books domestic and international shipments with InPost, DPD, ORLEN Paczka, FedEx, UPS, Poczta Polska and many more carriers:

Polska wersja dokumentacji

Why this package

There is no PHP or Laravel package for GlobKurier on Packagist; the existing integrations are shop plugins (PrestaShop, WooCommerce). This package covers the full integration path of the official documentation at developer.globkurier.pl: products, add-ons, prices, orders, labels and tracking, with immutable DTOs (amounts as decimal strings, dates in Europe/Warsaw), typed exceptions with field errors, safe retries of GET requests only and tests on Http::fake().

Installation

Without credentials only public resources work: countries, guest product search, points and tracking. Every order is sent with the consents from config('globkurier.agreements') (receiveElectronicBills, processingPersonalData) unless the order defines its own; check the current list with GlobKurier::agreements('order').

Find a product and its add-ons

Place an order

Use GlobKurier::customRequiredFields($productId, 'PL', 'DE') to learn whether a product needs points, states, the declared value or the purpose, and pass the customs declaration in customs for shipments outside the EU.

Best price orders

The simplified endpoint finds the cheapest offer of a carrier itself; it takes integration names, ISO country codes and add-on categories:

Orders, pickups and tracking

GlobKurier has no webhooks. Schedule the tracking command for orders in transit and listen to ShipmentStatusChanged:

app(TrackingPoller::class)->poll($numbers) does the same from your own job.

Points and dictionaries

Several accounts

Errors

Exception When
ApiException HTTP errors: httpStatus(), fieldErrors() (field => message), messages(), payload(), isValidationError(), isUnauthorized(), isNotFound(), isRateLimited() with retryAfter(); transport errors; non-PDF label responses
AuthenticationException wrong e-mail or password
InvalidConfiguration e-mail without password (or the other way round), unknown connection, unknown ISO country code

All exceptions extend GlobKurierException. GET requests are repeated after connection errors and HTTP 5xx (GLOBKURIER_RETRIES); POST, PUT and DELETE requests never are.

Development

Author

Created and maintained by Kamil Ćwiertnia, beziworld.eu.

Need an integration? Get in touch through beziworld.eu.

Other packages by the author

laravel-apaczka · laravel-furgonetka · laravel-polkurier · laravel-inpost · laravel-dpd

License

MIT. See LICENSE.md. This package is not affiliated with GlobKurier.pl.


All versions of laravel-globkurier with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-json Version *
guzzlehttp/guzzle Version ^7.8
illuminate/cache Version ^12.0|^13.0
illuminate/console Version ^12.0|^13.0
illuminate/contracts Version ^12.0|^13.0
illuminate/events Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.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 beziworld/laravel-globkurier contains the following files

Loading the files please wait ...