Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

AppVentus/AvBitlyBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AvBitlyBundle

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

About

Bundle for the Bitly Api v3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages