Cross-site HTTP requests middleware for Silex
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);
Cross-site HTTP requests middleware for Silex
In your project root folder
composer require texthtml/cors-silex
$app->register(new TH\Silex\CORS\CORSProvider);