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 | 13M | 2 | 11.4 | 58.7 | MIT | 9 months ago | |
| barryvdh/laravel-cors | 0.86 | — | 6,235 | 6,301 | 604 | 107K | 37 | 30.0 | 20.4 | MIT | 4 years ago | |
| spatie/laravel-cors | 0.84 | 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. | 596 | 613 | 56 | 4K | 0 | 6.2 | 8.4 | MIT | 5 years ago | |
| coka/cors-bundle | 0.83 | — | 1 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| 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 | 674K | 0 | 15.5 | 60.3 | MIT | 6 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,625 | 8,698 | 306 | 18M | 0 | 69.0 | 53.8 | MIT | 4 weeks ago | |
| laravel/laravel | 0.65 | Laravel is a PHP web application framework with expressive syntax and batteries-included tooling: fast routing, DI container, Eloquent ORM, migrations, queues, caching/sessions, and real-time broadcasting—built to scale from small apps to large systems. | 84,880 | 85,549 | 24,890 | 659K | 0 | 72.6 | 15.3 | — | 3 weeks ago | |
| spatie/laravel-varnish | 0.63 | Integrate Varnish 4/5 with Laravel: add middleware to force-cache selected routes and flush/purge the Varnish cache from within your app. Includes simple configuration and supports Laravel and Lumen. | 417 | 417 | 45 | 3K | 0 | 21.2 | 13.1 | MIT | 7 months ago | |
| spatie/laravel-blade-javascript | 0.62 | Adds a simple @javascript Blade directive to export PHP values to JavaScript by writing them to window in a script tag. Use @javascript('key','value') and access it in the browser as key/value for quick server-to-client data sharing. | 619 | 632 | 36 | 19K | 0 | 22.6 | 22.4 | MIT | 7 months ago |
How can I help you explore Laravel packages today?