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. [HTTP &amp; Networking](/categories/http)
4. /
5. bmooij/onence

ActiveLibrary[HTTP &amp; Networking](/categories/http)

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

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

027PHP

Since May 25Pushed 5y agoCompare

[ Source](https://github.com/Bmooij/1nce)[ Packagist](https://packagist.org/packages/bmooij/onence)[ RSS](/packages/bmooij-onence/feed)WikiDiscussions master Synced 3w 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

Maturity32

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)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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