violinist-dev / process-factory
A factory for symfony/process processes
3.0.0
2024-09-10 16:22 UTC
Requires
- symfony/process: ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^6.5 || ^7 || ^8 || ^9
- squizlabs/php_codesniffer: ^3.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
An interface for creating process factories.
One might need this for interoperability between libraries that all have process factories. Similar to what you need the psr/log LoggerInterface for.
Process in this context would mean an instance of symfony/process.
Installation
composer require violinist-dev/process-factory
Usage
Well, just expect an interface, or implement it yourself. The interface is fairly simple, and can bee seen here.