sanatorium / dashboards
There is no license information available for the latest version (3.0.6) of this package.
Dashboards extension for Cartalyst Platform
Package info
github.com/rozklad/platform-dashboards
Type:platform-extension
pkg:composer/sanatorium/dashboards
3.0.6
2016-10-02 16:31 UTC
Requires
- php: >=5.4.0
- cartalyst/composer-installers: 1.2.*
- platform/foundation: >=2.0 <5.0
README
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.