2017 © Pedro Peláez
 

symfony-bundle route-templating-bundle

A Symfony bundle for route templating

image

phpmentors/route-templating-bundle

A Symfony bundle for route templating

  • Wednesday, May 17, 2017
  • by iteman
  • Repository
  • 3 Watchers
  • 0 Stars
  • 480 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

RouteTemplatingBundle

A Symfony bundle for route templating, (*1)

Total Downloads Latest Stable Version Latest Unstable Version Build Status, (*2)

Features

  • Route templating
    • Copy all routes defined in the imported resource with the specified prefix

Installation

RouteTemplatingBundle can be installed using Composer., (*3)

First, add the dependency to phpmentors/route-templating-bundle into your composer.json file as the following:, (*4)

Stable version:, (*5)

composer require phpmentors/route-templating-bundle "1.1.*"

Development version:, (*6)

composer require phpmentors/route-templating-bundle "~1.2@dev"

Second, add PHPMentorsRouteTemplatingBundle into your bundles to register in AppKernel::registerBundles() as the following:, (*7)

...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new PHPMentors\RouteTemplatingBundle\PHPMentorsRouteTemplatingBundle(),
        );
        ...

Configuration

app/config/routing.yml:, (*8)

# ...

photos:
    resource: "@PhotoBundle/Resources/config/routing.yml"
    prefix:   /photos

admin_photos:
    resource: "@PhotoBundle/Resources/config/routing.yml" # Same resource as `photos`
    prefix:   /admin/photos
    copy_as: admin_

Support

If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on Issues., (*9)

Copyright (c) 2016-2018 KUBO Atsuhiro, All rights reserved., (*10)

License

The BSD 2-Clause License, (*11)

The Versions

17/05 2017

1.0.x-dev

1.0.9999999.9999999-dev

A Symfony bundle for route templating

  Sources   Download

BSD-2-Clause

The Requires

 

by KUBO Atsuhiro

symfony routing

17/05 2017

v1.0.1

1.0.1.0

A Symfony bundle for route templating

  Sources   Download

BSD-2-Clause

The Requires

 

by KUBO Atsuhiro

symfony routing

16/05 2017

dev-master

9999999-dev

A Symfony bundle for route templating

  Sources   Download

BSD-2-Clause

The Requires

 

by KUBO Atsuhiro

symfony routing

31/10 2016

v1.0.0

1.0.0.0

A Symfony bundle for route templating

  Sources   Download

BSD-2-Clause

The Requires

 

by KUBO Atsuhiro

symfony routing