medz/cors
CORS middleware for Laravel that adds configurable Cross-Origin Resource Sharing headers, handles preflight OPTIONS requests, and supports allowed origins, methods, headers, credentials, and max-age settings. Easy to register and customize for APIs and web apps.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| benkle/auto-preflight-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| middlewares/client-ip | 0.84 | A Laravel middleware for reliably resolving the client's real IP address, including requests passing through proxies, load balancers, and CDNs. Supports forwarded headers and configurable trusted proxies for accurate IP detection. | 16 | — | 8 | — | 1 | 0.4 | — | MIT | 1 year ago |
|
| irazasyed/larasupport | 0.83 | Larasupport brings Laravel-style conveniences to Lumen, adding missing helper functions, package service-provider registration, config publishing, and Artisan commands so Laravel packages and familiar workflows work smoothly in lightweight Lumen applications. | 127 | — | 17 | — | 0 | 1.5 | — | MIT | 6 years ago | |
| fruitcake/php-cors | 0.83 | 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. | 317 | 323 | 20 | 21M | 2 | 7.3 | 56.6 | MIT | 11 months ago | |
| wizards/rest-api | 0.83 | wizards/rest-api is a Laravel package for building RESTful APIs, offering a structured foundation for routes, controllers, and JSON responses so you can expose application data and resources with less boilerplate. | 3 | 3 | 3 | 18 | 1 | 0.2 | 10.2 | — | 5 years ago | |
| asm89/stack-cors | 0.83 | Stack CORS is a middleware for StackPHP and Symfony HttpKernel apps that adds Cross-Origin Resource Sharing headers, handles preflight OPTIONS requests, and offers configurable origins, methods, headers, and credentials. Widely used and easy to integrate. | 1,271 | 1,276 | 61 | 2M | 1 | 13.3 | 47.0 | MIT | 9 months ago | |
| fruitcake/laravel-cors | 0.83 | 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,224 | 6,235 | 601 | 867K | 37 | 30.0 | 28.5 | MIT | 4 years ago | |
| wernerdweight/cors-bundle | 0.82 | A Symfony bundle for adding Cross-Origin Resource Sharing (CORS) support to PHP applications. It helps configure allowed origins, headers, and methods so browsers can securely call your APIs and web endpoints, with setup handled through standard Symfony bundle configuration. | 2 | 2 | 0 | 10 | 0 | 0.2 | 8.8 | MIT | 3 years ago | |
| nelmio/cors-bundle | 0.82 | — | 1,926 | 1,942 | 102 | 2M | 8 | 27.8 | 45.8 | MIT | 9 months ago | |
| tenantcloud/laravel-cors | 0.82 | A Laravel package for handling Cross-Origin Resource Sharing (CORS). It provides middleware and configuration to control allowed origins, methods, headers, and credentials, helping APIs respond safely to browser preflight and cross-origin requests. | 1 | — | 1 | — | 0 | 0.3 | — | MIT | 1 year ago | |
| coka/cors-bundle | 0.82 | — | 1 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| laravel/lumen-installer | 0.82 | Official Laravel Lumen project installer. Provides the lumen command to quickly scaffold new Lumen applications, including recommended defaults and project structure. Install via Composer and run lumen new <app> to get started. | 77 | 76 | 26 | 326 | 0 | 0.6 | 7.1 | MIT | — | |
| http-interop/http-middleware | 0.82 | Interfaces for reusable PSR-7/PSR-15-style HTTP middleware components, enabling interoperability across frameworks and libraries. Define, compose, and share middleware pipelines with minimal coupling between request handlers and implementations. | 71 | 76 | 7 | 10K | 0 | 0.3 | 20.9 | MIT | — | |
| juststeveking/http-slim | 0.82 | A lightweight Laravel package for slimming HTTP responses, trimming unnecessary headers and overhead so your app returns leaner, cleaner, faster responses with minimal configuration. | 7 | 7 | 3 | 107 | 0 | 0.5 | 16.0 | MIT | 5 years ago | |
| laravel/lumen | 0.82 | Laravel Lumen is a fast PHP micro-framework for building web apps and APIs with elegant syntax. It includes routing, database abstraction, queues, and caching. Note: the Laravel team now recommends starting new projects with Laravel instead. | 7,556 | 7,698 | 961 | 4K | 0 | 20.2 | 1.8 | — | 3 years ago | |
| nahid/apiz | 0.82 | Nahid Apiz is a Laravel API package that speeds up REST API development with built-in versioning, response formatting, and resourceful controllers, so you can scaffold endpoints fast and keep consistent, clean JSON responses across your app. | 58 | — | 13 | — | 1 | 0.8 | — | MIT | 1 year ago |
|
| barryvdh/laravel-cors | 0.81 | — | 6,224 | 6,301 | 601 | 133K | 37 | 30.0 | 21.2 | MIT | 4 years ago | |
| friendsofsymfony/rest | 0.81 | FOSRestBundle provides tools for rapidly building RESTful APIs with Symfony, including format handling, view listeners, routing conventions, and request body decoding. It simplifies controller setup for JSON, XML, and other response formats while staying flexible and configurable. | 51 | 56 | 15 | 2K | 1 | 0.4 | 14.5 | — | 13 years ago | |
| innmind/rest-client | 0.81 | innmind/rest-client is a simple PHP REST client for consuming HTTP APIs. It offers a clean interface for building requests, handling responses, and integrating remote REST services into Laravel or plain PHP applications without boilerplate. | 2 | 3 | 0 | 1 | 0 | 0.0 | 1.2 | MIT | — | |
| psr/http-server-middleware | 0.81 | PSR-15 HTTP server middleware interfaces for PHP. Provides the MiddlewareInterface specification used by request handlers and middleware stacks; no implementation included. Install via psr/http-server-middleware and use with compatible frameworks or libraries. | 187 | 201 | 11 | 6M | 0 | 1.6 | 55.3 | MIT | 3 years ago |
How can I help you explore Laravel packages today?