Download the PHP package vollbehr/php-reader-laminas without Composer
On this page you can find all versions of the php package vollbehr/php-reader-laminas. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vollbehr/php-reader-laminas
More information about vollbehr/php-reader-laminas
Files in vollbehr/php-reader-laminas
Package php-reader-laminas
Short Description Laminas integration bridge for vollbehr/php-reader.
License BSD-3-Clause
Homepage https://github.com/vollbehr/php-reader
Informations about the package php-reader-laminas
PHP Reader Laminas Bridge
A lightweight integration layer that exposes the vollbehr/php-reader services through the Laminas ServiceManager. Include the module to auto-register the Vollbehr\Support\FileReaderFactory for both Laminas MVC and Mezzio applications.
Installation
If you rely on laminas-component-installer the module will be enabled automatically. Otherwise, add it manually:
Configuration
The bridge ships with a php-reader config namespace. Override the defaults in config/autoload/*.php if you need a custom file mode:
Once enabled, the ServiceManager exposes the shared factory. The example below mirrors the integration test and works for both MVC and Mezzio environments:
Versioning
Bridge releases track the core library's major and minor version. Tag the bridge with the same version number whenever you tag vollbehr/php-reader to keep dependency ranges aligned.
All versions of php-reader-laminas with dependencies
vollbehr/php-reader Version ^1.9
psr/container Version ^1.1
laminas/laminas-servicemanager Version ^3.20
laminas/laminas-modulemanager Version ^2.17