The win32service extension is a Windows-specific extension that allows PHP to communicate with the Service Control Manager to start, stop, register and unregister the services, and even allows your PHP scripts to run as a service.
CAUTION : this extension version work only with PHP 8.x.
The version 0.4.x work with PHP 7.x.x branch. The version 1.x.x work with PHP 8.x.
See: https://win32service.github.io/
For project news, search on Twitter: https://twitter.com/hashtag/Win32Service.