Skip to content

tes-codr/sample-app

 
 

Repository files navigation

Laravel Workflow Sample App

This is a sample Laravel 11 application with example workflows that you can run inside a GitHub codespace.

Step 1

Create a codespace from the main branch of this repo.

image

Step 2

Wait for the codespace to build. This should take between 5 to 10 minutes.

image

Step 3

Once the codespace has been created. You will see the editor and the terminal at the bottom.

image

Step 4

Run the migrations to create the necessary database tables.

php artisan migrate

Step 5

Start the queue worker. This will enable the processing of workflows and activities.

php artisan queue:work

Step 6

Create a new terminal window.

image

Step 7

Start the example workflow inside the new terminal window.

php artisan app:workflow

Step 8

You can view the waterline dashboard via the mapped port.

image

Add /waterline/dashboard to the URL e.g. https://[your-codespace-name]-80.preview.app.github.dev/waterline/dashboard

image

Step 9

Run the workflow and activity tests.

php artisan test

That's it! You can now create and test workflows.

About

Sample Laravel 11 application with example workflows.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 61.1%
  • Blade 35.4%
  • Dockerfile 2.7%
  • Other 0.8%