PHPackages                             adspray/short-url-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. adspray/short-url-bundle

ActiveSymfony-bundle

adspray/short-url-bundle
========================

Provides a service and twig extension for getting short urls like http://your.host/~short

1.0.3(5y ago)01.5kMITPHPPHP &gt;=5.3.2

Since May 4Pushed 5y agoCompare

[ Source](https://github.com/AdSpray/ShortUrlBundle)[ Packagist](https://packagist.org/packages/adspray/short-url-bundle)[ Docs](https://github.com/alanmastro/ShortUrlBundle)[ RSS](/packages/adspray-short-url-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (14)Used By (0)

ShortUrlBundle
==============

[](#shorturlbundle)

This bundle provides a service and twig extension for getting short urls like

[![Build Status](https://camo.githubusercontent.com/7f193ef58cfee5899d0eb57911fe3df39793d17d68b5666ed9d2b29fc9b2b54b/68747470733a2f2f7472617669732d63692e6f72672f62696f7a73686f636b2f53686f727455726c42756e646c652e706e67)](https://travis-ci.org/biozshock/ShortUrlBundle)

Installation
============

[](#installation)

### Add this bundle to your project

[](#add-this-bundle-to-your-project)

**Using the vendors script**

Add the following lines in your deps file:

```
[BumzShortUrlBundle]
    git=git://github.com/biozshock/ShortUrlBundle.git
    target=bundles/Bumz/ShortUrlBundle

```

Run the vendors script:

```
$ php bin/vendors install
```

**Using Git submodule**

```
$ git submodule add git://github.com/biozshock/ShortUrlBundle.git vendor/bundles/Bumz/ShortUrlBundle
```

### Add the Bumz namespace to your autoloader

[](#add-the-bumz-namespace-to-your-autoloader)

```
