appventus / avbitly-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Symfony AvBitlyBundle
Package info
github.com/AppVentus/AvBitlyBundle
Type:symfony-bundle
pkg:composer/appventus/avbitly-bundle
dev-master
2016-12-05 22:26 UTC
Requires (Dev)
- symfony/class-loader: 2.3.*
This package is auto-updated.
Last update: 2021-12-21 22:33:33 UTC
README
This bundle permits to use the bitly api V3
Configuration
In your config.yml, add this parameters:
av_bitly:
bitly_token: %bitly_token% #mandatory
bitly_api_address: '' #optional, default value = 'https://api-ssl.bitly.com'
bitly_domain: yourdomain #optional, default value = ''
Usage
$bitlyService = $this->get('av_bitly.bitly_service');
//generate the bitly url
$shortUrl = $bitlyService->shorten($route);
Fonctions
The functions availables are:
-shorten