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 | — | 0 | 2 | — | 9 | — | 0.0 | 10.2 | — | — | |
| barryvdh/laravel-cors | 0.86 | — | 6,243 | 6,301 | 609 | 119K | 37 | 30.0 | 20.8 | 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,243 | 6,235 | 609 | 780K | 37 | 30.0 | 28.1 | 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. | 0 | 320 | — | 10M | — | 16.0 | 60.9 | — | — | |
| dbstudios/php-rest | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 4.5 | — | — | 1 year ago | |
| dmp/rest-bundle | 0.83 | — | 0 | 0 | 0 | 15 | 0 | 20.4 | 19.1 | — | 1 month 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.0 | — | MIT | 9 years ago | |
| citizen63000/easy-api-core | 0.83 | — | 0 | 0 | 1 | 5 | 0 | 6.1 | 11.2 | MIT | 9 months ago | |
| dovstone/symfony-blog-admin-bundle-mongodb-based | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| nelmio/cors-bundle | 0.82 | — | 1,927 | 1,941 | 105 | 2M | 8 | 35.5 | 48.6 | MIT | 4 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 | 0 | 0 | 0.0 | — | MIT | — | |
| e-solving/page-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| willdurand/rest-extra-bundle | 0.82 | — | 95 | 96 | 17 | 1K | 1 | 1.6 | 11.2 | — | 7 years ago | |
| spatie/laravel-littlegatekeeper | 0.81 | Laravel middleware to password-protect your app with a single, universal username/password set in config. Quickly gate staging, previews, or temporary launches without building a full auth system; publish config and enable the provider to lock down pages. | 191 | 193 | 19 | 1K | 0 | 19.8 | 13.7 | MIT | 3 months ago | |
| binsoul/symfony-bundle-doctrine | 0.81 | — | 0 | 0 | — | 2 | — | 0.0 | 6.6 | — | — | |
| coka/api-bundle | 0.81 | — | 2 | 3 | 1 | 0 | 0 | 0.3 | — | MIT | 7 years ago | |
| contao/maintenance-bundle-deprecated | 0.81 | — | 0 | 0 | 4 | 2K | 0 | 0.1 | 46.9 | MIT | — | |
| amare53/helper-bundle | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 4 years ago | |
| beloop/squarespace | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 1.7 | — | — | 6 years ago |
How can I help you explore Laravel packages today?