texthtml / cors-silex
Cross-site HTTP requests middleware for Silex
Installs: 4 817
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- silex/silex: ~2.0@dev
This package is auto-updated.
Last update: 2024-10-26 14:40:58 UTC
README
Cross-site HTTP requests middleware for Silex
Module installation
In your project root folder
composer require texthtml/cors-silex
- In your Silex container configuration, register the CORSMiddleware:
$app->register(new TH\Silex\CORS\CORSProvider);