php-tail 추가

This commit is contained in:
2018-04-01 18:44:45 +09:00
parent 74390602d8
commit 5860a14dae
40 changed files with 1928 additions and 2 deletions
+38
View File
@@ -0,0 +1,38 @@
# php-system
A generic way to find informations about your system
## Installation
The installation of this library is made via composer.
Download `composer.phar` from [their website](https://getcomposer.org/download/).
Then add to your composer.json :
```json
"require": {
...
"php-extended/php-system": "^1.0",
...
}
```
Then run `php composer.phar update` to install this library.
The autoloading of all classes of this library is made through composer's autoloader.
## Basic Usage
You can get the singleton php-system object by doing the following:
```php
use PhpExtended\System\OperatingSystem;
$system = OperatingSystem::get();
```
This system object have lots of useful properties. An instance of `UnknownOs` is returned in case this is not implemented.
The `get` method never throws any exception.
## License
MIT (See [license file](LICENSE)).