PHPackages                             dataplans/dataplans-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. [API Development](/categories/api)
4. /
5. dataplans/dataplans-php

ActiveLibrary[API Development](/categories/api)

dataplans/dataplans-php
=======================

A PHP library designed specifically to connect with DataPlans API.

v1.0.3(5y ago)161Apache-2.0PHPPHP &gt;=5.6.0CI failing

Since Jul 24Pushed 5y ago2 watchersCompare

[ Source](https://github.com/DataPlans-io/dataplans-php)[ Packagist](https://packagist.org/packages/dataplans/dataplans-php)[ Docs](https://www.dataplans.io)[ RSS](/packages/dataplans-dataplans-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

DataPlans PHP Client
====================

[](#dataplans-php-client)

[![PHPUnit](https://github.com/thebusted/dataplans-php/workflows/PHPUnit/badge.svg)](https://github.com/thebusted/dataplans-php/workflows/PHPUnit/badge.svg)[![CircleCI](https://camo.githubusercontent.com/a37328698bd76d1be73264c9b5c6f6e297340c0a835ab6fba6ed24935b44f11c/68747470733a2f2f636972636c6563692e636f6d2f67682f7468656275737465642f64617461706c616e732d7068702e7376673f7374796c653d736869656c64)](https://circleci.com/gh/thebusted/dataplans-php)

`dataplans-php` is a library designed specifically to connect with DataPlans API written in PHP. API document [here](https://app.dataplans.io/docs/v1#/)

Please pop onto our community forum or contact  if you have any question regarding this library and the functionality it provides.

Requirements
------------

[](#requirements)

- PHP v5.6 and above.
- Built-in [libcurl](http://php.net/manual/en/book.curl.php) support.

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

[](#configuration)

### • Config your token and environment

[](#-config-your-token-and-environment)

This API allows you to buy travel eSIM data plans in QR code format. Sign up and receive your api-key to test the API. (these can be found at the [DataPlans Dashboard](https://esims.dataplans.io/dashboard).).

Place the following code next to a line where DataPlans-PHP library is loaded.

```
define('DATAPLANS_TOKEN', '***'); // Access token
define('DATAPLANS_API_MODE', 'sandbox'); // Allow sandbox or esim
define('DATAPLANS_API_VERSION', 1); // API version
```

*Reference: .*

ー

Development and Testing
-----------------------

[](#development-and-testing)

To run an automated test suite, make sure you already have a [PHPUnit](https://phpunit.de) in your local machine. Then run the PHPUnit:

```
phpunit tests
```

License
-------

[](#license)

DataPlans-PHP is open-sourced software released under the [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0.html).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2125d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2426185?v=4)[THEBUSTED](/maintainers/thebusted)[@thebusted](https://github.com/thebusted)

---

Top Contributors

[![thebusted](https://avatars.githubusercontent.com/u/2426185?v=4)](https://github.com/thebusted "thebusted (48 commits)")

---

Tags

esimdataplans

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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