texthtml / cors-silex
Cross-site HTTP requests middleware for Silex
Installs: 4 825
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-11-26 14:50:37 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);