Skip to content

Commit

Permalink
change handler-package
Browse files Browse the repository at this point in the history
  • Loading branch information
mozartk committed May 14, 2018
1 parent 695bb96 commit a871c0f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
Now you can easily check the process information with php.

## Installation
Comming soon.
```bash
$ composer require mozartk/process-checker
```


## Basic Usage
### How to run
Expand All @@ -28,6 +31,7 @@ First, you need a config file in JSON format.

And run tue php script :
```php
<?php
require "vendor/autoload.php";

use mozartk\ProcessChecker\ProcessChecker;
Expand Down Expand Up @@ -55,7 +59,7 @@ print_r($data);

```

### Results
### Results
```
Array
(
Expand Down
14 changes: 3 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,12 @@
"homepage": "https://github.com/mozartk"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mozartk/process-handler",
"no-api": true
}
],
"require": {
"php": ">=5.3.0",
"monolog/monolog": "~1.13",
"craftpip/process-handler": "dev-master",
"mozartk/process-finder": "~1.0",
"hassankhan/config" : "~0.11",
"symfony/yaml" : "~2",
"matomo/ini" : "~2"
"symfony/yaml" : "~2.8",
"matomo/ini" : "~2.0"
},
"require-dev": {
"phpunit/phpunit": "^3.7|~4|~5|~6"
Expand Down
2 changes: 1 addition & 1 deletion src/Process/FindProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace mozartk\ProcessChecker\Process;

use Craftpip\ProcessHandler\ProcessHandler;
use mozartk\ProcessFinder\ProcessFinder as ProcessHandler;

class FindProcess implements FindProcessInterface
{
Expand Down

0 comments on commit a871c0f

Please sign in to comment.