Send version information about your site back to a central source
This plugin requires Craft CMS 4.3.5 or later, and PHP 8.0.2 or later.
You can install this plugin from the Plugin Store or with Composer.
Go to the Plugin Store in your project’s Control Panel and search for “Phone Home”. Then press “Install”.
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
This plugin sends site information to Notion Databases. Easily take inventory of your websites, version numbers and other important facts.
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.
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.
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.