Skip to content

EduardoMRB/slim-middleware-crossorigin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slim Cross Origin

Description


Slim middleware to allow cross domain requests

How to use it

Just add it to your Slim app instance

<?php
use Slim\Middleware\CrossOrigin\CrossOriginMiddleware;

$app = new Slim\Slim();
$app->add(new CrossOriginMiddleware());

// ...
$app->run();

About

Middleware to allow cross domain request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages