mrprompt/silex-cors-provider

A simple CORS provider to Silex Rest APIs based.

dev-master 2016-10-22 16:01 UTC

This package is auto-updated.

Last update: 2024-12-21 07:03:08 UTC


README

Build Status Code Climate Test Coverage Issue Count SensioLabsInsight Dependency Status Codacy Badge

Install

composer require mrprompt/silex-cors-provider

Use

use SilexFriends\Cors\Cors as CorsServiceProvider;

...


$app->register(new CorsServiceProvider());

Testing

Just run phpunit without parameters

phpunit

LICENSE

MIT