Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

tistre/camunda_php_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A PHP client for the Camunda BPMN workflow engine

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.

About

PHP client for the Camunda BPM platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages