2017 © Pedro Peláez
 

symfony-bundle insecure-routes-bundle

Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).

image

jmikola/insecure-routes-bundle

Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).

  • Wednesday, May 15, 2013
  • by jmikola
  • Repository
  • 1 Watchers
  • 13 Stars
  • 4,346 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

JmikolaInsecureRoutesBundle

Build Status, (*1)

This bundle removes HTTPS schema requirements from all routes in your Symfony2 application, and is especially helpful if your dev or test environments are not configured with SSL and you would like to avoid maintaining a separate copy of your routing configuration with HTTPS requirements removed., (*2)

You probabably should not use this bundle in your prod environment., (*3)

Compatibility

This bundle's master branch maintains compatibility with Symfony2's master branch. The sf-2.0 branch of this bundle maintains compatibility with Symfony 2.0. You may use the following tags for this bundle:, (*4)

  • 3.0.x tracks the master branch.
  • 2.0.x tracks the sf-2.0 branch.

Installation

Add JmikolaInsecureRoutesBundle to the registerBundles() method of your application kernel. Like WebProfilerBundle, this bundle should only be enabled for your dev and test environments:, (*5)

``` php, (*6)

app/AppKernel.php

public function registerBundles() { if (in_array($this->getEnvironment(), array('dev', 'test'))) { $bundles[] = new Jmikola\InsecureRoutesBundle\JmikolaInsecureRoutesBundle(); } } ```, (*7)

Configuration

There are no configuration options. Symfony2 will load the bundle's dependency injection extension automatically., (*8)

The extension will create a service that composes the existing routing.loader service and assumes its service ID. Whenever a RouteCollection is loaded, any HTTPS _scheme requirements among its routes will then be removed. The filtering process is very similar to that of FrameworkBundle's DelegatingLoader, which resolves short notation for _controller defaults., (*9)

The Versions

15/05 2013

dev-master

9999999-dev https://github.com/jmikola/JmikolaInsecureRoutesBundle

Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).

  Sources   Download

MIT

The Requires

 

https security routing routes

15/05 2013

v3.0.1

3.0.1.0 https://github.com/jmikola/JmikolaInsecureRoutesBundle

Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).

  Sources   Download

MIT

The Requires

 

https security routing routes

26/02 2013

v3.0.0

3.0.0.0 https://github.com/jmikola/JmikolaInsecureRoutesBundle

Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).

  Sources   Download

MIT

The Requires

 

https security routing routes

26/02 2013

dev-sf-2.0

dev-sf-2.0 https://github.com/jmikola/JmikolaInsecureRoutesBundle

Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).

  Sources   Download

MIT

The Requires

 

https security routing routes

26/02 2013

v2.0.0

2.0.0.0 https://github.com/jmikola/JmikolaInsecureRoutesBundle

Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).

  Sources   Download

MIT

The Requires

 

https security routing routes