piotrpress / slack-tail
A simple command line tool to tail a file and send the output to a Slack channel.
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/piotrpress/slack-tail
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-10-16 09:36:12 UTC
README
A simple command line tool to tail a file and send the output to a Slack channel.
Usage
$ php bin/tail <file> <url>
Where <file> is the path to the file you want to tail and <url> is the Slack webhook URL.
Example
$ php bin/tail /var/log/apache2/access.log https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Requirements
PHP >= 7.4 version.