PHPackages                             quioteframework/cors - 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. [Security](/categories/security)
4. /
5. quioteframework/cors

ActiveLibrary[Security](/categories/security)

quioteframework/cors
====================

CORS middleware (preflight handling + response headers) for Quiote.

v2.0.1(today)04↑2900%MITPHPPHP &gt;=8.5.0

Since Jul 28Pushed todayCompare

[ Source](https://github.com/quioteframework/cors)[ Packagist](https://packagist.org/packages/quioteframework/cors)[ Docs](https://github.com/quioteframework/cors)[ RSS](/packages/quioteframework-cors/feed)WikiDiscussions main Synced today

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

quioteframework/cors
====================

[](#quioteframeworkcors)

CORS (Cross-Origin Resource Sharing) middleware for [Quiote](https://github.com/quioteframework/quiote).

Install
-------

[](#install)

```
composer require quioteframework/cors

```

Enable
------

[](#enable)

Set `cors.enabled` to `true` in your app's settings, plus `cors.allowed_origins`(a list of origins, or `["*"]`). All other keys have sane defaults:

- `cors.allowed_origins` — list of allowed origins, or `["*"]` (default: `[]`, i.e. nothing allowed)
- `cors.allowed_methods` — default `GET, POST, PUT, PATCH, DELETE, OPTIONS`
- `cors.allowed_headers` — default: echoes the preflight's `Access-Control-Request-Headers`
- `cors.exposed_headers` — default: none
- `cors.allow_credentials` — default `false`
- `cors.max_age` — preflight cache duration in seconds, default `0` (no caching)

Requests without an `Origin` header pass through untouched. Preflight (`OPTIONS` with `Access-Control-Request-Method`) requests are answered directly with a 204 and never reach the action.

License
-------

[](#license)

MIT. See [LICENSE](LICENSE).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance100

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb797c6fce78d07eb743846f7940d790f425831024c283cdfed7dd02d9bcac69?d=identicon)[markus\_saakeli](/maintainers/markus_saakeli)

---

Top Contributors

[![horros](https://avatars.githubusercontent.com/u/464166?v=4)](https://github.com/horros "horros (2 commits)")

---

Tags

securitycorsquiote

### Embed Badge

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

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k465.6M1.6k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k175.2M258](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M144](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41184.3M159](/packages/robrichards-xmlseclibs)[voku/anti-xss

anti xss-library

72817.9M98](/packages/voku-anti-xss)[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

86611.1M25](/packages/spatie-laravel-csp)

PHPackages © 2026

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