承接 laravel-workflow/waterline 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

laravel-workflow/waterline

最新稳定版本:1.0.14

Composer 安装命令:

composer require laravel-workflow/waterline

包简介

An elegant UI for monitoring Laravel Workflows.

README 文档

README

An elegant UI for monitoring Laravel 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.

Upgrading Waterline

After upgrading Waterline you must publish the latest assets.

composer require laravel-workflow/waterline

php artisan waterline:publish

Dashboard View

waterline_dashboard

Workflow View

workflow

Development

  1. Install dependencies:
    composer install
    npm install
  2. Build assets:
    npm run production
  3. Publish assets to testbench:
    ./vendor/bin/testbench waterline:publish
  4. Run migrations:
    ./vendor/bin/testbench workbench:create-sqlite-db
    ./vendor/bin/testbench migrate:fresh --database=sqlite
  5. Start server:
    composer run serve
  6. Access dashboard:
  7. Create test workflow:
    ./vendor/bin/testbench workflow:create-test
  8. 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. Laravel Workflow is not officially related to the Laravel trademark or Taylor Otwell.

统计信息

  • 总下载量: 129.89k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 194
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 194
  • Watchers: 7
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-19