win32service/win32service

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.

Maintainers

Package info

github.com/win32service/win32service

Homepage

Type:php-ext

Ext name:ext-win32service

pkg:composer/win32service/win32service

Fund package maintenance!

macintoshplus

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 57

Open Issues: 3

1.1.1beta6 2026-03-30 20:54 UTC

README

License Documentation

Win32Service

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.

Branch PHP Version Support status
v0.3.x 5.x Unmaintained
v0.4.x 7.X Unmaintained
v1.0.x 8.0-8.5 Unmaintained
v1.1.x 8.x Maintained

Build attestation

Since the version 1.1.1beta4, this repository generates a build attestation to certify the build provenance.

To verify the provenance, use the GitHub cli tool gh attestation verify --owner win32service <release_dll_archive_path>.

If you want to verify with cosign, use these options: --certificate-oidc-issuer="https://token.actions.githubusercontent.com" --certificate-identity-regexp="^https://github.com/win32service/win32service/"

Documentation

See: https://www.php.net/manual/en/book.win32service.php

News

For project news, see the Github Discussions space: https://github.com/win32service/win32service/discussions.