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. | 0 | 320 | — | 10M | — | 16.0 | 60.9 | — | — | |
| barryvdh/laravel-cors | 0.86 | — | 6,243 | 6,301 | 609 | 119K | 37 | 30.0 | 20.8 | MIT | 4 years ago | |
| coka/cors-bundle | 0.83 | — | 0 | 2 | — | 9 | — | 0.0 | 10.2 | — | — | |
| 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 | 56 | 5K | 0 | 6.2 | 9.4 | MIT | 4 years ago | |
| dbstudios/php-rest | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 4.5 | — | — | 1 year ago | |
| zenstruck/browser | 0.82 | A Laravel-friendly browser testing toolkit built on Symfony BrowserKit and Panther. Easily crawl pages, click links, submit forms, assert on HTML, and drive real headless browsers—great for end-to-end tests and fluent, expressive UI assertions. | 227 | 227 | 25 | 106K | 34 | 41.9 | 58.7 | MIT | 1 week 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. | 21 | 21 | 8 | 555K | 0 | 20.2 | 62.6 | MIT | 3 months ago | |
| laravel/framework | 0.70 | Laravel Framework core provides an elegant PHP foundation for building web apps: fast routing, powerful service container, sessions/caching, database migrations, queues, and real-time broadcasting—tools that scale from small projects to large applications. | 34,735 | 35,215 | 11,892 | 10M | 58 | 94.9 | 70.8 | 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,150 | 6,172 | 1,019 | 486K | 13 | 70.1 | 36.3 | MIT | 2 months ago | |
| webmaster-hm/lern81 | 0.69 | — | 0 | 0 | 0 | 17 | 0 | 20.6 | 19.9 | MIT | 1 month 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. | 0 | 418 | — | 3K | — | 25.2 | 13.7 | — | — | |
| 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. | 624 | 635 | 37 | 17K | 0 | 27.2 | 22.4 | MIT | 3 months ago |
How can I help you explore Laravel packages today?