PHPackages                             linkbar/sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. linkbar/sdk

ActiveLibrary[API Development](/categories/api)

linkbar/sdk
===========

PHP SDK for the Linkbar API - Create, manage, and track short links

v1.0.0(9mo ago)00MITPHPPHP ^8.1CI passing

Since Jul 24Pushed 9mo agoCompare

[ Source](https://github.com/linkbarapp/linkbar-php)[ Packagist](https://packagist.org/packages/linkbar/sdk)[ Docs](https://linkbar.co)[ RSS](/packages/linkbar-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Linkbar PHP SDK
===============

[](#linkbar-php-sdk)

[![Tests](https://github.com/linkbarapp/linkbar-php/actions/workflows/tests.yml/badge.svg)](https://github.com/linkbarapp/linkbar-php/actions/workflows/tests.yml)[![Coverage Status](https://camo.githubusercontent.com/b3a32f70c63cb92b633086da78a29a3656a65ddbaf4225ece63c769bb7861b2a/68747470733a2f2f636f6465636f762e696f2f67682f6c696e6b6261726170702f6c696e6b6261722d7068702f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/linkbarapp/linkbar-php)[![Packagist Version](https://camo.githubusercontent.com/bf488be0f6f1dc14f075e56b129380b10bfe6b72fa7a639debc2498ac7609824/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696e6b6261722f73646b)](https://packagist.org/packages/linkbar/sdk)[![PHP Version](https://camo.githubusercontent.com/9e100677230be2976f5fae5a21d995273dee48036eb97ae65b7e67b010c19384/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6c696e6b6261722f73646b)](https://packagist.org/packages/linkbar/sdk)[![License](https://camo.githubusercontent.com/a74f5c93a3f098583e6d1706ae0ad41dd2cada711984b287d55a41708e4d0dda/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c696e6b6261726170702f6c696e6b6261722d706870)](LICENSE)

A modern PHP SDK for the Linkbar API that allows you to create, manage, and track short links. Built with PHP 8.1+ features including named parameters, readonly properties, and match expressions.

Installation
------------

[](#installation)

```
composer require linkbar/sdk
```

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- ext-json
- guzzlehttp/guzzle ^7.0

Quick Start
-----------

[](#quick-start)

```
