rluders / cors
CORS plugin for OctoberCMS
Installs: 793
Dependents: 1
Suggesters: 0
Security: 0
Stars: 12
Watchers: 1
Forks: 11
Open Issues: 2
Type:october-plugin
pkg:composer/rluders/cors
Requires
- php: >=7.2
 - composer/installers: ~1.0
 - fruitcake/laravel-cors: ~2.0
 
README
This plugin provides a simple CORS support your for WinterCMS implementing the barryvdh/laravel-cors.
Installation
- Use the composer
 
$ composer require rluders/cors
- 
Configure it on your OctoberCMS Backend.
 - 
Use it on your
route.php 
<?php Route::group(['prefix' => 'api/e1', 'middleware' => ['\Barryvdh\Cors\HandleCors']], function(){ // routes here });
LICENSE
MIT