sanatorium / dashboards
Dashboards extension for Cartalyst Platform
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:platform-extension
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.