This is an inofficial PHP client for the Camunda BPMN workflow engine using its REST API.
If you’re a developer looking for a Camunda client making use of PHP 7.4’s strong typing, you might be interested, and you’re welcome to contribute.
Do not use this code in production yet – currently it’s an experimental, rudimentary implementation.
Make sure to also check out the nice endpot / camunda-rest-client and the official but dated Camunda BPM PHP SDK (or its forks, for example kmhamdi00 / camunda-bpm-php-sdk).
Use Composer to add this library your project’s composer.json file:
$ composer require strehle-de/camunda-client
Here’s how to do a quick test, starting from scratch with a new project (Docker and Camunda server required):
$ docker run --rm --interactive --tty \
--volume $PWD:/app \
--volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \
composer/composer require strehle-de/camunda-client:dev-master monolog/monolog
$ cp vendor/strehle-de/camunda-client/UsageExample.php MyExample.php
Edit your copy.
$ docker run -it --rm \
--volume "$PWD":/usr/src/myapp --workdir /usr/src/myapp \
php:8.3-cli php MyExample.php
This library is licensed under the MIT License - see the LICENSE
file for details.