PHPackages                             phpduino/phpduino - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpduino/phpduino

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpduino/phpduino
=================

This tool helps to send/receive information for an Arduino device or parallels, using usb port(initially of course)

5212PHP

Since Jul 30Pushed 9y ago4 watchersCompare

[ Source](https://github.com/vinnyfs89/PHPDuino)[ Packagist](https://packagist.org/packages/phpduino/phpduino)[ RSS](/packages/phpduino-phpduino/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPDuino
========

[](#phpduino)

This tool helps to send/receive information for an Arduino device or parallels, using USB port(initially of course).

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

[](#configuration)

Below we have some steps to check and make basic configs to use PHPDuino:

- Plug your Arduino Board using your USB port
- Check the usb port that are you using. This code may help you to get it: `$ ls -la /dev | grep usb`
- Give permission to read and write in your USB port location. Example: `$ sudo chmod 770 /dev/cu.usbmodem1411`
- You will need to know the speed of communication with USB port that will be used between the Arduino Board and Application, like 9000 or 16000, for example.
- In some cases is necessary to use an capacitor of 10u between Reset PIN and Ground Pin to works well.

Example 1 - Sending content
---------------------------

[](#example-1---sending-content)

```
$accessPort = "/dev/cu.usbmodem1411";
$objPHPDuino = new \PHPDuino\PHPDuino($accessPort);
$objPHPDuino->sendContentToDevice("Hello");

```

Example 2 - Getting content
---------------------------

[](#example-2---getting-content)

```
$accessPort = "/dev/cu.usbmodem1421";
$speedPort = 9600;
$objPHPDuino = new \PHPDuino\PHPDuino($accessPort, $speedPort);
var_dump($objPHPDuino->getContentFromDevice());

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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/7d4cf5c2e872f0708018598e79c47a77a24e04a6d74fdf8f654df96247045269?d=identicon)[vinnyfs89](/maintainers/vinnyfs89)

---

Top Contributors

[![oviniciusfeitosa](https://avatars.githubusercontent.com/u/3949238?v=4)](https://github.com/oviniciusfeitosa "oviniciusfeitosa (6 commits)")

### Embed Badge

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

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

PHPackages © 2026

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