violinist-dev / process-factory
A factory for symfony/process processes
Installs: 183 876
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
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
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.