Download the PHP package maxime-rainville/silverstripe-cli-notify without Composer
On this page you can find all versions of the php package maxime-rainville/silverstripe-cli-notify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maxime-rainville/silverstripe-cli-notify
More information about maxime-rainville/silverstripe-cli-notify
Files in maxime-rainville/silverstripe-cli-notify
Package silverstripe-cli-notify
Short Description Genetrate desktop notifications when running Silverstripe CMS sake commands
License MIT
Informations about the package silverstripe-cli-notify
Silverstripe CLI notify
This module adds a middleware to Silverstripe CMS that will try to display desktop notification when using the command line to execute a dev/
command.
The notification is displayed once the command has completed. This allows you to start a long running proccess in your terminal and move on to other things.
Installation
Note the usage of the --dev
flag. This is meant to be a development tool only.
How does it work
This modules uses the jolicode/jolinotif
PHP library to display the notifications. This library works on MacOS, most Linux distros and MS Windows ... althought I've only tested on Ubuntu.
You can still use this library if your OS doesn't support desktop notifications. Nothing will happen, but your project will otherwise work as expected.
This is unlikely to work if your sake
command is run from inside vagrant or docker.
All versions of silverstripe-cli-notify with dependencies
silverstripe/vendor-plugin Version ^1.4 || ^2
silverstripe/framework Version ^4 || ^5