2017 © Pedro Peláez
 

library cors-service-provider

A CORS Service Provider for Silex 2.0

image

euskadi31/cors-service-provider

A CORS Service Provider for Silex 2.0

  • Wednesday, June 15, 2016
  • by euskadi31
  • Repository
  • 1 Watchers
  • 2 Stars
  • 8,248 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

Silex CORS Service Provider

Build Status SensioLabsInsight, (*1)

The CorsServiceProvider provides CORS support as middleware for your silex 2.0 application. CORS allows you to make AJAX requests across domains. CORS uses OPTIONS requests to make preflight requests. Because silex doesn't have functionality for serving OPTIONS request by default, this service goes through all of your routes and generates the necessary OPTIONS routes., (*2)

Install

Add euskadi31/cors-service-provider to your composer.json:, (*3)

% php composer.phar require euskadi31/cors-service-provider:~1.0

Usage

Configuration

<?php

$app = new Silex\Application;

$app->register(new \Euskadi31\Silex\Provider\CorsServiceProvider);

License

CorsServiceProvider is licensed under the MIT license., (*4)

The Versions

15/06 2016

dev-master

9999999-dev

A CORS Service Provider for Silex 2.0

  Sources   Download

MIT

The Requires

 

The Development Requires

15/06 2016

v1.0.2

1.0.2.0

A CORS Service Provider for Silex 2.0

  Sources   Download

MIT

The Requires

 

The Development Requires

09/02 2016

v1.0.1

1.0.1.0

A CORS Service Provider for Silex 2.0

  Sources   Download

MIT

The Requires

 

The Development Requires

18/06 2015

v1.0

1.0.0.0

A CORS Service Provider for Silex 2.0

  Sources   Download

MIT

The Requires

 

The Development Requires