Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matudelatower/ubicacion-bundle

Bundle Symfony para país, provincia y localidad con datos en fixtures de Argentina
https://github.com/matudelatower/ubicacion-bundle

argentina departamento fixtures localidades provincia symfony symfony-bundle

Last synced: 7 days ago
JSON representation

Bundle Symfony para país, provincia y localidad con datos en fixtures de Argentina

Awesome Lists containing this project

README

        

[![SensioLabsInsight](https://insight.sensiolabs.com/projects/bed70b5b-89fc-487b-bc8a-b48f0bdb079f/mini.png)](https://insight.sensiolabs.com/projects/bed70b5b-89fc-487b-bc8a-b48f0bdb079f)
[![Latest Stable Version](https://poser.pugx.org/matudelatower/ubicacion-bundle/v/stable)](https://packagist.org/packages/matudelatower/ubicacion-bundle)
[![Total Downloads](https://poser.pugx.org/matudelatower/ubicacion-bundle/downloads)](https://packagist.org/packages/matudelatower/ubicacion-bundle)
[![Latest Unstable Version](https://poser.pugx.org/matudelatower/ubicacion-bundle/v/unstable)](https://packagist.org/packages/matudelatower/ubicacion-bundle)
[![License](https://poser.pugx.org/matudelatower/ubicacion-bundle/license)](https://packagist.org/packages/matudelatower/ubicacion-bundle)

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

Step 1: Download the Bundle
---------------------------

Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:

```bash
$ composer require matudelatower/ubicacion-bundle 2.0
```

This command requires you to have Composer installed globally, as explained
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

Then, enable the bundle by adding it to the list of registered bundles
in the `app/AppKernel.php` file of your project:

```php
add('localidad', new MatudelatowerLocalidadType())

```

and in your view include

```twig
{% include '@Ubicacion/Default/matudelatower_ubicacionbundle.js.twig' %}
```

##Enjoy!

## TODO

- [x] País, provincia, departamento, localidad dependent combo widget.