euskadi31/cors-service-provider 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

euskadi31/cors-service-provider

最新稳定版本:v1.0.2

Composer 安装命令:

composer require euskadi31/cors-service-provider

包简介

A CORS Service Provider for Silex 2.0

README 文档

README

Build Status SensioLabsInsight

The CorsServiceProvider provides CORS support as middleware for your silex 2.0 application. CORS allows you to make AJAX requests across domains. CORS uses OPTIONS requests to make preflight requests. Because silex doesn't have functionality for serving OPTIONS request by default, this service goes through all of your routes and generates the necessary OPTIONS routes.

Install

Add euskadi31/cors-service-provider to your composer.json:

% php composer.phar require euskadi31/cors-service-provider:~1.0 

Usage

Configuration

<?php $app = new Silex\Application; $app->register(new \Euskadi31\Silex\Provider\CorsServiceProvider);

License

CorsServiceProvider is licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固