fruitcake/php-cors
Standalone PHP CORS library and Symfony HttpFoundation middleware implementing the W3C CORS spec. Configure allowed origins, methods, headers, exposed headers, and max-age; supports regex origin patterns. Used by Stack and Laravel integrations.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| coka/cors-bundle | 0.88 | — | 1 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| fruitcake/laravel-cors | 0.87 | Laravel middleware to handle Cross-Origin Resource Sharing (CORS). Configure allowed origins, methods, headers, credentials, and exposed headers via a config file. Adds proper CORS response headers and supports preflight OPTIONS requests for APIs and SPAs. | 6,224 | 6,235 | 601 | 867K | 37 | 30.0 | 28.5 | MIT | 4 years ago | |
| spatie/laravel-cors | 0.87 | Adds configurable CORS support to Laravel/Lumen: sets CORS headers on responses, handles preflight requests, and lets you define allowed origins, methods, headers, and credentials via middleware and config. Abandoned since Laravel 7+ has native CORS support. | 595 | 613 | 56 | 4K | 0 | 6.2 | 8.6 | MIT | 5 years ago | |
| medz/cors | 0.87 | CORS middleware for Laravel that adds configurable Cross-Origin Resource Sharing headers, handles preflight OPTIONS requests, and supports allowed origins, methods, headers, credentials, and max-age settings. Easy to register and customize for APIs and web apps. | 273 | 274 | 23 | 423 | 2 | 1.4 | 3.9 | MIT | 6 years ago | |
| neomerx/cors-psr7 | 0.86 | PSR-7 CORS implementation for PHP that parses requests and generates standards-compliant Cross-Origin Resource Sharing headers. Supports preflight and actual requests, configurable origins, methods, headers, credentials, and max age for easy middleware integration. | 67 | 69 | 20 | 55K | 2 | 1.6 | 41.2 | Apache-2.0 | 3 years ago | |
| benkle/auto-preflight-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| wernerdweight/cors-bundle | 0.86 | A Symfony bundle for adding Cross-Origin Resource Sharing (CORS) support to PHP applications. It helps configure allowed origins, headers, and methods so browsers can securely call your APIs and web endpoints, with setup handled through standard Symfony bundle configuration. | 2 | 2 | 0 | 10 | 0 | 0.2 | 8.8 | MIT | 3 years ago | |
| barryvdh/laravel-cors | 0.86 | — | 6,224 | 6,301 | 601 | 133K | 37 | 30.0 | 21.2 | MIT | 4 years ago | |
| asm89/stack-cors | 0.85 | Stack CORS is a middleware for StackPHP and Symfony HttpKernel apps that adds Cross-Origin Resource Sharing headers, handles preflight OPTIONS requests, and offers configurable origins, methods, headers, and credentials. Widely used and easy to integrate. | 1,271 | 1,276 | 61 | 2M | 1 | 13.3 | 47.0 | MIT | 9 months ago | |
| tenantcloud/laravel-cors | 0.84 | A Laravel package for handling Cross-Origin Resource Sharing (CORS). It provides middleware and configuration to control allowed origins, methods, headers, and credentials, helping APIs respond safely to browser preflight and cross-origin requests. | 1 | — | 1 | — | 0 | 0.3 | — | MIT | 1 year ago | |
| nelmio/cors-bundle | 0.83 | — | 1,926 | 1,942 | 102 | 2M | 8 | 27.8 | 45.8 | MIT | 9 months ago |
How can I help you explore Laravel packages today?