PHP code example of messy-one / daemon
1. Go to this page and download the library: Download messy-one/daemon library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
messy-one / daemon example snippets
[program:daemon]
command=/usr/bin/php /var/www/myproject/daemon/daemon.php
user=www-data
autostart=true
autorestart=true