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.1(2mo ago)0841MITPHPPHP &gt;=8.2CI passing

Since Oct 21Pushed 2mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (8)Versions (8)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

50

—

FairBetter than 95% of packages

Maintenance87

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

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

Recently: every ~830 days

Total

7

Last Release

62d 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 (5 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.\*

5.0.1PHP &gt;=8.2

### 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.5k190.0M2.6k](/packages/symfony-security-bundle)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k886.6M9.6k](/packages/symfony-http-kernel)[symfony/security-http

Symfony Security Component - HTTP Integration

1.7k181.7M440](/packages/symfony-security-http)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M418](/packages/easycorp-easyadmin-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k52.2M371](/packages/api-platform-core)[simplesamlphp/simplesamlphp

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

1.1k13.2M230](/packages/simplesamlphp-simplesamlphp)

PHPackages © 2026

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