sanatorium/dashboards
sanatorium/dashboards
Dashboards extension for Cartalyst Platform
Documentation
Register widget to dashboards
class SampleServiceProvider {
public function boot()
{
$this->registerDashboardWidget();
}
/**
* Register the dashboard widget "Visitors and Pageviews"
* @throws ReflectionException
*/
protected function registerDashboardWidget()
{
$this->app['sanatorium.dashboards.widgets']->registerService(
'visitors_and_pageviews', // slug
'Path\To\Class\DashboardVisitors' // class
);
}
}
Blade directive @dashboard
Dashboard by slug
@dashboard('main')
Changelog
Changelog not available.
Support
Support not available.
Related Packages
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 3.0.6 | >=5.4.0 | ||
| 3.0.5 | >=5.4.0 | ||
| 3.0.4 | >=5.4.0 | ||
| 3.0.3 | >=5.4.0 | ||
| 3.0.2 | >=5.4.0 | ||
| 3.0 | >=5.4.0 | ||
| 0.1.5 | >=5.4.0 | ||
| 0.1.4 | >=5.4.0 | ||
| 0.1.3 | >=5.4.0 | ||
| 0.1.2 | >=5.4.0 | ||
| 0.1.1 | >=5.4.0 | ||
| 0.1.0 | >=5.4.0 |