PHPackages                             devoceanlt/camunda - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. devoceanlt/camunda

ActiveLibrary[API Development](/categories/api)

devoceanlt/camunda
==================

High level model, something like Eloquent, to interact with Camunda resources via REST API

2.0.0(4y ago)03481MITPHPPHP &gt;=8.0

Since Jan 8Pushed 1y agoCompare

[ Source](https://github.com/DevOceanLT/camunda)[ Packagist](https://packagist.org/packages/devoceanlt/camunda)[ Docs](https://github.com/laravolt/camunda)[ RSS](/packages/devoceanlt-camunda/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (6)Versions (9)Used By (0)

devoceanlt/camunda
==================

[](#devoceanltcamunda)

Convenience Laravel HTTP client wrapper to interact with Camunda REST API.

Installation
------------

[](#installation)

`composer require devoceanlt/camunda`

Configuration
-------------

[](#configuration)

Prepare your `.env`:

```
CAMUNDA_URL=http://localhost:8080/engine-rest

#optional
CAMUNDA_TENANT_ID=
CAMUNDA_USER=
CAMUNDA_PASSWORD=
```

Add following entries to `config/services.php`:

```
'camunda' => [
    'url' => env('CAMUNDA_URL', 'https://localhost:8080/engine-rest'),
    'user' => env('CAMUNDA_USER', 'demo'),
    'password' => env('CAMUNDA_PASSWORD', 'demo'),
    'tenant_id' => env('CAMUNDA_TENANT_ID', ''),
],
```

Usage
-----

[](#usage)

### Process Definition

[](#process-definition)

```
use DevOceanLT\Camunda\Http\ProcessDefinitionClient;

$variables = ['title' => ['value' => 'Sample Title', 'type' => 'string']];

// Start new process instance
$instance = ProcessDefinitionClient::start(key: 'process_1', variables: $variables);

// Start new process instance with some business key
$instance = ProcessDefinitionClient::start(key: 'process_1', variables: $variables, businessKey: 'somekey');

// Get BPMN definition in XML format
ProcessDefinitionClient::xml(key: 'process_1');
ProcessDefinitionClient::xml(id: 'process_1:xxxx');

// Get all definition
ProcessDefinitionClient::get();

// Get definitions based on some parameters
$params = ['latestVersion' => true];
ProcessDefinitionClient::get($params);
```

Camunda API reference:

### Process Instance

[](#process-instance)

```
use DevOceanLT\Camunda\Http\ProcessInstanceClient;

// Find by ID
$processInstance = ProcessInstanceClient::find(id: 'some-id');

// Get all instances
ProcessInstanceClient::get();

// Get instances based on some parameters
$params = ['businessKeyLike' => 'somekey'];
ProcessInstanceClient::get($params);

ProcessInstanceClient::variables(id: 'some-id');
ProcessInstanceClient::delete(id: 'some-id');
```

Camunda API reference:

### Task

[](#task)

```
use DevOceanLT\Camunda\Http\TaskClient;

$task = TaskClient::find(id: 'task-id');
$tasks = TaskClient::getByProcessInstanceId(id: 'process-instance-id');
TaskClient::submit(id: 'task-id', variables: ['name' => ['value' => 'Foo', 'type' => 'String']]); // will return true or false
$variables = TaskClient::submitAndReturnVariables(id: 'task-id', variables: ['name' => ['value' => 'Foo', 'type' => 'String']]) // will return array of variable
```

Camunda API reference:

### Task History (Completed Task)

[](#task-history-completed-task)

```
use DevOceanLT\Camunda\Http\TaskHistoryClient;

$completedTask = TaskHistoryClient::find(id: 'task-id');
$completedTasks = TaskHistoryClient::getByProcessInstanceId(id: 'process-instance-id');
```

Camunda API reference:

### Deployment

[](#deployment)

```
use DevOceanLT\Camunda\Http\DeploymentClient;

// Deploy bpmn file(s)
DeploymentClient::create('test-deploy', '/path/to/file.bpmn');
DeploymentClient::create('test-deploy', ['/path/to/file1.bpmn', '/path/to/file2.bpmn']);

// Get deployment list
DeploymentClient::get();

// Find detailed info about some deployment
DeploymentClient::find($id);

// Truncate (delete all) deployments
$cascade = true;
DeploymentClient::truncate($cascade);

// Delete single deployment
DeploymentClient::delete(id: 'test-deploy', cascade: $cascade);
```

### Raw Endpoint

[](#raw-endpoint)

You can utilize `DevOceanLT\Camunda\CamundaClient` to call any Camunda REST endpoint.

```
use DevOceanLT\Camunda\CamundaClient;

$response = CamundaClient::make()->get('version');
echo $response->status(); // 200
echo $response->object(); // sdtClass
echo $response->json(); // array, something like ["version" => "7.14.0"]
```

> `CamundaClient::make()` is a wrapper for [Laravel HTTP Client](https://laravel.com/docs/master/http-client) with base URL already set based on your Camunda services configuration. Take a look at the documentation for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 76.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~83 days

Recently: every ~122 days

Total

7

Last Release

1820d ago

Major Versions

1.1.4 → 2.0.02021-05-23

PHP version history (2 changes)1.0.0PHP &gt;=7.3

2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f011960caaf5d31f82435e5c35f44edd0747b571d7d2b280bf68e6895207dff6?d=identicon)[DevOceanLT](/maintainers/DevOceanLT)

---

Top Contributors

[![uyab](https://avatars.githubusercontent.com/u/149716?v=4)](https://github.com/uyab "uyab (63 commits)")[![MariusGelezinis](https://avatars.githubusercontent.com/u/90241568?v=4)](https://github.com/MariusGelezinis "MariusGelezinis (12 commits)")[![DevOceanLT](https://avatars.githubusercontent.com/u/90240413?v=4)](https://github.com/DevOceanLT "DevOceanLT (4 commits)")[![marshallia](https://avatars.githubusercontent.com/u/12694360?v=4)](https://github.com/marshallia "marshallia (2 commits)")[![dainius-devocean](https://avatars.githubusercontent.com/u/171003041?v=4)](https://github.com/dainius-devocean "dainius-devocean (1 commits)")

---

Tags

laravellaravoltcamunda

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/devoceanlt-camunda/health.svg)

```
[![Health](https://phpackages.com/badges/devoceanlt-camunda/health.svg)](https://phpackages.com/packages/devoceanlt-camunda)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[laravolt/camunda

High level model, something like Eloquent, to interact with Camunda resources via REST API

2115.5k1](/packages/laravolt-camunda)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
