rluders/cors

CORS plugin for OctoberCMS

Maintainers

Package info

github.com/rluders/wn-cors-plugin

Homepage

Type:october-plugin

pkg:composer/rluders/cors

Fund package maintenance!

rluders

Patreon

Statistics

Installs: 816

Dependents: 1

Suggesters: 0

Stars: 12

Open Issues: 2

v1.0.6 2021-01-25 18:26 UTC

This package is auto-updated.

Last update: 2026-03-01 00:34:27 UTC


README

This plugin provides a simple CORS support your for WinterCMS implementing the barryvdh/laravel-cors.

Installation

  1. Use the composer
$ composer require rluders/cors
  1. Configure it on your OctoberCMS Backend.

  2. Use it on your route.php

<?php

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

LICENSE

MIT