PHPackages                             ekreative/redmine\_login - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ekreative/redmine\_login

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

ekreative/redmine\_login
========================

Login to symfony using redmine as user provider

3.8.2(7y ago)36566[1 issues](https://github.com/ekreative/redmine-login/issues)MITPHPPHP &gt;=7.1

Since Jun 27Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ekreative/redmine-login)[ Packagist](https://packagist.org/packages/ekreative/redmine_login)[ RSS](/packages/ekreative-redmine-login/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (24)Used By (0)

Redmine Login
=============

[](#redmine-login)

[![Latest Stable Version](https://camo.githubusercontent.com/859e63ed23d1f3ff1c0fcad261013a8e44f894d49662dce2fab08aeb4c0502da/68747470733a2f2f706f7365722e707567782e6f72672f656b726561746976652f7265646d696e655f6c6f67696e2f762f737461626c652e706e67)](https://packagist.org/packages/ekreative/redmine_login)[![License](https://camo.githubusercontent.com/8789394c763eda33a93a644a12eda7bba14f7bf4959419a859361c49f8105d4a/68747470733a2f2f706f7365722e707567782e6f72672f656b726561746976652f7265646d696e655f6c6f67696e2f6c6963656e73652e706e67)](https://packagist.org/packages/ekreative/redmine_login)[![Build Status](https://camo.githubusercontent.com/91077760f48676f25af5c648c85a358d562bf60f7c0ccd8653ded4514ecf592c/68747470733a2f2f7472617669732d63692e6f72672f656b726561746976652f7265646d696e652d6c6f67696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ekreative/redmine-login)[![SensioLabsInsight](https://camo.githubusercontent.com/7cbaf3ccaeb7eb88132bda29fa01dd7ec5e3f57b1e7151f8bd0710378c3375a5/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62323464323331642d653639362d343465332d393264352d3365386535393830646330342f6d696e692e706e67)](https://insight.sensiolabs.com/projects/b24d231d-e696-44e3-92d5-3e8e5980dc04)[![Coverage Status](https://camo.githubusercontent.com/6d18518db4119ab14a95df59654da88560c0e1d4daa7ce55942f692204cbdb7a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f656b726561746976652f7265646d696e652d6c6f67696e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/ekreative/redmine-login?branch=master)

Install
-------

[](#install)

```
composer require ekreative/redmine_login

```

Kernel
------

[](#kernel)

```
new Ekreative\RedmineLoginBundle\EkreativeRedmineLoginBundle()

```

Parameters
----------

[](#parameters)

```
parameters:
    redmine: 'http://www.redmine.org'

```

Config
------

[](#config)

```
ekreative_redmine_login:
    redmine: %redmine%

```

Routing
-------

[](#routing)

```
ekreative_redmine_login:
    resource: "@EkreativeRedmineLoginBundle/Resources/config/routing.yml"

```

Security
--------

[](#security)

```
security:

    providers:
        webservice:
            id: ekreative_redmine_login.provider

    firewalls:
        unsec:
            pattern: ^/login$
            security: false

        secured_area:
            pattern: ^/
            anonymous:
            simple_form:
                authenticator: ekreative_redmine_login.authenticator
                check_path:    login_check
                login_path:    login
                username_parameter: login[username]
                password_parameter: login[password]
            simple_preauth:
                authenticator: ekreative_redmine_login.api_authenticator
            logout:
                path: /logout

    access_control:
        - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/, roles: ROLE_REDMINE }

```

Security
--------

[](#security-1)

You can secure your own routes using two roles

- ROLE\_REDMINE
- ROLE\_REDMINE\_ADMIN

Make Request
------------

[](#make-request)

```
$projects = json_decode($this->get('ekreative_redmine_login.client_provider')->get($this->getUser())->get('projects.json')->getBody(), true)['projects']

```

Login as api user
-----------------

[](#login-as-api-user)

```
POST /login HTTP/1.1
Content-Type: application/json

{
    "login": {
        "username": "username",
        "password": "password"
    }
}

```

Response

```
200 OK

{
  "user": {
    "id": 1,
    "username": "username",
    "firstName": "Name",
    "lastName": "Last",
    "email": "user@domin.com",
    "createdAt": "2000-01-01T00:00:00+00:00",
    "lastLoginAt": "2000-01-01T00:00:00+00:00",
    "apiKey": "your_api_key",
    "status": 1
  }
}

```

Logged in:

```
GET /admin HTTP/1.1
Host: 127.0.0.1:8000
X-API-Key: your_api_key

```

Custom user class
-----------------

[](#custom-user-class)

If you want to use a custom user class then its very easy! There are two ways

- Either override the parameter `ekreative_redmine_login.user.class` with the name of your own class that extends `RedmineUser`.
- Or override the service `ekreative_redmine_login.user_factory` with a service that implements `RedmineUserFactoryInterface`. You will want to do this if you are using Doctrine.

`RedmineUser` contains all the annotations for use with Doctrine, so its super simple to store users in the database.

### Api Doc

[](#api-doc)

If you want the api doc to be listed then use [NelmioApiDocBundle](https://github.com/nelmio/NelmioApiDocBundle/blob/master/Resources/doc/index.md)

#### Kernel

[](#kernel-1)

```
new Nelmio\ApiDocBundle\NelmioApiDocBundle()

```

#### Routing

[](#routing-1)

```
NelmioApiDocBundle:
    resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
    prefix:   /api/doc

```

#### Security

[](#security-2)

Replace the standard `unsec`

```
unsec:
    pattern: ^/(login$|api/doc)
    security: false

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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

Recently: every ~141 days

Total

23

Last Release

2661d ago

Major Versions

1.0.0 → 2.0.02015-06-27

2.3.0 → 3.0.02015-09-11

PHP version history (4 changes)1.0.0PHP &gt;=5.3.9

2.0.0PHP &gt;=5.5

3.6.0PHP &gt;=5.6

3.8.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7039999f29a83140d61116032ec1684c752412e458ad1999e15eea2f8808498c?d=identicon)[mcfedr](/maintainers/mcfedr)

---

Top Contributors

[![mcfedr](https://avatars.githubusercontent.com/u/704356?v=4)](https://github.com/mcfedr "mcfedr (55 commits)")[![VaShu](https://avatars.githubusercontent.com/u/2881266?v=4)](https://github.com/VaShu "VaShu (4 commits)")[![alexgoncharcherkassy](https://avatars.githubusercontent.com/u/14754715?v=4)](https://github.com/alexgoncharcherkassy "alexgoncharcherkassy (3 commits)")[![smagolexandr](https://avatars.githubusercontent.com/u/17381289?v=4)](https://github.com/smagolexandr "smagolexandr (2 commits)")[![ahonymous](https://avatars.githubusercontent.com/u/4721334?v=4)](https://github.com/ahonymous "ahonymous (1 commits)")[![nonanerz](https://avatars.githubusercontent.com/u/19575167?v=4)](https://github.com/nonanerz "nonanerz (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ekreative-redmine-login/health.svg)

```
[![Health](https://phpackages.com/badges/ekreative-redmine-login/health.svg)](https://phpackages.com/packages/ekreative-redmine-login)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[klapaudius/oauth-server-bundle

Symfony(5.x to 8.x) OAuth Server Bundle

15547.3k2](/packages/klapaudius-oauth-server-bundle)[forumify/forumify-platform

121.8k11](/packages/forumify-forumify-platform)

PHPackages © 2026

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