PHPackages                             activecollab/payments - 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. [Payment Processing](/categories/payments)
4. /
5. activecollab/payments

ActiveLibrary[Payment Processing](/categories/payments)

activecollab/payments
=====================

Abstract interface for preparing orders and processing payments

1.0.1(7y ago)215.5k11MITPHPPHP &gt;=7.1

Since May 7Pushed 7y ago4 watchersCompare

[ Source](https://github.com/activecollab/payments)[ Packagist](https://packagist.org/packages/activecollab/payments)[ Docs](https://labs.activecollab.com)[ RSS](/packages/activecollab-payments/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (4)Versions (23)Used By (1)

Payments
========

[](#payments)

[![Build Status](https://camo.githubusercontent.com/432decd94591eae99cf7ac94af037bd7759e6a5c5ee490d230ce6eaac60502df/68747470733a2f2f7472617669732d63692e6f72672f616374697665636f6c6c61622f7061796d656e74732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/activecollab/payments)

Prepare orders and receive payments. *Concept and exploration. We'll see where it will lead us.*

Order lifecycle events:

1. Completed,
2. Partially refunded,
3. Fully refunded.

Subscription lifecycle events:

1. Activation,
2. Successful rebill,
3. Failed rebill,
4. Change,
5. Deactivation.

When gateway listens to notifications from the gateway service, it should use `ActiveCollab\Payments\Dispatcher` instance to dispatch events so application can react to these order and/or subscription changes.

Working with Addresses
----------------------

[](#working-with-addresses)

Address Interfaces
------------------

[](#address-interfaces)

`ActiveCollab\Payments\Address\AddressInterface` describe an address. It can be used to define an address of an organization, or of an individual. In case of organizations, we can also keep track of tax ID, for invoicing purposes.

Addresses Interfaces
--------------------

[](#addresses-interfaces)

`ActiveCollab\Payments\Address\AddressesInterface` is used to handle situations where addressible object can have more than one address. For example, a merchant can have multiple locations, or it can change primary location at some point in time. Not having other addresses, or lossing info about previous addresses may not be acceptible, so we have to keep track about all addresses associated with the object.

Addresses interface can be combined with of following interfaces, when we want to specify a default address:

1. `ActiveCollab\Payments\Address\OptionalDefaultAddressInterface` when default address is optional,
2. `ActiveCollab\Payments\Address\RequiredDefaultAddressInterface` when default address is required.

To do:
------

[](#to-do)

1. Subscription change should have the new total and new items.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 91.2% 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 ~57 days

Recently: every ~227 days

Total

21

Last Release

2566d ago

Major Versions

0.10.17 → v1.0.x-dev2019-06-23

PHP version history (2 changes)0.10.0PHP &gt;=7.0.0

0.10.12PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/729914?v=4)[Ilija Studen](/maintainers/ilijastuden)[@ilijastuden](https://github.com/ilijastuden)

---

Top Contributors

[![ilijastuden](https://avatars.githubusercontent.com/u/729914?v=4)](https://github.com/ilijastuden "ilijastuden (197 commits)")[![vladanJovic](https://avatars.githubusercontent.com/u/7225830?v=4)](https://github.com/vladanJovic "vladanJovic (17 commits)")[![AleksandarVucenic](https://avatars.githubusercontent.com/u/823639?v=4)](https://github.com/AleksandarVucenic "AleksandarVucenic (1 commits)")[![perajovic](https://avatars.githubusercontent.com/u/747716?v=4)](https://github.com/perajovic "perajovic (1 commits)")

---

Tags

paymentsactivecollab

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/activecollab-payments/health.svg)

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

###  Alternatives

[srmklive/paypal

PayPal REST API client for Laravel and standalone PHP.

1.2k4.2M30](/packages/srmklive-paypal)[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

6501.1M11](/packages/unicodeveloper-laravel-paystack)[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5211.1M12](/packages/ignited-laravel-omnipay)[recurly/recurly-client

The PHP client library for the Recurly API

1736.6M9](/packages/recurly-recurly-client)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[amzn/amazon-pay-api-sdk-php

Amazon Pay API SDK (PHP)

515.5M13](/packages/amzn-amazon-pay-api-sdk-php)

PHPackages © 2026

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