Download the PHP package asivas/analytics-dashboard without Composer
On this page you can find all versions of the php package asivas/analytics-dashboard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asivas/analytics-dashboard
More information about asivas/analytics-dashboard
Files in asivas/analytics-dashboard
Package analytics-dashboard
Short Description The "CRUD-Resouce" Analytics Dashboard controller, to be used as part of the Asivas solution for https://gitlab.com/asivas/larvue-abm/ABM
License MIT
Informations about the package analytics-dashboard
Analytics Dashboard
The "CRUD-Resouce" Analytics Dashboard controller, to be used as part of the Asivas solution for https://gitlab.com/asivas/larvue-abm/ABM, to simple manage CRUD of resources, for backend usage, (expecting to use the asivas vue ABM frontend).
Requirements
Instalation / Configuration
You can install this package using composer
Once you have required the package the configuration requires this 2 steps:
-
Create your Analitycs Facade class in app\Facades
This class should have a method for every analytics the app could graph or analyze. Each method will end up calling ths getData method of an Specific-Analytic class wich extends Asivas\Analytics\Analytics
-
Create your DashboardWidgetController extending the Asivas\Analytics\Http\Controllers\Dashboard\DashboardWidgetController This class should be the one creating the panels and widgets of the app's dashboard.
-
Register the Facades Analytcs to return new instance of the class from (1) and WidgetController to return new instance of the class from (2) in app\Providers\AppServiceProvider register method
-
Add Analytics alias pointing to Asivas\Analytics\AnalyticsFacade class in the 'aliases' key of config/app.php
-
For every analysis the app should graph or show in the dashboard
Create a Specific-Analytics class in App\Analytics extending Asivas\Analytics\Analytics implementing the addJoins, addGroupBys and addWheres methods