sanatorium/dashboards

Dashboards extension for Cartalyst Platform
1
Install
composer require sanatorium/dashboards
Latest Version:3.0.6
PHP:>=5.4.0
Last Updated:Oct 2, 2016
Links: GitHub  ·  Packagist
Maintainer: rozklad

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.