girishk / numphp
Numphp is a PHP package for statitical computations
v1.1
2018-07-19 08:59 UTC
This package is not auto-updated.
Last update: 2026-03-21 03:31:08 UTC
README
This module allows you to calculate mean, standard deviation, Z-score, percentile, sten and stanine.
Installation
-
Run
composer require girishk/numphp --devin console to install this module (Notice
--devflag - it's recommended to use this package only for development). -
If you use Laravel < 5.5 open
config/app.phpand inproviderssection add:'providers' => array( // ... Girishk\Providers\NumphpServiceProvider::class, ) 'aliases' => array( // ... 'Numphp' => Girishk\Facades\Numphp::class, )
Laravel 5.5 uses Package Auto-Discovery and it will automatically load this service provider so you don't need to add anything into above file.
If you are using Lumen open
bootstrap/app.phpand add:$app->register(Girishk\Providers\NumphpServiceProvider::class); $app->alias('Numphp', Girishk\Facades\Numphp::class);