This module allows you to calculate mean, standard deviation, Z-score, percentile, sten and stanine.
-
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);