This tool allows to notify about releases published on packagist to a broader audience.
You can publish the release information as twitter tweet and as a forum post/topic of a forum using tapatalk.
- >= PHP 7.1
- Make sure that the composer global bin directory is part of your
PATH
environment variable. - Install the tool with
composer global require netzmacht/release-notifier
Alternatively you can install it in any directory locally
- Install the tool with
composer require netzmacht/release-notifier
The following description assumes you have installed the tool globally. If you have an local installation you have to adjust the executable path.
- Create a configuration file in your current directory
release-notifier create-config config.php
- Edit the configuration file with your publishers and packages.
- Check if any new releases where made (since last run). If config is used the first time, it's checked against today.
release-notifier check -v
- Let the tool publish your releases
release-notifier publish -v
- Setup an cron job to automate the task
The tool used the symfony/console. You might use the list
command or --help
option to get more information about
the provides commands.
If you want to use the twitter publisher, you have to register an own twitter app and generate the access token online at developer.twitter.com