PHPackages                             damienharper/navigation-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. [API Development](/categories/api)
4. /
5. damienharper/navigation-bundle

ActiveSymfony-bundle[API Development](/categories/api)

damienharper/navigation-bundle
==============================

Provides routing, distance matrix features etc from different providers

0.5.0(5y ago)29.9k↓83.3%1MITPHPPHP &gt;=7.1CI failing

Since Aug 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/DamienHarper/NavigationBundle)[ Packagist](https://packagist.org/packages/damienharper/navigation-bundle)[ RSS](/packages/damienharper-navigation-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (10)Versions (7)Used By (0)

NavigationBundle
================

[](#navigationbundle)

[![Latest Stable Version](https://camo.githubusercontent.com/03311fb94ab4fda89412535910ff87e60ae6cdee9ad6c5efc69d0cf3d5f4c1a8/68747470733a2f2f706f7365722e707567782e6f72672f64616d69656e6861727065722f6e617669676174696f6e2d62756e646c652f762f737461626c65)](https://packagist.org/packages/damienharper/navigation-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/467f73e3277e5d3fd7e1acb8760b34c6c3f3928a6e45ea8b1febf1ebc6d182c0/68747470733a2f2f706f7365722e707567782e6f72672f64616d69656e6861727065722f6e617669676174696f6e2d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/damienharper/navigation-bundle)[![Build Status](https://camo.githubusercontent.com/361c7e9cfdec2560ff9270c3244b20b1a8c384503d9a8334ec62288c28f9d189/68747470733a2f2f7472617669732d63692e636f6d2f44616d69656e4861727065722f4e617669676174696f6e42756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/DamienHarper/NavigationBundle)[![License](https://camo.githubusercontent.com/dde295a18f8ca66f1f049da6eba5fa68ae69e8727e3bcf5f630243a402bd0fa2/68747470733a2f2f706f7365722e707567782e6f72672f64616d69656e6861727065722f6e617669676174696f6e2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/damienharper/navigation-bundle)[![Maintainability](https://camo.githubusercontent.com/9a373271cfb59d373d1c93216ce55c4a3cd206a1841d29a366c07140a86cd504/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36373934336135303564616236366666303839392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/DamienHarper/NavigationBundle/maintainability)[![Test Coverage](https://camo.githubusercontent.com/d3fe52dbeefc18bc5685e89424a7be5a6064bb135c96ca196128e93fef4105bf/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36373934336135303564616236366666303839392f746573745f636f766572616765)](https://codeclimate.com/github/DamienHarper/NavigationBundle/test_coverage)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/762fb9a4bf981503a970f07bb1aff04153e114580b343bd9afc4a81a003bd2b8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f44616d69656e4861727065722f4e617669676174696f6e42756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/DamienHarper/NavigationBundle/?branch=master)
[![Total Downloads](https://camo.githubusercontent.com/7af701f2bc83fb874bfb6031b980055f538959936cdf8f0a7e29e775b3c39c4f/68747470733a2f2f706f7365722e707567782e6f72672f64616d69656e6861727065722f6e617669676174696f6e2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/damienharper/navigation-bundle)[![Monthly Downloads](https://camo.githubusercontent.com/bd277445ad63a7d7c08fd2bf60f1d4650951e8ff2429f3530b96b4ed392ffc45/68747470733a2f2f706f7365722e707567782e6f72672f64616d69656e6861727065722f6e617669676174696f6e2d62756e646c652f642f6d6f6e74686c79)](https://packagist.org/packages/damienharper/navigation-bundle)[![Daily Downloads](https://camo.githubusercontent.com/8070194e36477c74a1ef8995b12a6730cf4052261a7bbda38d90d57b558bed76/68747470733a2f2f706f7365722e707567782e6f72672f64616d69656e6861727065722f6e617669676174696f6e2d62756e646c652f642f6461696c79)](https://packagist.org/packages/damienharper/navigation-bundle)

This bundle provides navigation features such as routing, distance matrix etc. It relies on providers to provide such features. Included providers are:

- Here (see )
- \[not yet available\] Google Maps (see )

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

[](#installation)

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require damienharper/navigation-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#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:

```
composer require damienharper/navigation-bundle
```

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

[](#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:

```
