Registry / web-framework / fruitcake-laravel-cors

fruitcake-laravel-cors

JSON →
library3.0.0phppackagistunverified

Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application.

composer require fruitcake/laravel-cors
INSTALL
IMPORT
SIG · FRUITCAKE-LARAVEL-
F
fruitcake-laravel-cors
web-frameworkphpv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HandleCors
use Fruitcake\Cors\HandleCors;

Apply CORS headers to HTTP responses.

use Fruitcake\Cors\HandleCors; $middleware = new HandleCors(); $response = $middleware->handle($request, $next);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
fruitcake-laravel-cors — pip install fruitcake-laravel-cors · libregistry