Download the PHP package laravolt/camunda without Composer
On this page you can find all versions of the php package laravolt/camunda. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravolt/camunda
More information about laravolt/camunda
Files in laravolt/camunda
Package camunda
Short Description High level model, something like Eloquent, to interact with Camunda resources via REST API
License MIT
Homepage https://github.com/laravolt/camunda
Informations about the package camunda
laravolt/camunda
Convenience Laravel HTTP client wrapper to interact with Camunda REST API.
Installation
composer require laravolt/camunda
Configuration
Prepare your .env
:
Add following entries to config/services.php
:
Usage
Process Definition
Camunda API reference: https://docs.camunda.org/manual/latest/reference/rest/process-definition/
Process Instance
Camunda API reference: https://docs.camunda.org/manual/latest/reference/rest/process-instance/
Message Event
Task
Camunda API reference: https://docs.camunda.org/manual/latest/reference/rest/task/
External Task
Camunda API reference: https://docs.camunda.org/manual/latest/reference/rest/external-task/
Consume External Task
Create a new job to consume external task via php artisan make:job <JobName>
and modify the skeleton:
Subscribe to some topic:
Register the scheduler:
If you need shorter pooling time (sub-minute frequency), please check Laravel Short Schedule.
Reference:
- https://laravel.com/docs/master/scheduling
- https://laravel.com/docs/master/queues
- https://github.com/spatie/laravel-short-schedule
Task History (Completed Task)
Camunda API reference: https://docs.camunda.org/manual/latest/reference/rest/history/task/
Deployment
Raw Endpoint
You can utilize Laravolt\Camunda\CamundaClient
to call any Camunda REST endpoint.
CamundaClient::make()
is a wrapper for Laravel HTTP Client with base URL already set based on your Camunda services configuration. Take a look at the documentation for more information.
All versions of camunda with dependencies
ext-simplexml Version *
spatie/data-transfer-object Version ^3.6.1
guzzlehttp/guzzle Version ^7.2