akondas / php-runtime

PHP Runtime class provides methods to get total and free memory and available processors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Runtime

Minimum PHP Version build Latest Stable Version GitHub

PHP Runtime class provides methods to get total and free memory and number of available processors.

Usage

composer require akondas/php-runtime
use Akondas\Runtime;

$runtime = new Runtime();

$runtime->totalMemory();
$runtime->freeMemory();
$runtime->availableProcessors();

License

PHPRuntime is released under the MIT Licence. See the bundled LICENSE file for details.

Author

Arkadiusz Kondas

About

PHP Runtime class provides methods to get total and free memory and available processors.

License:MIT License


Languages

Language:PHP 100.0%