PHPackages                             bazalt/auth - 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. bazalt/auth

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

bazalt/auth
===========

11.0k6PHP

Since Sep 11Pushed 11y ago2 watchersCompare

[ Source](https://github.com/esvit/bazalt-auth)[ Packagist](https://packagist.org/packages/bazalt/auth)[ RSS](/packages/bazalt-auth/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

bazalt-auth
===========

[](#bazalt-auth)

[![Build Status](https://camo.githubusercontent.com/0a48f821c98ea3d548f3ea13da4eecfd3ff3d8f8c9a1ceb182227bd6bd7cbb40/68747470733a2f2f7472617669732d63692e6f72672f65737669742f62617a616c742d617574682e706e67)](https://travis-ci.org/esvit/bazalt-auth) [![Coverage Status](https://camo.githubusercontent.com/c6268816085fa5f89d96d5546e6084997ea7ea9f118cd4700722d2270e40583a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f65737669742f62617a616c742d617574682f62616467652e706e67)](https://coveralls.io/r/esvit/bazalt-auth)

```
// Security configuration
$config = \Bazalt\Config::container();
$config['jwt.key'] = 'key';
```

GET /auth/session
-----------------

[](#get-authsession)

Return current logined user

POST /auth/session
------------------

[](#post-authsession)

Login user

DELETE /auth/session
--------------------

[](#delete-authsession)

Logout user

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/53fadedc1d3ea24072a5aa9c51ba3dfb9d3a2bf54c87314bba9d3981899f49a6?d=identicon)[esvit](/maintainers/esvit)

---

Top Contributors

[![esvit](https://avatars.githubusercontent.com/u/1222467?v=4)](https://github.com/esvit "esvit (67 commits)")[![aslubsky](https://avatars.githubusercontent.com/u/631669?v=4)](https://github.com/aslubsky "aslubsky (39 commits)")

### Embed Badge

![Health badge](/badges/bazalt-auth/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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