shlinkio/shlink-php-sdk

A PHP SDK to consume Shlink's REST API

v2.3.0 2024-09-03 16:43 UTC

This package is auto-updated.

Last update: 2024-10-28 08:56:18 UTC


README

Build Status Code Coverage Latest Stable Version License Paypal donate

A PHP SDK to consume Shlink's REST API in a very convenient and robust way.

  • Very expressive API.
  • Decoupled from implementations: Depending only on PSR-17 and PSR-18 interfaces.
  • Dependency injection: Every service can be composed out of a set of pieces.
  • Statically typed and immutable DTOs, with meaningful named constructors.
  • Generator-based iterable collections, to abstract pagination and reduce resource consumption.
  • Error handling via contextual exceptions.
  • Extensively tested with unit tests and integration tests.

Installation

Install the SDK with composer.

composer install shlinkio/shlink-php-sdk

Docs

Read the documentation at https://php-sdk.shlink.io