helpers/Pipe.php
public static function send(string $value, string $fifoPath): bool
    {

        try {
            if (!file_exists($fifoPath)) {
                return false; //sortDump('Fuck me!'); // if it does
            }

            umask(0000);

            posix_mkfifo($fifoPath, 0666);              // TODO - don't be a dumbass, start sockets in config

            # $user = get_current_user();                    // get current process user

            // exec("chown -R {$user}:{$user} $fifoPath");    // We need to modify the permissions so users can write to it

            #sortDump(substr(sprintf('%o', fileperms($fifoPath)), -4) . PHP_EOL);  //-- file permissions

            $value .= PHP_EOL; // safely send, dada needs to end in null

            $fifo = fopen($fifoPath, 'wb+');

            fwrite($fifo, $value, \strlen($value) + 1);

            fclose($fifo);
        } catch (\Exception $e) {
            ErrorCatcher::generateLog($e);
        }
        return true;
    }
public static function send(string $value, string $fifoPath): bool
    {

        try {
            if (!file_exists($fifoPath)) {
                return false; //sortDump('Fuck me!'); // if it does
            }

            umask(0000);

            posix_mkfifo($fifoPath, 0666);              // TODO - don't be a dumbass, start sockets in config

            # $user = get_current_user();                    // get current process user

            // exec("chown -R {$user}:{$user} $fifoPath");    // We need to modify the permissions so users can write to it

            #sortDump(substr(sprintf('%o', fileperms($fifoPath)), -4) . PHP_EOL);  //-- file permissions

            $value .= PHP_EOL; // safely send, dada needs to end in null

            $fifo = fopen($fifoPath, 'wb+');

            fwrite($fifo, $value, \strlen($value) + 1);

            fclose($fifo);
        } catch (\Exception $e) {
            ErrorCatcher::generateLog($e);
        }
        return true;
    }
Attempt to send a string to a named pipe. This is normally done
after forking so error are ungraciously ignored. If you require
further error checking you will need to Try {} Catch this..
@param string $value
@param string $fifoPath
@return bool