Cors

October CMS Cross Origin Resource Sharing

208
Free

Product support

Get help in the plugin support forum.

  • Added on Sep 28, 2024
  • Current version: 1.0.2
  • Platform Compatibility
    v4.x use latest
    v3.x use latest
    v2.x not tested
    v1.x not tested
  • Created by

Categories

Cors

October CMS Cross Origin Resource Sharing

October CMS Cross Origin Resource Sharing

Simple October CMS Cross Origin Resource Sharing plugin that allows you to configure your Access-Control-Allow headers. The plugin is configured through code and does not clutter the administration area with it's own navigation panel.

Installation via Command Line

php artisan plugin:install Tober.Cors

October CMS Cross Origin Resource Sharing

1. Publish config

php artisan cors:publish

2. Configure project enviroment

# CORS
CORS_ENABLED=true
CORS_ORIGIN=https://example.com,http://localhost

3. Use middleware

\Tober\Cors\Http\Middleware\CorsMiddleware::class
1.0.2

Typo fix

Aug 22, 2026

1.0.1

Add config publishing

Feb 21, 2026