sanatorium / platform-dashboards by rozklad

Dashboards extension for Cartalyst Platform
1
0
3
Package Data
Maintainer Username: rozklad
Maintainer Contact: info@sanatoriu.ninja (Sanatorium)
Package Create Date: 2016-05-21
Package Last Update: 2016-10-02
Language: PHP
License: Unknown
Last Refreshed: 2024-11-15 15:09:18
Package Statistics
Total Downloads: 1
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

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.