PHPackages                             texthtml/cors-silex - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. texthtml/cors-silex

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

texthtml/cors-silex
===================

 Cross-site HTTP requests middleware for Silex

v1.1.0(10y ago)34.9k[1 PRs](https://github.com/texthtml/cors-silex/pulls)AGPL-3.0PHP

Since Jun 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/texthtml/cors-silex)[ Packagist](https://packagist.org/packages/texthtml/cors-silex)[ RSS](/packages/texthtml-cors-silex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

CORS-Silex
==========

[](#cors-silex)

Cross-site HTTP requests middleware for [Silex](http://silex.sensiolabs.org/)

[![Latest Stable Version](https://camo.githubusercontent.com/9e813cd08798d497defa61fc0203f5bc67e6e7bb6d42cb29d8322e113150fac6/68747470733a2f2f706f7365722e707567782e6f72672f7465787468746d6c2f636f72732d73696c65782f762f737461626c652e737667)](https://packagist.org/packages/texthtml/cors-silex)[![License](https://camo.githubusercontent.com/8413a5b691835af7aef9022c2538217dd23b09886013a2156870a9a933560840/68747470733a2f2f706f7365722e707567782e6f72672f7465787468746d6c2f636f72732d73696c65782f6c6963656e73652e737667)](https://packagist.org/packages/texthtml/cors-silex)[![Total Downloads](https://camo.githubusercontent.com/30cd0973b7b6e930566ebe97b0c943b9d00762d1c9bbd777f7219d19c27be00f/68747470733a2f2f706f7365722e707567782e6f72672f7465787468746d6c2f636f72732d73696c65782f646f776e6c6f6164732e737667)](https://packagist.org/packages/texthtml/cors-silex)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/aa61e0163d4daabbc68e1d6997636d9f38213e980b183bf158903e5dca9c91f4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7465787468746d6c2f636f72732d73696c65782f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/texthtml/cors-silex/?branch=master)

Module installation
-------------------

[](#module-installation)

In your project root folder

1. `composer require texthtml/cors-silex`
2. In your Silex container configuration, register the CORSMiddleware:

```
$app->register(new TH\Silex\CORS\CORSProvider);
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

2

Last Release

3840d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3943b5c35797d1ede53aaed3d6812e4cf5b2dba7619a00dc7a381480a7b3d330?d=identicon)[mathroc](/maintainers/mathroc)

---

Top Contributors

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

---

Tags

httpmiddlewarecorssilex

### Embed Badge

![Health badge](/badges/texthtml-cors-silex/health.svg)

```
[![Health](https://phpackages.com/badges/texthtml-cors-silex/health.svg)](https://phpackages.com/packages/texthtml-cors-silex)
```

###  Alternatives

[league/uri

URI manipulation library

1.1k206.4M277](/packages/league-uri)[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43417.4M104](/packages/kevinrob-guzzle-cache-middleware)[psr/http-server-middleware

Common interface for HTTP server-side middleware

18291.2M1.5k](/packages/psr-http-server-middleware)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[jdesrosiers/silex-cors-provider

A silex service provider that adds CORS services to silex

83892.3k10](/packages/jdesrosiers-silex-cors-provider)[tuupola/cors-middleware

PSR-7 and PSR-15 CORS middleware

1331.8M24](/packages/tuupola-cors-middleware)

PHPackages © 2026

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