This Bundle provides a backend interface to create "Stores", for which you can specify a name, address and click on a google map to determine the coordinates for the location. Then it provides a very basic frontend view view to search for stores.
- install bundle via composer:
add to composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/frankadrian/store-locator-bundle.git"
}
],
and under the require section:
"frankadrian/store-locator-bundle": "dev-master",
then run composer up
-
Add to AppKernel.php
... new Frank\StoreLocatorBundle\FrankStoreLocatorBundle(), ...
-
load default routing
frank_store_locator: resource: "@FrankStoreLocatorBundle/Controller/" type: annotation prefix: /
-
Update database
app/console doctrine:schema:update --force
-
start server
app/console server:run
-
browse to
http://127.0.0.1:8000/admin/store/
to create stores and after that they can be found athttp://127.0.0.1:8000/store/