Completed
Push — master ( b77f02...053cae )
by Alessandro
01:47 queued 23s
created

test.php (1 issue)

Labels
Severity
1
<?php
2
3
require 'vendor/autoload.php';
4
include_once 'api.php';
5
6
$bitly = new \sineverba\Bitly\Bitly(TOKEN);
0 ignored issues
show
The constant TOKEN was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
7
$bitly->createShortLink("https://www.google.it");
8
$url = $bitly->getShortUrl();
9
10
var_dump($url);