Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexandre Mouillard amouillard

  • Toulouse, France
View GitHub Profile
@amouillard
amouillard / app\Http\Middleware\Cors.php
Created Nov 19, 2016
CORS middleware for Laravel 5.3
View app\Http\Middleware\Cors.php
<?php
namespace App\Http\Middleware;
use Closure;
class Cors
{
public function handle($request, Closure $next)
{
View mystery.md