repat / commandline-bell
Makes the ASCII Bell sound or flashes terminal
Package info
github.com/repat/php-commandline-bell
Type:application
pkg:composer/repat/commandline-bell
0.1
2017-12-29 00:40 UTC
Requires
- php: >=4.0.7
This package is auto-updated.
Last update: 2026-03-01 00:24:21 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