Skip to content

Provides a simple way to shorten a URL via the Bit.ly V4 API.

License

Notifications You must be signed in to change notification settings

KOBASSoftware/bitly-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kobas Bit.ly API v4 Library

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.