定制 superrb/kunstmaan-cdn 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

superrb/kunstmaan-cdn

Composer 安装命令:

composer require superrb/kunstmaan-cdn

包简介

A selection of CDN integrations for Kunstmaan Bundles

关键字:

README 文档

README

Allows integration with a variety of Content Delivery Networks

Currently Supported

Installation

Step 1: Install the bundle

composer require superrb/kunstmaan-cdn

Add the following to config/bundles.php

Superrb\KunstmaanAddonsBundle\SuperrbKunstmaanCdnBundle::class => ['all' => true],

Step 2: Add environment variables

Add the following to your .env

###> superrb/kunstmaan-cdn ###
CLOUDFLARE_API_TOKEN=
CLOUDFLARE_ZONE_ID=
KEYCDN_API_KEY=
KEYCDN_ZONE_ID=
CDN_PROVIDER=
###< superrb/kunstmaan-cdn ###

You can then configure your preferred CDN in your .env.local, For example to configure Cloudflare:

###> superrb/kunstmaan-cdn ###
CLOUDFLARE_API_TOKEN=<API_TOKEN>
CLOUDFLARE_ZONE_ID=<ZONE_ID>
CDN_PROVIDER=cloudflare
###< superrb/kunstmaan-cdn ###

Usage

You can purge the cache for your website:

$ bin/console cdn:cache:clear

Issues and Troubleshooting

All issues: tech@superrb.com

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固