PHPackages                             jmikola/insecure-routes-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. [Security](/categories/security)
4. /
5. jmikola/insecure-routes-bundle

ActiveSymfony-bundle[Security](/categories/security)

jmikola/insecure-routes-bundle
==============================

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

v3.0.1(13y ago)1410.9k3MITPHPPHP &gt;=5.3.2

Since Feb 26Pushed 13y ago1 watchersCompare

[ Source](https://github.com/jmikola/JmikolaInsecureRoutesBundle)[ Packagist](https://packagist.org/packages/jmikola/insecure-routes-bundle)[ Docs](https://github.com/jmikola/JmikolaInsecureRoutesBundle)[ RSS](/packages/jmikola-insecure-routes-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (5)Used By (0)

JmikolaInsecureRoutesBundle
===========================

[](#jmikolainsecureroutesbundle)

[![Build Status](https://camo.githubusercontent.com/e529a02f6a64b6fcc5f12ebbba0e89ad2a33e8f9eef56f08594c0323308154eb/68747470733a2f2f7472617669732d63692e6f72672f6a6d696b6f6c612f4a6d696b6f6c61496e736563757265526f7574657342756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/jmikola/JmikolaInsecureRoutesBundle)

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.

You probabably should not use this bundle in your `prod` environment.

Compatibility
-------------

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

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

Installation
------------

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

```
# app/AppKernel.php

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

Configuration
-------------

[](#configuration)

There are no configuration options. Symfony2 will load the bundle's dependency injection extension automatically.

The extension will create a service that [composes](http://en.wikipedia.org/wiki/Object_composition) 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.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~39 days

Total

3

Last Release

4799d ago

Major Versions

v2.0.0 → v3.0.02013-02-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/49096f4052ca788ddf49c82e835125294f460f155885aa3e1ada8c3ff4f4a648?d=identicon)[jmikola](/maintainers/jmikola)

---

Top Contributors

[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (24 commits)")

---

Tags

httpsroutessecurityrouting

### Embed Badge

![Health badge](/badges/jmikola-insecure-routes-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jmikola-insecure-routes-bundle/health.svg)](https://phpackages.com/packages/jmikola-insecure-routes-bundle)
```

PHPackages © 2026

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