strehle-de / camunda-client
PHP client for the Camunda BPMN workflow engine https://camunda.com/products/bpmn-engine/
Installs: 2 310
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=8.2 <8.4
- ext-json: *
- guzzlehttp/guzzle: >=6.3 <8.0
- psr/log: >=1.1
Requires (Dev)
- monolog/monolog: ^3.3
README
This is an inofficial PHP client for the Camunda BPMN workflow engine using its REST API.
Status right now: Developers only, not suitable for production use
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).
Installation
Use Composer to add this library your project’s composer.json file:
$ composer require strehle-de/camunda-client
Quick test
Here’s how to do a quick test, starting from scratch with a new project (Docker and Camunda server required):
Install dependencies using Composer
$ 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
Copy and edit the example script
$ cp vendor/strehle-de/camunda-client/UsageExample.php MyExample.php
Edit your copy.
Then run your copy
$ docker run -it --rm \
--volume "$PWD":/usr/src/myapp --workdir /usr/src/myapp \
php:8.3-cli php MyExample.php
Authors
License
This library is licensed under the MIT License - see the LICENSE
file for details.