rtmatt/rtclientdashboard
最新稳定版本:1.0.0
Composer 安装命令:
composer require rtmatt/rtclientdashboard
包简介
A dashboard to show monthly service usage for a client.
README 文档
README
- Laravel App
- jQuery
Installation
Via Composer
composer require rtmatt/rtclientdashboard:^0.0.2 //:dev-master
Add Service Provider
in config/app.php providers array:
\RTMatt\MonthlyServiceClientDashboard\Providers\MonthlyServiceClientDashboardServiceProvider::class
Usage
Add includes
Within whatever file you want to show the dashboard, include the following:
@include('rtclientdashboard::components.dashboard-component')
and in the layout file before the closing body tag, include the following:
@include('rtclientdashboard::partials.dashboard-scripts')
as well as the following within the head section:
@include('rtclientdashboard::partials.dashboard-styles')
###Add credentials in your site's .env file:
DASHBOARD_API_NAME=xxx
DASHBOARD_API_KEY=xxx
publish assets
php artisan vendor:publish --provider="RTMatt\MonthlyServiceClientDashboard\Providers\MonthlyServiceClientDashboardServiceProvider" --tag="public" --force
If you would like to make sure your public assets are always up-to-date, you can add this command to the post-update-cmd list in your composer.json file.
Configuration
DASHBOARD_API_URL //the base url for the API with which the dashboard talks
DASHBOARD_SUMMARY_API_ENDPOINT //the api endpoint where client service summaries live
统计信息
- 总下载量: 122
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-07-08