Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rluders/wn-cors-plugin
- Owner: rluders
- License: mit
- Created: 2018-05-20T20:51:57.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-04-05T11:24:36.000Z (over 1 year ago)
- Last Synced: 2024-10-14T08:32:31.164Z (2 months ago)
- Topics: cors, hacktoberfest, laravel, php, wintercms, wintercms-plugin
- Language: PHP
- Homepage:
- Size: 58.6 KB
- Stars: 11
- Watchers: 3
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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