Non-blocking Windows Registry Access in PHP

Learn how to read values from the Windows Registry.

AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind. amphp/windows-registry provides asynchronous access to the Windows Registry.

Release License

Installation

This package can be installed as a Composer dependency.

composer require amphp/windows-registry

Usage

WindowsRegistry has the two static methods listKeys and read:

  • listKeys fetches all sub-keys of one key.
  • read reads the value of the key. Note that read doesn’t convert any values and returns them as they’re printed by reg query %s.

Versioning

amphp/windows-registry follows the semver semantic versioning specification like all other amphp packages.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.