PHPackages                             rulecom/api-wrapper - 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. rulecom/api-wrapper

ActiveLibrary[API Development](/categories/api)

rulecom/api-wrapper
===================

Api wrapper for the RULE mailer.

v1.0.11(2y ago)416.9k↓35.9%2[2 issues](https://github.com/rulecom/api-wrapper/issues)1MITPHPCI failing

Since Jun 6Pushed 2y ago4 watchersCompare

[ Source](https://github.com/rulecom/api-wrapper)[ Packagist](https://packagist.org/packages/rulecom/api-wrapper)[ RSS](/packages/rulecom-api-wrapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (26)Used By (1)

RULE api wrapper
================

[](#rule-api-wrapper)

Package wrapping an [RULE Mailer api](https://rule.se/apidoc/) using an `guzzlehttp` client as backend for the requests

Installation
============

[](#installation)

Regular composer installation supposed, like: `composer require rulecom/api-wrapper`

Integration with Laravel
========================

[](#integration-with-laravel)

Use `src/LaravelServiceProvider.php` to register API instances in your application. Create `config/rule-api.php` file for the API configuration.

Then you'll be able to disectly use configured API classes

```
use Rule\ApiWrapper\Api\V2\Subscriber\Subscriber;

class Foo
{
    private $subscriberApi;

    public function __construct(Subscriber $subscriberApi)
    {
        $this->subscriberApi = $subscriberApi;
    }

    public function createMeSomeSubscriber($params)
    {
        //... do something
        $this->subscriberApi->create([
            'email' => $email,
            //... see docs for detailes
        ]);
    }
}
```

Docs
====

[](#docs)

For the docs please refer [docs](docs/README.md) folder in this repository.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 70.8% 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 ~231 days

Recently: every ~450 days

Total

12

Last Release

1005d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37244c963d1f8934343a2c9b819c7163b8032536e9541a24a572063b1b0e2bc6?d=identicon)[Rule](/maintainers/Rule)

---

Top Contributors

[![athe0i](https://avatars.githubusercontent.com/u/16416581?v=4)](https://github.com/athe0i "athe0i (51 commits)")[![shamota](https://avatars.githubusercontent.com/u/13556808?v=4)](https://github.com/shamota "shamota (8 commits)")[![Stan64](https://avatars.githubusercontent.com/u/5774706?v=4)](https://github.com/Stan64 "Stan64 (5 commits)")[![IrynaMlshvk](https://avatars.githubusercontent.com/u/34026400?v=4)](https://github.com/IrynaMlshvk "IrynaMlshvk (3 commits)")[![ihor-ahapov](https://avatars.githubusercontent.com/u/21176994?v=4)](https://github.com/ihor-ahapov "ihor-ahapov (2 commits)")[![vestman](https://avatars.githubusercontent.com/u/564243?v=4)](https://github.com/vestman "vestman (1 commits)")[![guram-vashakidze](https://avatars.githubusercontent.com/u/44259509?v=4)](https://github.com/guram-vashakidze "guram-vashakidze (1 commits)")[![olegisk](https://avatars.githubusercontent.com/u/871275?v=4)](https://github.com/olegisk "olegisk (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rulecom-api-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/rulecom-api-wrapper/health.svg)](https://phpackages.com/packages/rulecom-api-wrapper)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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