fruitcake/laravel-cors
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fruitcake/php-cors | 0.88 | 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. | 316 | 322 | 20 | 11M | 2 | 13.7 | 59.8 | MIT | 7 months ago | |
| barryvdh/laravel-cors | 0.86 | — | 6,238 | 6,301 | 606 | 108K | 37 | 30.0 | 20.4 | MIT | 4 years ago | |
| coka/cors-bundle | 0.83 | — | 1 | 2 | 1 | 33 | 0 | 0.0 | 17.2 | MIT | — | |
| spatie/laravel-cors | 0.83 | 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. | 597 | 613 | 57 | 3K | 0 | 6.2 | 7.6 | MIT | 5 years ago | |
| dbstudios/php-rest | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 4.5 | — | — | 1 year ago | |
| laragraph/utils | 0.82 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 22 | 22 | 8 | 562K | 0 | 17.6 | 61.3 | MIT | 4 months ago | |
| symfony/http-foundation | 0.81 | Symfony HttpFoundation provides an object-oriented API for HTTP: requests, responses, headers, cookies, sessions, and file uploads. It normalizes PHP’s globals into consistent objects, making it easier to build and test web applications and middleware. | 8,630 | 8,707 | 307 | 16M | 0 | 65.8 | 52.8 | MIT | 3 weeks ago | |
| laravel/framework | 0.70 | Laravel’s core framework code for building modern PHP web apps with elegant syntax. Includes fast routing, a powerful DI container, sessions and caching, database migrations, queues for jobs, and real-time event broadcasting. | 34,798 | 35,286 | 11,914 | 12M | 57 | 94.8 | 71.5 | MIT | 1 week ago | |
| nwidart/laravel-modules | 0.69 | Modularize large Laravel apps with nwidart/laravel-modules. Create self-contained modules (controllers, models, views, routes, config) with Artisan generators, module discovery, enabling/disabling, and per-module resources—tested and maintained across modern Laravel versions. | 6,177 | 6,212 | 1,022 | 559K | 13 | 67.2 | 36.5 | MIT | 4 months ago |
How can I help you explore Laravel packages today?