Skip to content

Instantly share code, notes, and snippets.

@amouillard
amouillard / app\Http\Middleware\Cors.php
Created November 19, 2016 22:52
CORS middleware for Laravel 5.3
<?php
namespace App\Http\Middleware;
use Closure;
class Cors
{
public function handle($request, Closure $next)
{