1. Go to this page and download the library: Download loonatx/laravel-bi-10 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/ */
loonatx / laravel-bi-10 example snippets
StringDimension::create('name', 'The Name');
SumMetric::create('unique_name_for_some_of_prices', 'The Sum');
SumMetric::create('unique_name_for_some_of_prices', 'The Sum')
->column('price_column')
->color('#FF0000');
public function widgets()
{
return [
BigNumber::create('post-count', 'Number of Posts')
->metric(CountMetric::create('count', 'Count'))
->width('w-1/2')
];
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.