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

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

mrprompt/silex-cors-provider
============================

A simple CORS provider to Silex Rest APIs based.

11.4k3[1 issues](https://github.com/mrprompt/Silex-CORS/issues)PHP

Since Jul 8Pushed 9y agoCompare

[ Source](https://github.com/mrprompt/Silex-CORS)[ Packagist](https://packagist.org/packages/mrprompt/silex-cors-provider)[ RSS](/packages/mrprompt-silex-cors-provider/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Silex CORS Provider
===================

[](#silex-cors-provider)

[![Build Status](https://camo.githubusercontent.com/6362062ac5830f3029c0b875f75a3b5b5ddb618fb2a0e5fc716f46ea3bdbd062/68747470733a2f2f7472617669732d63692e6f72672f53696c6578467269656e64732f434f52532e706e67)](https://travis-ci.org/SilexFriends/CORS)[![Code Climate](https://camo.githubusercontent.com/0eec92ecf6dcc9f2828ae5f2230238fa419c3675ee8fbfc68453fad48fb5bc5a/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f434f52532f6261646765732f6770612e737667)](https://codeclimate.com/github/SilexFriends/CORS)[![Test Coverage](https://camo.githubusercontent.com/9ac91c21b78ba624767527c2f6792322917eb1d1feed582539c58c81ee5f82bf/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f434f52532f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/SilexFriends/CORS/coverage)[![Issue Count](https://camo.githubusercontent.com/96f34dc4f475584aa10e587b99f104f43b4ca475cb1d62581e3305c61dc4bd08/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53696c6578467269656e64732f434f52532f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/SilexFriends/CORS)[![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/0646fe3be7a23c87da808c832bf3b968d0a1cb1ef2902aa261252bdee63dd0a3/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f67726164652f3836643136376633613134323431363238336639663636323430646332663266)](https://www.codacy.com/app/mrprompt/silex-cors-provider)

Install
=======

[](#install)

```
composer require mrprompt/silex-cors-provider

```

Use
===

[](#use)

```
use SilexFriends\Cors\Cors as CorsServiceProvider;

...

$app->register(new CorsServiceProvider());

```

Testing
-------

[](#testing)

Just run *phpunit* without parameters

```
phpunit

```

#### LICENSE

[](#license)

MIT

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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 (16 commits)")

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M7.0k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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