jolicode/JoliNotif
jolicode/JoliNotif has 1,439 GitHub stars and 101 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 06:13 UTC. Last push 2026-11-01.
🖥️ Send notifications to your desktop directly from your PHP script
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
JoliNotif
Display desktop notifications from your PHP scripts.
JoliNotif is a cross-platform PHP library to display desktop notifications. It works on Linux, Windows (WSL included) or macOS.
Requires PHP >= 8.3 (support for previous PHP versions was available in older releases of this library).
[!NOTE] This library can not be used in a web context (FPM or equivalent). Use it in your CLI scripts or in a CRON
Installation
Use Composer to install JoliNotif in your project:
composer require "jolicode/jolinotif"
Usage
include __DIR__.'/vendor/autoload.php';
use Joli\JoliNotif\Notification;
use Joli\JoliNotif\DefaultNotifier;
$notifier = new DefaultNotifier();
// Create your notification
$notification =
(new Notification())
->setTitle('Notification title')
->setBody('This is the body of your notification')
->setIcon(__DIR__.'/path/to/your/icon.png')
->addOption('subtitle', 'This is a subtitle') // Only works on macOS (AppleScriptDriver)
->addOption('sound', 'Frog') // Only works on macOS (AppleScriptDriver & TerminalNotifierDriver)
;
// Send it
$notifier->send($notification);
A shell executable is also provided to use JoliNotif from CLI:
jolinotif --title "Hello" --body "World"
Further documentation
Discover more by reading the docs:
You can see the current and past versions using one of the following:
- the
git tagcommand - the releases page on Github
- the file listing the changes between versions
And finally some meta documentation:
Credits
- All contributors
- This project was originally inspired by mikaelbr/node-notifier
License
JoliNotif is licensed under the MIT License - see the LICENSE file for details.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,737 starspublic-apis/public-apis
A collective list of free APIs
496,962 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
440,455 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,130 stars