Download the PHP package digilive/windows-registry without Composer
On this page you can find all versions of the php package digilive/windows-registry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package windows-registry
Windows Registry Wrapper
A small library for accessing and manipulating the Registry on Microsoft Windows systems. For that one time you need to access the Windows Registry in a PHP application.
This library can be (and has been) used in production code, but please consider reading the disclaimer below before using.
Features
- Read and write access to any hive, key, or value in the registry (that you have permissions to)
- Automatic conversion between all registry value data types to PHP scalar types
- Lazy-loaded iterators over lists of values and recursive iterators over keys and subKeys
- Ability to connect to registries on remote computers using a remote WMI (Windows Management Instrumentation) connection (see Microsoft's docs on how to connect to WMI remotely for details)
Requirements
- Microsoft Windows (Vista or newer) or Windows Server (Windows Server 2003 or newer)
- PHP com_dotnet extension
Installation
Use Composer:
Note: This package replaces package coderstephen/windows-registry v0.9.1 which has been abandoned.
Documentation
Full API documentation is available online here.
Examples
Below is an example of creating a new registry key with some values and then deleting them.
You can also iterate over subKeys and values using built-in iterators:
Disclaimer
Messing with the Windows Registry can be dangerous; Microsoft has plenty of warnings about how it can destroy your installation. Not only should you be careful when accessing the Registry, this library is not guaranteed to be 100% safe to use and free of bugs. Use discretion, and test your code in a virtual machine if possible. We are not liable for any damages caused by this library. See the license for details.
All versions of windows-registry with dependencies
ext-com_dotnet Version *