Skip to content

Instantly share code, notes, and snippets.


mocept dmodaii

View GitHub Profile
View CatchAllOptionsRequestsProvider.php
<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
* If the incoming request is an OPTIONS request
* we will register a handler for the requested route
class CatchAllOptionsRequestsProvider extends ServiceProvider {
You can’t perform that action at this time.