PHPackages                             mrprompt/silex-authorization-header-provider - 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. mrprompt/silex-authorization-header-provider

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

mrprompt/silex-authorization-header-provider
============================================

A simple Authorization Header Reader Provider to Silex Rest APIs

21.0k2PHP

Since Oct 21Pushed 9y agoCompare

[ Source](https://github.com/mrprompt/Silex-Header)[ Packagist](https://packagist.org/packages/mrprompt/silex-authorization-header-provider)[ RSS](/packages/mrprompt-silex-authorization-header-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Silex Authorization Header Provider
===================================

[](#silex-authorization-header-provider)

[![Build Status](https://camo.githubusercontent.com/3a6f2c7cb836b11297a32e00aa7451685c8cde9f8448898c7c4ee37783696f29/68747470733a2f2f7472617669732d63692e6f72672f53696c6578467269656e64732f4865616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SilexFriends/Header)[![Code Climate](https://camo.githubusercontent.com/544170e147de1c81433ceab9f57e0da671d533ec84e5f4ab109481dbe60daf0e/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f4865616465722f6261646765732f6770612e737667)](https://codeclimate.com/github/SilexFriends/Header)[![Test Coverage](https://camo.githubusercontent.com/b5a8013e2fb09243d1672d76fedf403297d8c350356b1edc8bc323099acd2c45/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f4865616465722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/SilexFriends/Header/coverage)[![Issue Count](https://camo.githubusercontent.com/9ec8bc644d32ae25b04a86dbcc42e960b4c7899999253fe19c66a152a077d452/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f4865616465722f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/SilexFriends/Header)[![SensioLabsInsight](https://camo.githubusercontent.com/b0a304609d426dd070cd651272276ed6dcee46931526acaba0b79a463d423c82/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37623865643066632d326635612d346536662d383466642d3033303433306133343832652f6d696e692e706e67)](https://insight.sensiolabs.com/projects/7b8ed0fc-2f5a-4e6f-84fd-030430a3482e)[![Dependency Status](https://camo.githubusercontent.com/94baba0256e4876d21337a28b5d53aa346e934b3994844291afec44cdadc0e39/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535646464653635323338336539303032353030303036642f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/55ddde652383e9002500006d)[![Codacy Badge](https://camo.githubusercontent.com/37db4413259f16e6c4c27963151080a1c86401af1e4bbe04240e672465c71fa4/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f67726164652f3039333566333633316232353431353139623631396632663133366536633833)](https://www.codacy.com/app/mrprompt/silex-authorization-header-provider)

Get the "Authorization" key from header.

Install
-------

[](#install)

```
composer require mrprompt/silex-authorization-header-provider

```

Usage
-----

[](#usage)

```
use SilexFriends\Header\Header as HeaderServiceProvider;

$token = $app[HeaderServiceProvider::HTTP_HEADER_GET_TOKEN]($request);

print_r($token);

```

Testing
-------

[](#testing)

Just run *phpunit* without parameters

```
phpunit

```

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/9d08744966e0d5783569605da853ef945dadac0be0f613f2eba6a052861d937a?d=identicon)[mrprompt](/maintainers/mrprompt)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mrprompt-silex-authorization-header-provider/health.svg)

```
[![Health](https://phpackages.com/badges/mrprompt-silex-authorization-header-provider/health.svg)](https://phpackages.com/packages/mrprompt-silex-authorization-header-provider)
```

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