Download the PHP package xanobius/notion-notifier without Composer
On this page you can find all versions of the php package xanobius/notion-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xanobius/notion-notifier
More information about xanobius/notion-notifier
Files in xanobius/notion-notifier
Package notion-notifier
Short Description Command to update notion.io information
License MIT
Informations about the package notion-notifier
Notion-Notifier
Keep all your projects and their version under control!
Notion-Notifier is a small package to submit the current versions to a notion page.
The aim is to update the version of the used framework (symfony, pimcore, laravel, drupal...) as well as the version of your codebase (git tag).
The package can be used agnostic or with a little more comfort in laravel.
Perparation
This package has list of project in mind, collected in a notion database. In a database, each entry is a distinct notion page with the properties of the database.
In this Example we would have the two columns FW-Version (Framework) and CB-Version (Code-Base) we want to populate on every update with the new, actual values. To update something, we must have something, meaning:
- Notion account with a project database
- Notion API Secret
- The id of the notion page
- The names of the page properties
Installation
Use the package manager composer to install notion-notifier.
Usage (agnostic)
Usage in Laravel
Right after the installation, the .env file awaits your settings
with those options set, one can just call the command
The command submits code-base and framework version to the specific properties and can be called after deployment. To change the behaviour of the package, the config can be published and adjusted to your needs.
Next steps...
Integration for symfony/pimcore projects with config as well.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.