定制 legacybeta/cloudflare-firewall 二次开发

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

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

legacybeta/cloudflare-firewall

Composer 安装命令:

composer require legacybeta/cloudflare-firewall

包简介

A Laravel command to work with Cloudflare firewall rules.

README 文档

README

Create and Update Cloudflare Firewall Rules Based on your Laravel Application's Routes

Adds a new Laravel artisan a new command cloudflare:generate-firewall-rules that creates or updates two rules in Cloudflare Firewall:

  1. Allow specific POSTs
  2. Block all incoming POSTs.

To install this package via composer:

  1. Run the commend composer require legacybeta/cloudflare-firewall;
  2. Then run php artisan vendor:publish --provider="LegacyBeta\CloudflareFirewall\CloudflareFirewallServiceProvider";
  3. Put the Cloudflare API email, API key and Zone Id in the .env for your project:
CF_EMAIL=
CF_API_KEY=
CF_ZONE_ID=

Blog post with a bit more details is here.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固