https://github.com/frdl/oid2weid
OID 2 WEID Konverter
https://github.com/frdl/oid2weid
oid
Last synced: 5 months ago
JSON representation
OID 2 WEID Konverter
- Host: GitHub
- URL: https://github.com/frdl/oid2weid
- Owner: frdl
- License: mit
- Created: 2019-11-05T07:54:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-28T18:24:40.000Z (almost 5 years ago)
- Last Synced: 2025-05-11T05:47:19.318Z (about 1 year ago)
- Topics: oid
- Language: PHP
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oid2weid
OID 2 WEID Konverter
Converts an OID to WEID or a WEID to an OID.
## What is WEID?
https://look-up.webfan3.de/?goto=oid%3A1.3.6.1.4.1.37553.8
## Usage
```php
$oid = '1.3.6.1.4.1.37553.8.9';
$weid = \WeidOidConverter::oid2weid($oid); // weid:9-1
$oid2 = \WeidOidConverter::weid2oid($weid);
print_r(($oid ===$oid2) ? 'OK' : 'ERROR');
```
## Authors
https://www.viathinksoft.com