Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application
Validate config values when creating the Service, instead of when used.
php artisan vendor:publish --tag=cors
paths
option to match your routescamelCase
to snake_case
, please update your own config.cors
config in Lumen.paths
option is added to match certain routes only, while still using global middleware. This allows for better error handling.