PHPackages                             leos/angular-ui-routing-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. leos/angular-ui-routing-bundle

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

leos/angular-ui-routing-bundle
==============================

Adapting Angular UI-ROUTER to use it with Symfony2

0.1.57.x-dev(10y ago)3116MITPHPPHP &gt;=5.3.7

Since Dec 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jorge07/LeosAngularRoutingBundle)[ Packagist](https://packagist.org/packages/leos/angular-ui-routing-bundle)[ Docs](https://github.com/jorge07/LeosAngularRoutingBundle)[ RSS](/packages/leos-angular-ui-routing-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

LeosAngularRoutingBundle
========================

[](#leosangularroutingbundle)

Adapting Angular UI-ROUTER to use it with Symfony

Based on:

To configure:

Add on AppKernel in the array bundles:
======================================

[](#add-on-appkernel-in-the-array-bundles)

new Leos\\AngularRoutingBundle\\LeosAngularRoutingBundle()

On your template:
=================

[](#on-your-template)

Add the link on your JS Block and replace **"my-mode"** for your module name, like this:

The angular ui router

- @LeosAngularRoutingBundle/Resources/public/js/vendor/angular-ui-router.js

Add to the routing.yml:

leos\_angular\_routing:

```
  resource: "@LeosAngularRoutingBundle/Resources/config/routing.yml"

  prefix:   /your-prefix

```

The custom configuration JS:

``

On your config.yml or config\_%env%.yml Define your configuration site:
=======================================================================

[](#on-your-configyml-or-config_envymldefine-your-configuration-site)

\#The config:

leos\_angular\_routing:

```
routes:

    home:                                   #The State Name
        url: ''                             #The url name (Not prefix with "/")

        #The template to include
        templateUrl: home                      #The symfony route name
        #Add parameters to the route
        urlParams:
            offer: wellcome
        #The childs
        views:
            partial1:                       #The partial name(unique)
                column: slider              #The column to insert the view
                viewParent: parnetSate      #Optional config to set nestead views
                templateUrl: slider         #The symfony route name
            #Other examamples
            partial2:
                column: aside
                templateUrl: todo

            partial3:
                column: content
                templateUrl: todoDisplay

    #To add Sub States
    testContainer:
        url: lobby
        templateUrl: testContainer

    testContainer.subrute:
        url: my-list
        templateUrl: todoDisplay

    testContainer.account:
        url: my-account
        templateUrl: testContainer.account
    #OR
    testContainer:
        url: lobby
        templateUrl: testContainer
        childs:
            subrute:
                url: my-list
                templateUrl: todoDisplay
                childs:
                      cagada:
                          url: cagada
                          templateUrl: todoDisplay
            account:
                url: my-account
                templateUrl: testContainer.account

    #To add states with parameters
    play:
        url: 'play/:gameId'
        templateUrl: game

```

Extra Content:
==============

[](#extra-content)

The Routing controller for test your application:
=================================================

[](#the-routing-controller-for-test-your-application)

Add it only if you want debug the router

- @LeosAngularRoutingBundle/Resources/public/js/Controller/RoutingController.js

Use it with: ng-controller="routing"

The Loading Bar:
================

[](#the-loading-bar)

Based on:

- @LeosAngularRoutingBundle/Resources/public/js/vendor/angular-loading-bar.js

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~60 days

Total

4

Last Release

3988d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9114e789102f9bd2db36f8e3d7683b65111992f3db97c0719bf6b92c0722102f?d=identicon)[jorge07](/maintainers/jorge07)

---

Top Contributors

[![jorge07](https://avatars.githubusercontent.com/u/4022187?v=4)](https://github.com/jorge07 "jorge07 (57 commits)")

---

Tags

symfonySymfony2symfony 2angularangularjsui-routerangular ui

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leos-angular-ui-routing-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/leos-angular-ui-routing-bundle/health.svg)](https://phpackages.com/packages/leos-angular-ui-routing-bundle)
```

###  Alternatives

[nilportugues/jsonapi-bundle

Symfony 2 &amp; 3 JSON API Transformer Package

11446.0k](/packages/nilportugues-jsonapi-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
