kobas/bitly-api-php

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

Maintainers

Package info

github.com/KOBASSoftware/bitly-api-php

pkg:composer/kobas/bitly-api-php

Statistics

Installs: 49

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.2 2022-12-09 16:32 UTC

This package is auto-updated.

Last update: 2026-03-09 23:24:12 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.