texthtml/cors-silex

Cross-site HTTP requests middleware for Silex

v1.1.0 2015-11-12 09:50 UTC

This package is auto-updated.

Last update: 2024-11-26 14:50:37 UTC


README

Cross-site HTTP requests middleware for Silex

Latest Stable Version License Total Downloads Scrutinizer Code Quality

Module installation

In your project root folder

  1. composer require texthtml/cors-silex
  2. In your Silex container configuration, register the CORSMiddleware:
$app->register(new TH\Silex\CORS\CORSProvider);