Blog Detail

29

Nov
Waterline - An elegant UI for monitoring Laravel Workflows cover image

arrow_back Waterline - An elegant UI for monitoring Laravel Workflows

Waterline is an amazing and 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


Workflow View


For more details and source code, please visit [Github](https://github.com/laravel-workflow/waterline).

Published at : 29-11-2022

Author : Rizwan Aslam
AUTHOR
Rizwan Aslam

I am a highly results-driven professional with 12+ years of collective experience in the grounds of web application development especially in laravel, native android application development in java, and desktop application development in the dot net framework. Now managing a team of expert developers at Codebrisk.

Launch your project

Launch project