Download the PHP package laposta/laposta-api-php without Composer
On this page you can find all versions of the php package laposta/laposta-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laposta/laposta-api-php
More information about laposta/laposta-api-php
Files in laposta/laposta-api-php
Package laposta-api-php
Short Description Laposta api, free api to laposta.nl
License MIT
Homepage https://laposta.nl
Informations about the package laposta-api-php
Laposta API PHP
A PHP library for interacting with the Laposta API, compatible with PSR-18 and PSR-17 standards.
Requirements
To use the Laposta API, the following is required:
- PHP >= 8.1
- cURL PHP extension
- JSON PHP extension
Composer Installation
The easiest way to install this library is by requiring it via Composer:
Manual Installation
If you're not using Composer, include the autoloader:
Quick Example
Examples
This project includes a set of real, runnable examples organized by API resource (e.g., list, campaign, member).
Each example demonstrates a specific API operation and can be run via PHP CLI.
See examples/README.md for setup instructions and an overview of the available examples.
Extensibility
This library is built around PHP standards (PSR-18/17) and is designed to be flexible.
You can inject your own HTTP client and factories (e.g. Guzzle, Nyholm, Symfony components) via the constructor:
If no client or factories are provided, the library uses its own lightweight implementations by default.
API Documentation
For the full API reference, see https://api.laposta.nl/doc.
Changelog
See CHANGELOG.md for a complete list of changes.
License
This library is open-sourced software licensed under the MIT license.
All versions of laposta-api-php with dependencies
ext-curl Version *
ext-json Version *
psr/http-client Version ^1.0
psr/http-factory Version ^1.1
psr/http-message Version ^2.0