repat / commandline-bell
Makes the ASCII Bell sound or flashes terminal
Installs: 15 160
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:application
Requires
- php: >=4.0.7
This package is auto-updated.
Last update: 2024-09-29 02:23:57 UTC
README
CommandlineBell
php-commandline-bell makes the ASCII Bell sound or flashes the terminal.
use repat\CommandlineBell; // flashes screen if possible, otherwise just bell() CommandlineBell::flash(); // makes a beep sound CommandlineBell::bell();
Under the hood
// ASCI BEL, see https://en.wikipedia.org/wiki/Bell_character echo "0x07";
Alternatives
- Terminal Notifications via node.js: https://github.com/vikfroberg/brb
say whatever