sanatorium/dashboards

此软件包最新版本(3.0.6)没有可用的许可证信息。

Cartalyst 平台仪表盘扩展

安装: 1

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 3

分支: 0

开放问题: 0

类型:平台扩展

3.0.6 2016-10-02 16:31 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:47:47 UTC


README

Cartalyst 平台仪表盘扩展

文档

注册小部件到仪表盘

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 指令 @dashboard

通过 slug 的仪表盘

@dashboard('main')

变更日志

变更日志不可用。

支持

不支持。