Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Jolinotif Laravel Package

jolicode/jolinotif

Cross-platform PHP library for sending desktop notifications from CLI scripts or cron jobs on Linux, macOS, Windows, and WSL. Create notifications with title, body, icon, and OS-specific options, or use the bundled jolinotif CLI command.

View on GitHub
Deep Wiki
Context7

CRON usage

Configuration for CRON

Cronjobs are usually CLI scripts. But JoliNotif's Unix/Linux drivers are GUI applications. This means you need to specify the display where the notification will be sent.

You can achieve this by setting the XDG_RUNTIME_DIR environment variable in your cronjob:

* * * * * XDG_RUNTIME_DIR=/run/user/$(id -u) php /path/to/your/script

Note On some system, you may also/instead need to set DISPLAY env var and/or to run xhost +local:. For more information, please have a look at https://help.ubuntu.com/community/CronHowto#GUI_Applications

Next readings

Previous pages:

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport