PHPackages                             darkmira/drop-robotapi - 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. darkmira/drop-robotapi

ActiveLibrary[API Development](/categories/api)

darkmira/drop-robotapi
======================

04PHP

Since Mar 12Pushed 8y agoCompare

[ Source](https://github.com/alcalyn/drop-robotapi)[ Packagist](https://packagist.org/packages/darkmira/drop-robotapi)[ RSS](/packages/darkmira-drop-robotapi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Drop Robot API
==============

[](#drop-robot-api)

PHP scripts to make a drop robot move and rotate.

Install
-------

[](#install)

```
git clone git@github.com:Darkmira/drop-robotapi.git
cd drop-robotapi/

# Create your .env from distribution and edit it
cp .env.dist .env

# Using docker on RaspberryPi or x64 PC ?
cp docker/docker-compose.arm.yml docker-compose.override.yml # For RaspberryPi
cp docker/docker-compose.amd.yml docker-compose.override.yml # For x64 PC (for develop and testing purpose)

make
```

Usage
-----

[](#usage)

Just call the script you want among:

- `forward.php`
- `backward.php`
- `left.php`
- `right.php`

Example:

```
./bin/forward.php
# or
php bin/forward.php
```

Or using docker:

```
make bash

./bin/forward.php
```

Wiring
------

[](#wiring)

[![Robot wiring](drop-robotapi-wiring.png)](drop-robotapi-wiring.png)

The pins used on the Raspberry Pi are the one configured in `.env` file.

You may need to change them, or switch left and right motors, and/or `A` and `B` pins, depending on how you wired motors and L298N controller.

License
-------

[](#license)

This library is under [MIT License](LICENSE).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/17f0c4d65197a7aed6ecc8fdedd5a097c7238c9be19aca08c92c05d38fd8c29e?d=identicon)[alcalyn](/maintainers/alcalyn)

---

Top Contributors

[![alcalyn](https://avatars.githubusercontent.com/u/1588144?v=4)](https://github.com/alcalyn "alcalyn (7 commits)")

### Embed Badge

![Health badge](/badges/darkmira-drop-robotapi/health.svg)

```
[![Health](https://phpackages.com/badges/darkmira-drop-robotapi/health.svg)](https://phpackages.com/packages/darkmira-drop-robotapi)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/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/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

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