hambrook/clitaskrunner (packagist): Run a CLI command in the background and get updates via callbacks on events including buffer and line updates. You can subscribe to any writable stream and get callbacks triggered for new lines or on each buffer update.
Keywords: php|cli|callback