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-05-09 19:27:45 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.