PHPackages                             kdubuc/scaleway-container-auth-psr15 - 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. kdubuc/scaleway-container-auth-psr15

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

kdubuc/scaleway-container-auth-psr15
====================================

PSR15 Scaleway Container Authentication Middleware

0191PHP

Since Nov 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kdubuc/scaleway-container-auth-psr15)[ Packagist](https://packagist.org/packages/kdubuc/scaleway-container-auth-psr15)[ RSS](/packages/kdubuc-scaleway-container-auth-psr15/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Scaleway Container Authentication PSR-15 Middleware
===================================================

[](#scaleway-container-authentication-psr-15-middleware)

> Deprecation notice : Scaleway Container Authentication has been deprecated because the authorization process is built-in now.

Private Scaleway Containers allows you to restrict access to them which prevents unauthorized access. Contrary to private functions where the authorization process is built-in, it needs to be configured inside the container. (see )

This PSR15 Middleware provide runtime token validation to manage authentication access to the Scaleway Container.

Install
-------

[](#install)

Via Composer

```
$ composer require kdubuc/scaleway-container-auth-psr15
```

Usage
-----

[](#usage)

```
$middleware =  new ScalewayContainerAuthMiddleware([
    'auth_header_name'  => 'Scaleway-Auth-Token', // header which containing auth token (default : Scaleway-Auth-Token)
    'auth_header_regex' => ScalewayContainerAuthMiddleware::JWT_REGEX, // regex to catch token in header (default : [jwt])
    'env' => [], // to override environment variables (for testing purpose)
]);
```

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit tests/
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Kévin DUBUC](https://github.com/kdubuc)
- [All Contributors](https://github.com/kdubuc/query-string-parser/graphs/contributors)

License
-------

[](#license)

The CeCILL-B License. Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/28f3584f827147e98199dbdd7fd524a17831006792f6c0fac136b5d591d0d6bf?d=identicon)[kdubuc](/maintainers/kdubuc)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/kdubuc-scaleway-container-auth-psr15/health.svg)

```
[![Health](https://phpackages.com/badges/kdubuc-scaleway-container-auth-psr15/health.svg)](https://phpackages.com/packages/kdubuc-scaleway-container-auth-psr15)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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