Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Cors Laravel Package

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
fruitcake/laravel-cors 0.89 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
View on GitHub
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
View on GitHub
Context7
coka/cors-bundle 0.87 — 1 2 1 0 0 0.0 — MIT —
View on GitHub
barryvdh/laravel-cors 0.87 — 6,224 6,301 601 133K 37 30.0 21.2 MIT 4 years ago
View on GitHub
neomerx/cors-psr7 0.86 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
View on GitHub
spatie/laravel-csp 0.86 Spatie's Laravel CSP package makes it easy to set Content Security Policy headers in Laravel apps with configurable policies and directives. It helps restrict which sites scripts can contact, reducing risks from malicious or compromised JavaScript dependencies. 871 879 102 861K 0 39.2 48.7 MIT 2 days ago
View on GitHub
Context7
asm89/stack-cors 0.86 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
View on GitHub
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
View on GitHub
spatie/laravel-endpoint-resources 0.85 Abandoned package that adds controller/action-based URL links to Laravel API resources and collection meta. Includes traits to generate “show/edit/update/delete” item links and “index/create/store” collection links automatically. 239 239 13 0 0 2.6 — MIT 5 years ago
View on GitHub
spatie/laravel-http-logger 0.85 This Laravel middleware logs incoming HTTP requests to your default log, so you can still access the original request data if something goes wrong. An extra safety net for critical user submissions like lead-generating forms, with configurable log profile, writer, and channel. 674 679 57 182K 0 26.0 37.7 MIT 3 months ago
View on GitHub
Context7
benkle/auto-preflight-bundle 0.85 — 0 0 0 0 0 0.0 — MIT —
View on GitHub
spatie/laravel-resource-endpoints 0.85 Abandoned package that adds controller-based “links” and collection “meta” links to Laravel API Resources. Automatically generates URLs for actions like index/show/edit/update/delete, so resources can expose REST endpoints without manually building routes. 239 239 13 0 0 2.6 — MIT 5 years ago
View on GitHub
spatie/laravel-openapi-cli 0.85 Turn any OpenAPI spec into dedicated Laravel artisan commands with typed options for path params, query params, and request bodies. Add auth, caching, retries, and error handling, or pair with Laravel Zero to build standalone CLI tools. 42 42 4 324 0 19.2 11.0 MIT 20 hours ago
View on GitHub
spatie/laravel-webhook-client 0.85 Receive webhooks in Laravel apps with signature verification, payload storage, and queued processing. Handle incoming HTTP calls securely and dispatch jobs so your app processes webhook events reliably. 1,207 1,213 157 940K 0 35.8 45.1 MIT 3 months ago
View on GitHub
Context7
spatie/laravel-visit 0.84 Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. 159 160 9 756 0 11.2 10.9 MIT 7 months ago
View on GitHub
spatie/laravel-referer 0.84 Store a visitor’s original referrer in the Laravel session. Detects from utm_source first, then the external domain from the Referer header, otherwise empty. Configurable session key and referrer sources via published config. 526 531 37 26K 0 17.5 24.6 MIT 8 months ago
View on GitHub
spatie/laravel-blade-javascript 0.84 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. 619 631 36 31K 0 18.7 24.8 MIT 8 months ago
View on GitHub
wernerdweight/cors-bundle 0.84 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
View on GitHub
spatie/one-package-to-rule-them-all 0.84 Pulls in all Spatie packages at once so you don’t have to require them individually. Install via Composer, optionally publish the config, and get the full Spatie “magic” in one go for your Laravel app. 60 60 6 0 0 0.8 — MIT 5 years ago
View on GitHub
spatie/laravel-authorize 0.84 Route middleware for Laravel authorization. Protect routes and groups using Laravel’s Gate abilities via the can: middleware syntax, with support for route model binding (e.g., can:editPost,post) to authorize access to specific models. 201 206 19 208 0 3.4 4.1 MIT 10 years ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route