PHPackages                             golem/auth-storage-symfony - 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. golem/auth-storage-symfony

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

golem/auth-storage-symfony
==========================

Symfony Session storage adapter for Golem Auth

5.0.0(3y ago)0831MITPHPPHP 7.4.\*|8.\*CI passing

Since Oct 21Pushed 2w ago1 watchersCompare

[ Source](https://github.com/spekkionu/golem-auth-storage-symfony)[ Packagist](https://packagist.org/packages/golem/auth-storage-symfony)[ RSS](/packages/golem-auth-storage-symfony/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (4)Versions (7)Used By (1)

Golem Auth
==========

[](#golem-auth)

[![Latest Stable Version](https://camo.githubusercontent.com/ca6e7e36c47bf6b48d53744e02afa2379c7975d6afe6893ba161f6fb7e77671f/68747470733a2f2f706f7365722e707567782e6f72672f676f6c656d2f617574682d73746f726167652d73796d666f6e792f762f737461626c652e706e67)](https://packagist.org/packages/golem/auth-storage-symfony)[![Build Status](https://camo.githubusercontent.com/e3d6281df8636daef92bb0ee7d26428219e7241e12b001043851a6d2abb81e28/68747470733a2f2f7472617669732d63692e6f72672f7370656b6b696f6e752f676f6c656d2d617574682d73746f726167652d73796d666f6e792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/spekkionu/golem-auth-storage-symfony)[![Code Coverage](https://camo.githubusercontent.com/dd4a1bb06b104d8f7c26a6d891aa909dae8e5a8dc8bbb1575794d48e0b59bfb3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7370656b6b696f6e752f676f6c656d2d617574682d73746f726167652d73796d666f6e792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/spekkionu/golem-auth-storage-symfony/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7bc7b6be76d2abeb58410c2f5d18b0552f4e672b6a5651654999e1618faf81c2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7370656b6b696f6e752f676f6c656d2d617574682d73746f726167652d73796d666f6e792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/spekkionu/golem-auth-storage-symfony/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/cc990c3002de25e4eb0c3fdeba54671ba5a234c0e3f6476289c053222bd3b718/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32366134333334652d653339622d343431642d383266312d3832326362383832333962322f6d696e692e706e67)](https://insight.sensiolabs.com/projects/26a4334e-e39b-441d-82f1-822cb88239b2)

Symfony Session storage adapter for Golem Auth

Install
-------

[](#install)

Via Composer

```
$ composer require golem/auth-storage-symfony
```

Usage
-----

[](#usage)

Follow the documentation on [Golem Auth](https://github.com/spekkionu/golem-auth) to create a user model and a user repository class.

```
use ;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler;

// configure the symfony session as usual
$session_storage = new NativeSessionStorage(array(), new NativeFileSessionHandler());
$session = new Session($session_storage);

$storage = new \Golem\Auth\Storage\SymfonySessionStorage($session);
// get an instance of your user repository however you need to
$userRepository = new UserRepository($database_connection);
$auth = new \Golem\Auth($storage, $userRepository);
```

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance63

Regular maintenance activity

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

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

Recently: every ~577 days

Total

6

Last Release

1230d ago

Major Versions

1.0.1 → 2.0.02017-05-08

2.0.0 → v3.0.02018-06-08

v3.0.0 → v4.0.02020-06-22

v4.0.0 → 5.0.02023-02-15

PHP version history (4 changes)1.0.0PHP ~5.6|~7.0

v3.0.0PHP &gt;=7.1

v4.0.0PHP &gt;=7.2

5.0.0PHP 7.4.\*|8.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/f47e67812cdd677cc4fd612e175bb651c2ae35e39d50c7592a815bf515cb12e5?d=identicon)[spekkionu](/maintainers/spekkionu)

---

Top Contributors

[![jonbernardi](https://avatars.githubusercontent.com/u/38191?v=4)](https://github.com/jonbernardi "jonbernardi (14 commits)")

---

Tags

authauthenticationgolem-authphp

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/golem-auth-storage-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/golem-auth-storage-symfony/health.svg)](https://phpackages.com/packages/golem-auth-storage-symfony)
```

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k181.3M2.2k](/packages/symfony-security-bundle)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k172.8M350](/packages/symfony-security-http)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k853.6M8.3k](/packages/symfony-http-kernel)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.8M212](/packages/simplesamlphp-simplesamlphp)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

585665.9k1](/packages/scheb-2fa)

PHPackages © 2026

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