for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
require 'vendor/autoload.php';
include_once 'api.php';
$bitly = new \sineverba\Bitly\Bitly(TOKEN);
TOKEN
$bitly->createShortLink("https://www.google.it");
$url = $bitly->getShortUrl();
var_dump($url);