Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rluders/wn-cors-plugin

Cross-Origin Resource Sharing (CORS) for WinterCMS
https://github.com/rluders/wn-cors-plugin

cors hacktoberfest laravel php wintercms wintercms-plugin

Last synced: about 2 months ago
JSON representation

Cross-Origin Resource Sharing (CORS) for WinterCMS

Awesome Lists containing this project

README

        

# CORS Plugin











This plugin provides a simple CORS support your for [WinterCMS](https://wintercms.com/) implementing the [barryvdh/laravel-cors](https://github.com/barryvdh/laravel-cors).

## Installation

1. Use the composer

```sh
$ composer require rluders/cors
```

2. Configure it on your OctoberCMS Backend.

4. Use it on your `route.php`

```php

'api/e1', 'middleware' => ['\Barryvdh\Cors\HandleCors']], function(){
// routes here
});

```

## LICENSE

MIT