dev-master
9999999-devSymfony AvBitlyBundle
MIT
The Development Requires
controller
dev-develop
dev-developSymfony AvBitlyBundle
MIT
The Development Requires
controller
Symfony AvBitlyBundle
This bundle permits to use the bitly api V3, (*1)
In your config.yml, add this parameters:, (*2)
av_bitly: bitly_token: %bitly_token% #mandatory bitly_api_address: '' #optional, default value = 'https://api-ssl.bitly.com' bitly_domain: yourdomain #optional, default value = ''
$bitlyService = $this->get('av_bitly.bitly_service'); //generate the bitly url $shortUrl = $bitlyService->shorten($route);
The functions availables are:, (*3)
-shorten, (*4)
Symfony AvBitlyBundle
MIT
controller
Symfony AvBitlyBundle
MIT
controller