PHPackages                             phpnexus/cors-laravel - 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. phpnexus/cors-laravel

ActiveLibrary

phpnexus/cors-laravel
=====================

Provides a lightweight CORS middleware for Laravel/Lumen.

19PHP

Since May 13Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

CORS-Laravel
============

[](#cors-laravel)

[![Latest Version](https://camo.githubusercontent.com/c0258b82f5c5e3dd9fdf72a8f256f0ae3c05e9aa15fff7a52f750d176d44e1fa/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068706e657875732f636f72732d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpnexus/cors-laravel/releases)[![Build Status](https://camo.githubusercontent.com/a2c72b3fa72c63561b24f6e95efd6710ef0cc63ee6273bc03a6a7ac398998f48/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068706e657875732f636f72732d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/phpnexus/cors-laravel)[![Software License](https://camo.githubusercontent.com/effa8235d7eba5e273e8712a2c110b76565138e21b71cdd10ea6082613f07943/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4170616368655f322e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Provides CORS middleware for Laravel/Lumen.

Installation
------------

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install CORS-Laravel:

```
$ composer require phpnexus/cors-laravel
```

This package requires PHP 5.5.9 or newer.

Usage
-----

[](#usage)

TODO

Configuration
-------------

[](#configuration)

Please see [`phpnexus\cors`](https://github.com/phpnexus/cors) documentation for configuration options.

Versioning
----------

[](#versioning)

The packages adheres to the [SemVer](http://semver.org/) specification, and there will be full backward compatibility between minor versions.

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

[](#contributing)

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

License
-------

[](#license)

This package is released under the Apache 2.0 License. See the bundled [LICENSE](https://github.com/phpnexus/cors/blob/master/LICENSE) file for details.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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/3fd086657d547f6bf3353c72fbfc7be23b714cb00dbefde6f79a45a4b146ea61?d=identicon)[markinjapan](/maintainers/markinjapan)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/phpnexus-cors-laravel/health.svg)

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

PHPackages © 2026

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