spatie/laravel-cors
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| coka/cors-bundle | 0.87 | — | 1 | 2 | 1 | 33 | 0 | 0.0 | 17.2 | MIT | — | |
| barryvdh/laravel-cors | 0.86 | — | 6,238 | 6,301 | 606 | 108K | 37 | 30.0 | 20.4 | MIT | 4 years ago | |
| fruitcake/laravel-cors | 0.84 | 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,238 | 6,235 | 606 | 762K | 37 | 30.0 | 28.0 | MIT | 4 years ago | |
| fruitcake/php-cors | 0.84 | 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 | |
| dbstudios/php-rest | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 4.5 | — | — | 1 year ago | |
| dmp/rest-bundle | 0.83 | — | 0 | 0 | 0 | 7 | 0 | 18.6 | 15.6 | — | 3 months ago | |
| spatie/laravel-csp | 0.83 | Set Content Security Policy (CSP) headers in Laravel to control which scripts, styles, and resources can load and where they can send data. Helps prevent XSS and malicious third-party scripts. Includes report-only mode, nonces, and easy config. | 867 | 874 | 100 | 489K | 0 | 37.3 | 44.3 | MIT | 3 weeks ago | |
| alhames/apihelper | 0.83 | Laravel/PHP helper utilities for building API responses and common API tasks. Provides convenience methods for formatting output, handling errors, and streamlining controller/service code when creating REST-style endpoints. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| spatie/laravel-html | 0.83 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 827 | 840 | 102 | 359K | 0 | 29.1 | 40.5 | MIT | 4 months ago | |
| spatie/laravel-data | 0.83 | Create rich, typed data objects for Laravel that replace form requests and API transformers. Automatically map from requests, validate with inferred rules, transform to resources (with lazy/partial fields), and generate TypeScript definitions from the same source. | 1,774 | 1,778 | 285 | 2M | 4 | 46.2 | 53.0 | MIT | 2 months ago | |
| citizen63000/easy-api-core | 0.83 | — | 0 | 0 | 1 | 10 | 0 | 20.1 | 16.8 | MIT | 1 month ago | |
| spatie/laravel-varnish | 0.83 | 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 | 23.6 | 14.1 | MIT | 5 months ago | |
| spatie/laravel-health | 0.82 | Monitor your Laravel app’s health by registering checks (disk space, queues, cache, etc.). Set warning/fail thresholds and get notified via mail or Slack when something goes wrong, so you can catch issues early and keep services running smoothly. | 878 | 884 | 178 | 641K | 0 | 38.1 | 45.6 | MIT | 1 month ago | |
| dovstone/symfony-blog-admin-bundle-mongodb-based | 0.82 | — | 0 | 0 | — | 0 | — | 0.3 | — | — | — | |
| nelmio/cors-bundle | 0.82 | — | 1,926 | 1,942 | 105 | 2M | 8 | 33.0 | 47.4 | MIT | 6 months ago | |
| dacorp/extra-bundle | 0.82 | — | 3 | 3 | 2 | 0 | 0 | 0.1 | — | GPL-2.0 | — | |
| bulatronic/api-kit | 0.82 | — | 4 | 4 | 0 | 3 | 0 | 0.0 | 2.8 | MIT | — | |
| e-solving/page-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| spatie/laravel-eventsauce | 0.82 | Integrate EventSauce event sourcing into Laravel with migrations, models, and queued jobs. Generate aggregate roots, repositories, events and commands via Artisan. Store domain messages per aggregate and dispatch consumers synchronously or through queues. | 121 | 121 | 15 | 296 | 0 | 3.5 | 7.4 | MIT | 5 years ago | |
| willdurand/rest-extra-bundle | 0.82 | — | 95 | 96 | 17 | 1K | 1 | 1.6 | 11.2 | — | 7 years ago |
How can I help you explore Laravel packages today?