PHPackages                             diegotibi/dude - 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. [Database &amp; ORM](/categories/database)
4. /
5. diegotibi/dude

ActiveLibrary[Database &amp; ORM](/categories/database)

diegotibi/dude
==============

The Dude PHP DB toolbox

572PHP

Since Apr 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/diegotibi/dude)[ Packagist](https://packagist.org/packages/diegotibi/dude)[ RSS](/packages/diegotibi-dude/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

The Dude PHP DB toolbox
-----------------------

[](#the-dude-php-db-toolbox)

This simple php class can read from a Mikrotik dude.db sqlite database and extract various data.

Original idea from this forum thread:

Many thanks to NathanA for the original work and idea.

Based on the awesome work by 0ki:

Usage:

Clone this repo or use composer:

`composer require "diegotibi/dude"`

Download the dude.db from your device and run the code like this:

```
$db = new \DT\Dude('path_to/dude.db'));
$devices = $db->fetchDevices();

```

Take a look in example/index.php for a more detailed example.

### To do:

[](#to-do)

- Associate various record keys to the correct label
- Separate map links from device ones
- Implement Iterable traits to reduce memory consumption
- Write an encode method (I really don't have plans on this one)

If you want to improve this class just clone the repo and propose a pull request, I'll be glad to accept any help.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/25210612?v=4)[Diego Tibi](/maintainers/diegotibi)[@diegotibi](https://github.com/diegotibi)

---

Top Contributors

[![diegotibi](https://avatars.githubusercontent.com/u/25210612?v=4)](https://github.com/diegotibi "diegotibi (3 commits)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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