PHPackages                             alanmastro/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alanmastro/short-url-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

alanmastro/short-url-bundle
===========================

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

1.0.1(6y ago)01.4k1MITPHPPHP &gt;=5.3.2

Since May 4Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (12)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)

```
