PHPackages                             egulias/egulias-provinces-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. egulias/egulias-provinces-bundle

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

egulias/egulias-provinces-bundle
================================

Bundle for provinces

v1.0.2(14y ago)5233[2 issues](https://github.com/egulias/EguliasProvincesBundle/issues)MITPHPPHP &gt;=5.3.3

Since Jun 27Pushed 14y agoCompare

[ Source](https://github.com/egulias/EguliasProvincesBundle)[ Packagist](https://packagist.org/packages/egulias/egulias-provinces-bundle)[ Docs](http://git.ideup.com/egulias/EguliasProvincesBundle.git)[ RSS](/packages/egulias-egulias-provinces-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Provinces bundle for Symfony2/Doctrine2
=======================================

[](#provinces-bundle-for-symfony2doctrine2)

This bundle is intended to allow you to easily have the basic structure of regions-provinces of a given country (or all, I hope).

[![Build Status](https://camo.githubusercontent.com/3c843374349d78b0180f0234c5eda8e5bb6ccd7926a4c0fb360bfcd7c668b91b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6567756c6961732f4567756c69617350726f76696e63657342756e646c652e706e67)](http://travis-ci.org/egulias/EguliasProvincesBundle)

Installation and configuration:
-------------------------------

[](#installation-and-configuration)

### Get the bundle

[](#get-the-bundle)

Add to your `/deps` file :

```
[EguliasProvincesBundle]
    git=http://github.com/egulias/EguliasProvincesBundle.git
    target=/bundles/Egulias/ProvincesBundle

```

- Side note: if you want provinces and regions in the database, you will need `doctrine-fixtures`and `DoctrineFixturesBundle`

    ```
    [doctrine-fixtures]
        git=http://github.com/doctrine/data-fixtures.git

    [DoctrineFixturesBundle]
        git=http://github.com/symfony/DoctrineFixturesBundle.git
        target=/bundles/Symfony/Bundle/DoctrineFixturesBundle

    ```

And make a `php bin/vendors install`.

### Register the namespace

[](#register-the-namespace)

```
