承接 norotaro/wn-cors-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

norotaro/wn-cors-plugin

Composer 安装命令:

composer require norotaro/wn-cors-plugin

包简介

README 文档

README

Implements fuitcake/laravel-cors package for WinterCMS.

Installation

Run the following command in a project's root directory:

composer require norotaro/wn-cors-plugin
php artisan winter:up

About

This plugin install the fruitcake/laravel-cors package and register it to the service container.

Configuration

You have two options to configure this plugin. Feel free to choose the one that is most comfortable for you.

Publishing the configuration file

You can publish the config to copy the file to config folder of WinterCMS.

php artisan vendor:publish --tag="cors"

For more information you can read the instructions of laravel-cors package.

Using backend configuration

In the WinterCMS backend settings section (Settings > CORS > CORS Settings) you can enable Backend Configuration. There you can set the same parameters as in the config/cors.php file.

Note: If you enable this setting, the configuration set in the config/cors.php file will be ignored.

Note: If you choose this option to configure the plugin, you do not need to publish the configuration file described in the previous point.

Package docs

Here you can read the documentation of the package installed by this plugin: https://github.com/fruitcake/laravel-cors#cors-middleware-for-laravel

统计信息

  • 总下载量: 1.22k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固