tonysong/dashq
Composer 安装命令:
composer require tonysong/dashq
包简介
A Dashboard for Laravel Queue with database driver
README 文档
README
Inspired by Laravel Horizon, a Queue Dashboard to monitor Queue Jobs with following features:
- Work with Queue with 'database' driver.
- Retry one or more Jobs.
- Delete one or more Jobs.
- Emptying Jobs Table.
- Emptying Failed Jobs Table.
- Search any queues, payloads and exceptions.
- Responsive design, enjoy the view at any screen sizes.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a Laravel framework.
Prerequisites
Make sure you have choose 'database' driver for Queue in config/queue.php and already have 'failed_jobs' and 'jobs' table.
Require this package:
$ composer require tonysong/dashq
Installing
A step by step
Publish resources files (css and js)
$ php artisan vendor:publish --tag=dashq.assets
$ php artisan vendor:publish --tag=dashq.config
Navigate to yourweb.com/dashq at browser, and you're ready to go.
Configuration
The configuration file placed in config/dashq.php
middleware
Add DashQ route middleware, such as Login and various checks.
uri
Set route path to DashQ, default is dashq (youweb.com/dashq)
db
Set database connection which DashQ should connect to database that have jobs and failed_jobs table.
Development
Setup SCSS development.
SCSS Compilation
- Navigate to
resource/assets, and run:
$ npm install
- install Gulp Globally
$ npm install gulp-cli -g
To start compiling watch for changes run:
$ gulp scss:watch -g
To minify SCSS file (production):
$ gulp scss:prod
CSS output will be at /resources/assets/app.css which is already attached to "mock" html files.
Javascript
LaravelDashQ using plain Javascript, the JS file located at /resources/assets/app.js.
Testing view
Three files already provided to mock real rendered by Laravel Blade template, home.html, jobs.html, failedjobs.html, these files are located in /resources/assets
Assets file deployment:
To deploy app.js and app.css, run following command:
$ php artisan vendor:publish --tag=dashq.assets --force
Author
- Tony Song - Initial work - tonywei92@gmail.com
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Hat tip to Taylor Otwell, the creator of Laravel
- PostCSS, Gulp, etc.
tonysong/dashq 适用场景与选型建议
tonysong/dashq 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 839 次下载、GitHub Stars 达 5, 最近一次更新时间为 2018 年 10 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「DashQ」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tonysong/dashq 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tonysong/dashq 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tonysong/dashq 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Alfabank REST API integration
Laravel package for Accurate Online API integration.
Shared RCX Laravel DataTables UI and configuration helpers.
Boot a Laravel project on any machine with one command: app:serve installs missing tools (PHP, Node, Composer, Herd, Docker), creates .env, sets up the database, runs migrations, builds assets, starts a queue worker and serves via Herd, Sail or artisan serve; app:down cleanly stops everything it sta
Branded, diagnostic error pages (500, 403, 404, 419, 503) for Filament — native Filament UI, dark mode and translations out of the box.
Turn any PDF into a Pingen-ready A4 letter (generated address cover page + A4 normalisation + safe margins) and send it through the Pingen print & mail API. Laravel-first.
统计信息
- 总下载量: 839
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-08
