承接 konzentrik/autopublish 相关项目开发

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

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

konzentrik/autopublish

最新稳定版本:1.0.1

Composer 安装命令:

composer require konzentrik/autopublish

包简介

Set a date to automatically publish a page

README 文档

README

GitHub release License Kirby Version

Header

This Kirby plugin will auto publish selected pages. Enable auto publishing for certain pages in the panel and set a date when to publish the page. Autopublish will handle the rest.

Installation

Use one of these methods to install the plugin:

  • composer (recommended): composer require konzentrik/autopublish
  • zip file: unzip main.zip as folder site/plugins/autopublish

Usage

Add panel fields

Add the autopublish field to your page blueprint:

fields:
  autopublish: fields/autopublish

Or add the toggle and date field by yourself:

fields:
  autopublish:
    label: Autopublish
    type: toggle
    translate: false
  autopublishDate:
    label: Autopublish Date
    type: date
    time: true
    translate: false
    when:
      autopublish: true

If you already have a date field you want to use, you can configure the plugin to use it, by setting this option in your config.php

'konzentrik.autopublish.dateField' => 'my-date-field',

Configure and use the webhook

First set a secret in your config.php:

'konzentrik.autopublish.secret' => 'my-secret',

You can now trigger the Webhook:

https://example.com/autopublish/cron/my-secret

Replace example.com with your hostname and my-secret with the secret you set in your config.php. Whenever you trigger the Webhook the plugin will look for unpublished pages with a date older or equal to the current date-time and then publishes the page.

Options

Please make sure to prefix all options with konzentrik.autopublish or use the array notation.

Option Default Description
dateField 'autopublishDate' The field name of your date field
secret '' A secret to secure the webhook

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固