Cors
October CMS Cross Origin Resource Sharing
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
-
This plugin has not been reviewed yet.
-
| 1.0.2 |
Typo fix Aug 22, 2026 |
|---|---|
| 1.0.1 |
Add config publishing Feb 21, 2026 |