kobas/bitly-api-php

PHP library to get a short url via a generic access token from bit.ly

1.2 2022-12-09 16:32 UTC

This package is auto-updated.

Last update: 2024-11-09 20:34:06 UTC


README

This package:

Installation

To install, use composer:

composer require kobas/bitly-api-php

Usage

$bitly = new \Kobas\Bitly\Bitly('YOUR_ACCESS_TOKEN');
$url = $bitly->shortenUrl('https://google.com');
echo $url;

Licensing

The MIT License (MIT). Please see License File for more information.