PHPackages                             danielmarschall/oidconverter - 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. danielmarschall/oidconverter

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

danielmarschall/oidconverter
============================

OID/DER converter

32651C

Since Feb 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/danielmarschall/oidconverter)[ Packagist](https://packagist.org/packages/danielmarschall/oidconverter)[ RSS](/packages/danielmarschall-oidconverter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

OID/DER converter for C and PHP
===============================

[](#oidder-converter-for-c-and-php)

Current version: [1.3](https://github.com/m9aertner/oidConverter)+viathinksoft12

Functionalities
---------------

[](#functionalities)

- Encode **absolute** OID in dot-notation (`"2.999.1234"`) into Hex-String (`"06 04 88 37 89 52"`)
- Encode **absolute** OID in dot-notation (`"2.999.1234"`) into C-Hex-String (`"\x06\x04\x88\x37\x89\x52"`)
- Encode **absolute** OID in dot-notation (`"2.999.1234"`) into C-Array (`{ 0x06, 0x04, 0x88, 0x37, 0x89, 0x52 }`)
- Encode **relative** OID in dot-notation (`"1234"`) into Hex-String (`"0D 02 89 52"`)
- Encode **relative** OID in dot-notation (`"1234"`) into C-Hex-String (`"\x0D\x02\x89\x52"`)
- Encode **relative** OID in dot-notation (`"1234"`) into C-Array (`{ 0x0D, 0x02, 0x89, 0x52 }`)
- Decode Hex-Notation (`"06 04 88 37 89 52"` or `"\x06\x04\x88\x37\x89\x52"` or `{ 0x06, 0x04, 0x88, 0x37, 0x89, 0x52 }`) into dot-notation (`"2.999.1234"`)

Acknowledgements
----------------

[](#acknowledgements)

Object ID converter by [Matthias Gärtner](http://www.rtner.de/software/oid.html), 06/1999. Converted to plain 'C' 07/2001.

Heavily improved version by Daniel Marschall, ViaThinkSoft June-July 2011.

Translated from C to PHP by Daniel Marschall, ViaThinkSoft.

September 2022: Synchronized to upstream version 1.3 (added `-c` argument).

License
-------

[](#license)

Work of original author: "Freeware - do with it whatever you want. Use at your own risk. No warranty of any kind."

Work of Daniel Marschall (PHP): Licensed under the Apache 2.0 license

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity20

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://www.gravatar.com/avatar/e3a3ef0452f1d6ecc846289b368b332f61897b6381e947a3635e733be23f6f54?d=identicon)[danielmarschall](/maintainers/danielmarschall)

---

Top Contributors

[![danielmarschall](https://avatars.githubusercontent.com/u/28412477?v=4)](https://github.com/danielmarschall "danielmarschall (12 commits)")

### Embed Badge

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

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

###  Alternatives

[tatter/visits

Lightweight traffic tracking for CodeIgniter 4

318.6k2](/packages/tatter-visits)[jsyqw/potato-bot

poptato chat, potato-bot sdk

181.1k](/packages/jsyqw-potato-bot)

PHPackages © 2026

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