PHPackages                             esyoil-gmbh/onencews - 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. esyoil-gmbh/onencews

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

esyoil-gmbh/onencews
====================

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

010PHP

Since Feb 3Pushed 3y agoCompare

[ Source](https://github.com/esyoil-GmbH/1nce)[ Packagist](https://packagist.org/packages/esyoil-gmbh/onencews)[ RSS](/packages/esyoil-gmbh-onencews/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

OnenceWS
========

[](#onencews)

OnenceWS Http client for official 1nce rest api

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

[](#installation)

```
composer require pipinstallpip/onencews:dev-master
```

Make sure that you have the PHP Module for `APCu` enabled and loaded. This is used to store the oauth2-token for subsequent requests, so we do not exhaust the ratelimit of the Endpoint. You can check this by running:

```
php -m | grep apcu
```

in your terminal.

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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.1% 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://www.gravatar.com/avatar/e3ffeae5fd77848c6fc967341d319d9eb53315579b1652a5a4faba2f12dcef9b?d=identicon)[bennet-esyoil](/maintainers/bennet-esyoil)

---

Top Contributors

[![bennet-esyoil](https://avatars.githubusercontent.com/u/48118908?v=4)](https://github.com/bennet-esyoil "bennet-esyoil (18 commits)")[![antroy97](https://avatars.githubusercontent.com/u/32514892?v=4)](https://github.com/antroy97 "antroy97 (10 commits)")[![pipinstallpip](https://avatars.githubusercontent.com/u/62101194?v=4)](https://github.com/pipinstallpip "pipinstallpip (1 commits)")

### Embed Badge

![Health badge](/badges/esyoil-gmbh-onencews/health.svg)

```
[![Health](https://phpackages.com/badges/esyoil-gmbh-onencews/health.svg)](https://phpackages.com/packages/esyoil-gmbh-onencews)
```

###  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.9k](/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.4M91](/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)
