PHPackages                             keiii/silex-apikey-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. keiii/silex-apikey-auth

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

keiii/silex-apikey-auth
=======================

Apikey auth for Silex

31681PHP

Since May 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/KEIII/ApikeyAuthServiceProvider)[ Packagist](https://packagist.org/packages/keiii/silex-apikey-auth)[ RSS](/packages/keiii-silex-apikey-auth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ApikeyAuthServiceProvider
=========================

[](#apikeyauthserviceprovider)

[![Build Status](https://camo.githubusercontent.com/2a4edfa11383859c71742441e0222aa435b216e01251efc091dfa7929d63da2f/68747470733a2f2f7472617669732d63692e6f72672f4b454949492f4170696b6579417574685365727669636550726f76696465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/KEIII/ApikeyAuthServiceProvider)

By default it accept *x-access-token* header.

Install
-------

[](#install)

```
composer require keiii/silex-apikey-auth
```

Registering
-----------

[](#registering)

```
$app->register(new \KEIII\SilexApikeyAuth\ApikeyAuthServiceProvider(), [
    'security.firewalls' => [
        'api' => [
            'pattern' => '^/api',
            'apikey' => true,
            'users' => $app['user_provider'],
            // ...
        ],
    ],
    // ...
]);
```

Parameters
----------

[](#parameters)

- **users**: Instance of \\KEIII\\SilexApikeyAuth\\Interfaces\\ApikeyUserProviderInterface.
- **anonymous** (optional): .
- **extractor** (optional): Instance of \\KEIII\\SilexApikeyAuth\\Interfaces\\ApikeyExtractorInterface.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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/61239ce14aa743856ffa3aa07426cb7f37bf777ae2cc501c0382d8faa03f3322?d=identicon)[KEIII](/maintainers/KEIII)

---

Top Contributors

[![KEIII](https://avatars.githubusercontent.com/u/1167833?v=4)](https://github.com/KEIII "KEIII (2 commits)")[![alexandr-san4ez](https://avatars.githubusercontent.com/u/20110612?v=4)](https://github.com/alexandr-san4ez "alexandr-san4ez (1 commits)")

---

Tags

jwtjwt-apijwt-authenticationphpsilexsilex-provider

### Embed Badge

![Health badge](/badges/keiii-silex-apikey-auth/health.svg)

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

###  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)
