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(5y ago)03481MITPHPPHP &gt;=8.0

Since Jan 8Pushed 2y 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 3w 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

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

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

1866d 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://avatars.githubusercontent.com/u/90240413?v=4)[DevOceanLT](/maintainers/DevOceanLT)[@DevOceanLT](https://github.com/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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M972](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[moe-mizrak/laravel-openrouter

Laravel package for OpenRouter (A unified interface for LLMs)

154177.9k2](/packages/moe-mizrak-laravel-openrouter)[flat3/lodata

OData v4.01 Producer for Laravel

99351.7k](/packages/flat3-lodata)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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