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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| benkle/auto-preflight-bundle | 0.89 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| barryvdh/laravel-cors | 0.88 | — | 6,224 | 6,301 | 601 | 133K | 37 | 30.0 | 21.2 | MIT | 4 years ago | |
| neomerx/cors-psr7 | 0.88 | PSR-7 CORS implementation for PHP that parses requests and generates standards-compliant Cross-Origin Resource Sharing headers. Supports preflight and actual requests, configurable origins, methods, headers, credentials, and max age for easy middleware integration. | 67 | 69 | 20 | 55K | 2 | 1.6 | 41.2 | Apache-2.0 | 3 years ago | |
| asm89/stack-cors | 0.88 | 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/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. | 317 | 323 | 20 | 21M | 2 | 7.3 | 56.6 | MIT | 11 months ago | |
| coka/cors-bundle | 0.88 | — | 1 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| spatie/laravel-cors | 0.87 | 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. | 595 | 613 | 56 | 4K | 0 | 6.2 | 8.6 | MIT | 5 years ago | |
| medz/cors | 0.86 | 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. | 273 | 274 | 23 | 423 | 2 | 1.4 | 3.9 | MIT | 6 years ago | |
| tenantcloud/laravel-cors | 0.86 | 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 | |
| wernerdweight/cors-bundle | 0.86 | 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.85 | — | 1,926 | 1,942 | 102 | 2M | 8 | 27.8 | 45.8 | MIT | 9 months ago | |
| malukenho/docheader | 0.85 | Laravel package that adds and manages standardized documentation headers in your source files. Generate consistent file/class docblocks with project metadata, author, license, and timestamps, helping teams enforce style and keep headers up to date automatically. | 68 | 68 | 8 | 8K | 2 | 2.0 | 29.2 | MIT | 8 years ago | |
| saritasa/laravel-middleware | 0.84 | A Laravel middleware package from Saritasa providing reusable, composable HTTP middleware for request filtering, response handling, and route-level concerns, helping keep controllers clean and application logic organized. | 2 | 2 | 1 | 56 | 0 | 0.0 | 12.6 | MIT | 2 years ago | |
| kronthto/laravel-oauth2-login | 0.84 | Add OAuth2 social login to your Laravel app. This package provides a simple, configurable way to authenticate users through OAuth2 providers, handling the redirect and callback flow for you. Integrates with Laravel's auth system so users can sign in via third-party accounts. | 21 | — | 8 | — | 1 | 0.4 | — | MIT | 3 years ago | |
| shipsaas/laravel-priority-queue | 0.84 | shipsaas/laravel-priority-queue adds priority-based job processing to Laravel queues, letting you assign priorities so urgent jobs run before lower-priority work. It provides a straightforward way to dispatch and manage prioritized jobs in your application. | 49 | — | 3 | — | 0 | 0.6 | — | MIT | 2 years ago | |
| oliuz/teamwork | 0.83 | Teamwork is a Laravel package for adding team management to your app, with models, migrations, and traits for teams, members, invitations, roles, and permissions to simplify membership and access control. | 39 | — | 10 | — | 0 | 0.9 | — | MIT | 4 years ago | |
| illuminate/cookie | 0.83 | Laravel’s Illuminate Cookie component provides a clean API for creating, queuing, and managing HTTP cookies, including encryption and signed cookies integration. Commonly used with the framework’s request/response lifecycle for secure cookie handling. | 34,990 | 24 | 12,023 | 149K | 56 | 79.8 | 44.0 | MIT | 1 week ago | |
| chocofamilyme/laravel-healthcheck | 0.83 | A Laravel package that adds healthcheck endpoints so monitoring systems can verify your app and its dependencies are up. Reports on services such as database, cache, and queue, making it easy to integrate with uptime checks and alerting tools. | 11 | — | 1 | — | 0 | 0.4 | — | — | 3 years ago | |
| kennedy-osaze/laravel-api-response | 0.83 | A Laravel package for consistent, structured API responses. Standardize success and error JSON payloads, reduce repetitive controller code, and keep your API output clean and predictable across your application. | 65 | — | 8 | — | 0 | 1.1 | — | MIT | 3 years ago | |
| eliseusantos/laravel-contaazul | 0.83 | A Laravel package for integrating the ContaAzul business management API into your application. It offers a simple client for authenticating and accessing ContaAzul resources such as customers, products, sales, and financial data directly from your Laravel app. | 0 | — | 1 | — | 0 | 0.3 | — | MIT | 2 years ago |
How can I help you explore Laravel packages today?