PHPackages                             roiarthurb/openmole - 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. roiarthurb/openmole

ActiveLibrary[API Development](/categories/api)

roiarthurb/openmole
===================

PHP wrapper to communicate with the OpenMole platform.

v0.0.1(6y ago)05Apache-2.0PHPPHP &gt;=7.1CI failing

Since Mar 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper)[ Packagist](https://packagist.org/packages/roiarthurb/openmole)[ RSS](/packages/roiarthurb-openmole/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

[![Contributors](https://camo.githubusercontent.com/d4c1a46bb15f52bb5483a2e58adb6a9710b3a0ac43392f233cfcc1d7d90ca71a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f526f69417274687572422f4f70656e4d6f6c652d5048502d577261707065722e7376673f7374796c653d666c61742d737175617265)](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/graphs/contributors)[![Forks](https://camo.githubusercontent.com/fc9fa8211f8356957996bfcfa5368f32e3543e91f380192c5e8f41afc6c50def/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f526f69417274687572422f4f70656e4d6f6c652d5048502d577261707065722e7376673f7374796c653d666c61742d737175617265)](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/network/members)[![Stargazers](https://camo.githubusercontent.com/44f924b2bb3005095002324ca5d89ff4b8804c7b19c5d609806a22a236defa2b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f526f69417274687572422f4f70656e4d6f6c652d5048502d577261707065722e7376673f7374796c653d666c61742d737175617265)](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/stargazers)[![Issues](https://camo.githubusercontent.com/0813afb0dfb9ab54e8003bd0a637618c4d22159e34d79ef4785f21c5794bbd39/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f526f69417274687572422f4f70656e4d6f6c652d5048502d577261707065722e7376673f7374796c653d666c61742d737175617265)](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/issues)[![LGPL 2.1 License](https://camo.githubusercontent.com/41c3c1b8a082962fb895759bef3a50b4519294fd204d9a5a0750e0275713838e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f526f69417274687572422f4f70656e4d6f6c652d5048502d577261707065722e7376673f7374796c653d666c61742d737175617265)](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/blob/master/LICENSE)

 [ ![Logo](https://camo.githubusercontent.com/6f8ccf440d7c2178bf895370a2ce86e5dbd460834d9f788a22ae0f1e0c9b7561/68747470733a2f2f692e696d6775722e636f6d2f445732657241562e706e67) ](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper)

### OpenMole PHP Wrapper

[](#openmole-php-wrapper)

 PHP wrapper to communicate easily with the OpenMole REST API
 [**Explore the docs »**](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper#table-of-contents)

 [Report Bug](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/issues) · [Request Feature](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/issues)

Table of Contents
-----------------

[](#table-of-contents)

- [About the Project](#about-the-project)
    - [Built With](#built-with)
- [Getting Started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation from `composer` (the easy way)](#installation-from-composer-the-easy-way)
    - [Installation from git](#installation-from-git)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Authors](#authors)
- [Acknowledgements](#acknowledgements)

About The Project
-----------------

[](#about-the-project)

This library has been made to more easily integrate the communication between your PHP application (I'm using it with the Lumen µFramework) and an OpenMole REST API !

So this library will wrap all the exposed URL, send a curl request and return the result in an easy to use format for your PHP application.

### Built With

[](#built-with)

- [PHP &gt;= 7.1](https://www.php.net/downloads)
- [php7-libcurl](https://www.php.net/manual/en/book.curl.php)
- [OpenMole &gt;= 10.1](https://openmole.org/Download.html)

Getting Started
---------------

[](#getting-started)

To get a local copy up and running follow these simple steps.

### Prerequisites

[](#prerequisites)

This is an example of how to list and check version of things you need to have to use the library.

- php

```
$ php -v
PHP 7.4.3 (cli) (built: Feb 18 2020 15:35:13) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
```

- curl

```
$ curl -V
curl 7.69.0 (x86_64-pc-linux-gnu) libcurl/7.69.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.9.0 nghttp2/1.39.2
Release-Date: 2020-03-04
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
```

- composer

```
$ composer -V
Composer version 1.9.3 2020-02-04 12:58:49
```

### Installation from `composer` (the easy way)

[](#installation-from-composer-the-easy-way)

1. Move to the root folder of your application

```
$ cd /path/to/your/app
```

2. Make the library required

```
$ composer require roiarthurb/openmole
```

3. Install the required libraries

```
$ composer install
```

### Installation from git

[](#installation-from-git)

1. Clone the OpenMole-PHP-Wrapper

```
git clone https://github.com/RoiArthurB/OpenMole-PHP-Wrapper.git
```

2. Link/Use the lib in your application

Usage
-----

[](#usage)

### Create a OpenMole Wrapper instance

[](#create-a-openmole-wrapper-instance)

```
$myWrapper = new \RoiArthurB\OpenMole\OpenMole( $url = "api.myopenmole.org", $port = 8080, $https = false);
```

### Get full list of jobs running on your OpenMole instance

[](#get-full-list-of-jobs-running-on-your-openmole-instance)

```
$result = $myWrapper->getJobs();
var_dump($result); // array(2) { [0]=> object(stdClass)#34 (1) { ["id"]=> string(36) "1b303e8a-b739-46bb-8b9d-323c588e74ff" } [1]=> object(stdClass)#35 (1) { ["id"]=> string(36) "9a1d21e0-c9ed-42e8-b0f3-ba6de6abda53" } }
```

### Get a single job state

[](#get-a-single-job-state)

```
$result = $myWrapper->getJobState("1b303e8a-b739-46bb-8b9d-323c588e74ff");
var_dump($result); // object(stdClass)#34 (1) { ["state"]=> string(8) "finished" }
```

*For more examples, please refer to the [Documentation](https://github.com/RoiArthurB/OpenMole-PHP-Wrapper/wiki)*

Contributing
------------

[](#contributing)

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

License
-------

[](#license)

Distributed under the LGPL 2.1 License. See `LICENSE` for more information.

Authors
-------

[](#authors)

- **Arthur Brugiere** - *Initial work* - [RoiArthurB](https://github.com/RoiArthurB)

Project Link: OpenMole Project Link:

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.5% 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

Unknown

Total

1

Last Release

2262d ago

### Community

Maintainers

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

---

Top Contributors

[![RoiArthurB](https://avatars.githubusercontent.com/u/16764085?v=4)](https://github.com/RoiArthurB "RoiArthurB (19 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")

---

Tags

composerexplorationopenmolephpphp-librarygridoptimizeexploreOpenMoleNetLogoGAMAnumerical model

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/roiarthurb-openmole/health.svg)

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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