PHPackages                             devmehq/sdk-php - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. devmehq/sdk-php

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

devmehq/sdk-php
===============

DEV.ME SDK for PHP

1.0.0(4y ago)2121[1 issues](https://github.com/devmehq/devme-sdk-php/issues)[5 PRs](https://github.com/devmehq/devme-sdk-php/pulls)MITPHPPHP &gt;=7.3CI failing

Since Jan 20Pushed 2w ago1 watchersCompare

[ Source](https://github.com/devmehq/devme-sdk-php)[ Packagist](https://packagist.org/packages/devmehq/sdk-php)[ Docs](https://github.com/devmehq/devme-sdk-php)[ RSS](/packages/devmehq-sdk-php/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (10)Used By (0)

DEV.ME SDK for PHP
==================

[](#devme-sdk-for-php)

[![Build Status](https://github.com/devmehq/devme-sdk-php/actions/workflows/ci.yml/badge.svg)](https://github.com/devmehq/devme-sdk-php/actions/workflows/ci.yml)[![Composer Version](https://camo.githubusercontent.com/d58182d560bd223f9fab652cc5805d2763bb97077d6492398cd147eeb6e2fa1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465766d6568712f73646b2d706870)](https://packagist.org/packages/devmehq/sdk-php)[![Downloads](https://camo.githubusercontent.com/759ad6f1d1f5d65e8ab1b73193e01d7842b21b81234e4efa9ee5833cb5d00e9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6465766d6568712f73646b2d706870)](https://packagist.org/packages/devmehq/sdk-php)

DEV.ME SDK for PHP

> Works with php version &gt;= 7.1, Compatible with all PHP Frameworks like laravel, symfony, wordpress, etc.

Get Your Free API Key
---------------------

[](#get-your-free-api-key)

[Signup Here](https://dev.me/signup) and Get Your Free API Key

Installation and usage instructions
-----------------------------------

[](#installation-and-usage-instructions)

Installation
------------

[](#installation)

Install the module through YARN:

```
composer require devmehq/sdk-php
```

Examples
--------

[](#examples)

### Currency API Conversion

[](#currency-api-conversion)

```
use DevmeSdk\Authentication\APIKeyHeaderAuthentication;
use Jane\Component\OpenApiRuntime\Client\Plugin\AuthenticationRegistry;

$authenticationRegistry = new AuthenticationRegistry([new APIKeyHeaderAuthentication('demo-key')]);
$apiClient = \DevmeSdk\Client::create(null, [$authenticationRegistry]);

$apiClient->v1ConvertCurrency(['from' => 'USD', 'to' => 'EUR', 'amount' => 10]);

// {
//   convertedAmount: 8.819,
//   convertedText: '10 USD equal to 8.819 EUR',
//   exchangeRate: 0.8819,
//   from: 'USD',
//   originalAmount: 10,
//   rateTime: '2022-01-20T14:49:28.046Z',
//   to: 'EUR'
// }
```

### IP API Geolocation, IP2Location, IP Data

[](#ip-api-geolocation-ip2location-ip-data)

```
use DevmeSdk\Authentication\APIKeyHeaderAuthentication;
use Jane\Component\OpenApiRuntime\Client\Plugin\AuthenticationRegistry;

$authenticationRegistry = new AuthenticationRegistry([new APIKeyHeaderAuthentication('demo-key')]);
$apiClient = \DevmeSdk\Client::create(null, [$authenticationRegistry]);

$apiClient->v1GetIpDetails([ 'ip' => '52.45.23.11']);

// {
//   asn: 14618,
//   aso: 'AMAZON-AES',
//   city: {
//   accuracyRadius: 1000,
//     latitude: 39.0469,
//     longitude: -77.4903,
//     metroCode: 511,
//     name: 'Ashburn',
//     timeZone: 'America/New_York',
//   },
//   countryCode: 'US',
//   ip: '52.45.23.11',
//   registeredCountryCode: 'US',
// }
```

### Avanced Email Validation API

[](#avanced-email-validation-api)

```
use DevmeSdk\Authentication\APIKeyHeaderAuthentication;
use Jane\Component\OpenApiRuntime\Client\Plugin\AuthenticationRegistry;

$authenticationRegistry = new AuthenticationRegistry([new APIKeyHeaderAuthentication('demo-key')]);
$apiClient = \DevmeSdk\Client::create(null, [$authenticationRegistry]);

$apiClient->v1GetEmailDetails(['email' => 'myemail@yahoo.com', 'verifyMx' => true, 'verifySmtp' => true, 'timeout' => 3]);

// {
//   validFormat: true,
//   validMx: true,
//   validSmtp: true,
//   isFree: true,
//   isDisposable: false
// }
```

Testing
-------

[](#testing)

```
composer test
```

Need Help?
----------

[](#need-help)

If you need help please drop us a message, we would be glad to help @ [Contact us](http://dev.me/contact-us)

Contributing
------------

[](#contributing)

Please feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome. Thank you!

LICENSE [MIT](LICENSE.md)
-------------------------

[](#license-mit)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance53

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~11 days

Total

3

Last Release

1604d ago

Major Versions

0.0.2 → 1.0.02022-02-11

PHP version history (2 changes)0.0.1PHP &gt;=7.1

0.0.2PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/e0688fa386c5dbcbb27c78b325cf9a957ddf8b07c3bf53271060e2a32aa91975?d=identicon)[meabed](/maintainers/meabed)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (196 commits)")[![meabed](https://avatars.githubusercontent.com/u/45731?v=4)](https://github.com/meabed "meabed (17 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")

---

Tags

currency-convertercurrency-exchangecurrency-exchange-ratesemail-stmp-verificationemail-verificationip-dataip-geolocationip-geolocation-apiip-geolocation-ip2locationip-location-lookupphone-number-validationphone-validationphpsdkvalidationurl shortenerverificationcurrency-converterOCRip2locationimage-to-textip geolocationemail-verificationcurrency-exchangeIP Infophone number validationEmail SMTP VerificationCurrency Converstion RatesIP DataImage to Text OCRText extractorOnetime Secret

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/devmehq-sdk-php/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6544.0M13](/packages/aporat-store-receipt-validator)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

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