定制 viget/craft-phone-home 二次开发

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

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

viget/craft-phone-home

Composer 安装命令:

composer require viget/craft-phone-home

包简介

Send version information about your site back to a central source

README 文档

README

Send version information about your site back to a central source

Requirements

This plugin requires Craft CMS 4.3.5 or later, and PHP 8.0.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Phone Home”. Then press “Install”.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require viget/craft-phone-home

# tell Craft to install the plugin
./craft plugin/install phone-home

Set Up Notion

This plugin sends site information to Notion Databases. Easily take inventory of your websites, version numbers and other important facts.

Notion Screenshot

1. Create an Internal Notion Integration

Follow the Notion docs to create an internal integration. You'll need to be a Workspace owner or use your personal workspace to set up an integration.

At the end of this process, you'll have a Notion integration secret key. You'll need this to configure the plugin.

2. Create a database and add it to your Notion Integration

Create a new database in Notion.

No need to add any columns or properties. This plugin will create them when it's first run.

Next... add your Notion Integration to the database.

3. Configure the plugin

You'll need to configure this plugin with your Notion integration's secret key and the ID of the database that is connected to the integration.

Tip

The database ID can be found by copying the link to the Notion DB's page (see Notion Docs).

Copy the contents of src/config.php into your Craft project's config folder. Name the file phone-home.php.

Fill in the Notion secret and databaseId values. We recommend using an .env var for your secret keys.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: mit
  • 更新时间: 2024-03-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固