laravel-workflow/waterline
Composer 安装命令:
composer require laravel-workflow/waterline
包简介
An elegant UI for monitoring Laravel Workflows.
README 文档
README
An elegant UI for monitoring workflows.
Installation
This UI is installable via Composer.
composer require laravel-workflow/waterline php artisan waterline:install
Authorization
Waterline exposes a dashboard at the /waterline URL. By default, you will only be able to access this dashboard in the local environment. However, within your app/Providers/WaterlineServiceProvider.php file, there is an authorization gate definition. This authorization gate controls access to Waterline in non-local environments.
Gate::define('viewWaterline', function ($user) {
return in_array($user->email, [
'admin@example.com',
]);
});
This will allow only the single admin user to access the Waterline UI.
Configuration
If your workflow IDs are strings (for example UUIDs) and do not sort in a useful order, publish the config and set workflow_sort_column to a timestamp column such as created_at:
'workflow_sort_column' => 'created_at',
Upgrading Waterline
After upgrading Waterline you must publish the latest assets.
composer require durable-workflow/waterline php artisan waterline:publish
Dashboard View
Workflow View
Development
- Install dependencies:
composer install npm install
- Build assets:
npm run production
- Publish assets to testbench:
./vendor/bin/testbench waterline:publish
- Run migrations:
./vendor/bin/testbench workbench:create-sqlite-db ./vendor/bin/testbench migrate:fresh --database=sqlite
- Start server:
composer run serve
- Access dashboard:
- Create test workflow:
./vendor/bin/testbench workflow:create-test
- Run queue worker:
./vendor/bin/testbench queue:work
"Laravel" is a registered trademark of Taylor Otwell. This project is not affiliated, associated, endorsed, or sponsored by Taylor Otwell, nor has it been reviewed, tested, or certified by Taylor Otwell. The use of the trademark "Laravel" is for informational and descriptive purposes only. Waterline is not officially related to the Laravel trademark or Taylor Otwell.
laravel-workflow/waterline 适用场景与选型建议
laravel-workflow/waterline 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 262.91k 次下载、GitHub Stars 达 206, 最近一次更新时间为 2022 年 11 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 laravel-workflow/waterline 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laravel-workflow/waterline 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 262.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 206
- 点击次数: 31
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-19