PHPackages                             sch-group/postaffiliate-pro - 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. sch-group/postaffiliate-pro

ActiveLibrary

sch-group/postaffiliate-pro
===========================

Post affiliate pro connector

v1.6(4y ago)09.2k↓46.9%MITPHPPHP &gt;=7.2

Since Apr 6Pushed 4y ago2 watchersCompare

[ Source](https://github.com/sch-group/postaffiliate-pro)[ Packagist](https://packagist.org/packages/sch-group/postaffiliate-pro)[ RSS](/packages/sch-group-postaffiliate-pro/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

POSTAFFILIATE-PRO partner program integration

@ainurecm telegram

```
composer require sch-group/postaffiliate-pro
```

Create sale:

```
$postAffiliateConfig = new PostAffiliateConfig($config['host'], $config['login'], $config['password']);
$saleGenerator = new PostAffiliateSaleGenerator($postAffiliateConfig);
$testSale = new SaleData(
            'accountId',
            1,
            "1234",
            "127.0.0.1",// ip of sale
            SaleData::PENDING_STATUS,
            "ce0efd75" // banner id
        );

 $saleGenerator->createSaleBy($testSale);

```

Find sale:

```
$saleFinder = new PostAffiliateSaleFinder($postAffiliateConfig);
$orderNumber = 'test_order_number';
$sales  = $saleFinder->findSalesBy($orderNumber);
$sale = $saleFinder->findFirstSaleBy($orderNumber);

```

Update sale's status:

```
$statusChanger = new PostAffiliateSaleStatusChanger($postAffiliateConfig);
$orderNumber = 'test_order_number';
$sale = $saleFinder->findFirstSaleBy($orderNumber);
$statusChanger->changeSaleStatus($sale->getTransactionId(), SaleData::APPROVED_STATUS);

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

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

Every ~28 days

Total

7

Last Release

1697d ago

PHP version history (2 changes)v1.0PHP ^7.2

v1.4PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16875434?v=4)[aahmetgaliev](/maintainers/ainurqa95)[@ainurqa95](https://github.com/ainurqa95)

---

Top Contributors

[![ainurqa95](https://avatars.githubusercontent.com/u/16875434?v=4)](https://github.com/ainurqa95 "ainurqa95 (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sch-group-postaffiliate-pro/health.svg)

```
[![Health](https://phpackages.com/badges/sch-group-postaffiliate-pro/health.svg)](https://phpackages.com/packages/sch-group-postaffiliate-pro)
```

PHPackages © 2026

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