ournameismud/current-see 问题修复 & 功能扩展

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

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

ournameismud/current-see

Composer 安装命令:

composer require ournameismud/current-see

包简介

Plugin to generate externally accessible feed of versions

README 文档

README

Plugin to generate externally accessible feed of versions

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require ournameismud/current-see
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Current See.

Current See Overview

This plugin is designed to scan your Craft build to see what updates are needed and generate an XML feed for those that are out of date. This can ideally be used with services like IFTTT eg to post to Slack or send email notifications.

Configuring Current See

Before using you will need to generate an Api Key for use by the plugin.
Go to Plugin > Settings and save an Api Key. One will automatically be generated for you or add your own.

Using Current See

There are two controller actions currently employed by the plugin. One to scan the Craft installation and the other to provide the feed.

Scan Craft

Because checking Craft versions requires several curl requests to the Craftnet API this service is set to run as background tasks.

The best way to trigger this controller action would be to set a CRON job to call it periodically. This is done by hitting the following action: http://[domain.com]/actions/current-see/default/check?key=[XXX]. Obviously you want to replace [domain.com] with your domain name and [XXX] with the API key saved in your plugin settings. If there is a discrepancy with the local plugin version and that reported by the Craftnet API then a record of this will be saved locally.

Feed Output

You can monitor the output of the feed by using the following controller action: http://[domain.com]]/actions/current-see/default/feed?key=[XXX]. This will be populated with those plugins (and the Craft CMS) that require updating.

Current See Roadmap

Some things to do, and ideas for potential features:

  • Release it

Brought to you by @cole007
Logo by Andrejs Kirma @ Noun Project

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固