PHPackages                             bmooij/onence - 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. bmooij/onence

ActiveLibrary

bmooij/onence
=============

(Unofficial) Http client for official 1nce rest api https://api.1nce.com

027PHP

Since May 25Pushed 4y agoCompare

[ Source](https://github.com/Bmooij/1nce)[ Packagist](https://packagist.org/packages/bmooij/onence)[ RSS](/packages/bmooij-onence/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (2)Used By (0)

OnenceWS
========

[](#onencews)

OnenceWS Http client for official 1nce rest api

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

[](#installation)

```
composer require bmooij/onence:dev-master
```

Usage
-----

[](#usage)

```
use pipinstallpip\onencews\OnenceWS;

$clientId = 'yourclientid';
$clientSecret = 'yoursecretkey';

$api = new OnenceWS($clientId,$clientSecret);
$response = $api->getSimsList(); //return all sims
print_r($response);
```

### Class methods

[](#class-methods)

- getSimsList
- getSimReachibility
- getSimUsage
- getSimRemainingData
- getSimRemainingSms
- getSmsList
- getSimInfo
- getSimStatus
- getSimEvents
- getSmsDetails
- sendSms
- resetSim
- changeSimState
- deleteSpecificSms

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

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.5% 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/9463244?v=4)[Bob](/maintainers/bmooij)[@Bmooij](https://github.com/Bmooij)

---

Top Contributors

[![antroy97](https://avatars.githubusercontent.com/u/32514892?v=4)](https://github.com/antroy97 "antroy97 (10 commits)")[![bmooij-beeliners](https://avatars.githubusercontent.com/u/135369992?v=4)](https://github.com/bmooij-beeliners "bmooij-beeliners (5 commits)")[![pipinstallpip](https://avatars.githubusercontent.com/u/62101194?v=4)](https://github.com/pipinstallpip "pipinstallpip (1 commits)")

### Embed Badge

![Health badge](/badges/bmooij-onence/health.svg)

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

PHPackages © 2026

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