Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.08 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.08 KB

postal-address-bundle Build Status

Simple Addressing management bundle for Symfony2.

What is it ?

It's a small bundle gives you a basic postal adresses managing. This bundle give you three ready to use entity to manage a postal adresses.

  • Address: a postal address

Step 1: Install bundle using composer

{
    "require": {
        // ...
        "skonsoft/postal-address-bundle": "dev-master"
    }
}

Step 2: Register the bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Skonsoft\PostalAddressBundle\SkonsoftPostalAddressBundle(),
    );
    // ...
}

Step 3: Update your schema database

#Important: don't use this command in production environnement !

./app/console doctrine:schema:update --force

Step 4: Load fixtures

./app/console doctrine:schema:update --force

Step 5: Clear cache

Clear your cache and enjoy !