Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/violinist-dev/process-factory
https://github.com/violinist-dev/process-factory
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/violinist-dev/process-factory
- Owner: violinist-dev
- License: mit
- Created: 2019-02-09T19:59:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-10T16:24:16.000Z (about 2 months ago)
- Last Synced: 2024-09-10T22:29:03.619Z (about 2 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# process-factory
[![Test](https://github.com/violinist-dev/process-factory/actions/workflows/test.yml/badge.svg)](https://github.com/violinist-dev/process-factory/actions/workflows/test.yml)
[![Packagist](https://img.shields.io/packagist/v/violinist-dev/process-factory.svg?maxAge=3600)](https://packagist.org/packages/violinist-dev/process-factory)
[![Packagist](https://img.shields.io/packagist/dt/violinist-dev/process-factory.svg?maxAge=3600)](https://packagist.org/packages/violinist-dev/process-factory)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](https://github.com/violinist-dev/process-factory/blob/master/src/ProcessFactoryInterface.php).