1. Go to this page and download the library: Download komex/influence library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
komex / influence example snippets
Influence\Influence::affect();
class A
{
public function sum($a)
{
return $a + $this->rand(0, $a);
}
private fuction rand($min, $max)
{
return rand($min, $max);
}
}