No description, website, or topics provided.
PHP HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spec
src
.gitignore
.scrutinizer.yml
.travis.yml
Readme.md
composer.json
phpspec.yml

Readme.md

GeolocAttributeBundle Scrutinizer Code Quality Build Status

Geolocation is an attribute for Akeneo PIM, it adds latitude and longitude field to your product form. You can fill automatically them by using a google maps. See the screenshot :

Geolocation

Installation

We assume you're familiar with Composer, a dependency manager for PHP. Use the following command to add the bundle to your composer.json and download the package.

If you have [Composer installed globally](<http://getcomposer.org/doc/00-intro.md#globally).

    $ composer require "cleverage/akeneo-geoloc-attribute"

Otherwise you have to download .phar file.

    $ curl -sS https://getcomposer.org/installer | php
    $ php composer.phar require "cleverage/akeneo-geoloc-attribute"

Adding required bundles to the kernel

You just need to enable proper bundles inside the kernel.

    <?php

    // app/AppKernel.php

    public function registerBundles()
    {
        $bundles = array(
            new CleverAge\Bundle\GeolocAttributeBundle\CleverAgeGeolocAttributeBundle(),
        );
    }

Updating the database

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

Updating the assets

This bundle provides a css file named geolocation.css, you need to include it in your layout. After that, your need to install your assets like that :

    php app/console pim:install:assets

phpspec examples

$ composer install
$ bin/phpspec run -fpretty

Bug tracking

This bundle uses GitHub issues. If you have found bug, please create an issue.

Versioning

Releases will be numbered with the format major.minor.patch.

And constructed with the following guidelines.

  • Breaking backwards compatibility bumps the major.
  • New additions without breaking backwards compatibility bumps the minor.
  • Bug fixes and misc changes bump the patch.

For more information on SemVer, please visit semver.org website.

MIT License

License can be found here.

Authors

The bundle was originally created by Arnaud Langlade. Sponsored by Clever Age. See the list of contributors.