PHPackages                             superbuddy/cmpayservice - 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. superbuddy/cmpayservice

ActiveLibrary[Payment Processing](/categories/payments)

superbuddy/cmpayservice
=======================

Use the CM Pay service with Laravel

015PHP

Since Aug 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/SuperBuddy/CmPayService)[ Packagist](https://packagist.org/packages/superbuddy/cmpayservice)[ RSS](/packages/superbuddy-cmpayservice/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

CmPayService
============

[](#cmpayservice)

CmPayService is a Laravel package for the API of CM Payments. (pay.cm.nl)

How to use it:
==============

[](#how-to-use-it)

composer
--------

[](#composer)

Require it:

- "CJSDevelopment/CmPayService" : "dev-master"

app.php
-------

[](#appphp)

Add the following data:

### ServiceProvider

[](#serviceprovider)

- 'CJSDevelopment\\CmPayServiceProvider'

### Facade

[](#facade)

- 'PaymentService' =&gt; 'CJSDevelopment\\CmPayService',

Deploy / Update
---------------

[](#deploy--update)

Execute the following commands in your console:

- sudo composer selfupdate
- sudo composer update
- sudo php artisan vendor:publish

Config
======

[](#config)

After executing the vendor:publish command you will find a config file in the Laravel config folder. Fill the Mandatory fields, check the optional.

Don't forget to fill in the right company name and product token

Usage in your code:
===================

[](#usage-in-your-code)

Initializing
------------

[](#initializing)

For payment methods &amp; options:

- CmPayService::getPaymentMethods($amount (should be integer));

Executing
---------

[](#executing)

To forward the customer to the payment screen of their financial instance.

- CmPayService::getTransactionUrl($amount, $method, $option, $parameters);

\#$Description1$amountThe amount of the order to process2$methodThe Payment method, this can be iDeal, Mr. Cash, etc3$optionThe Payment option, depends on the $method.4$parametersThis is an array with multiple key's as informationThe Parameters options:

KeyDescriptionType"reference"The reference for the ordervarchar"return\_url"The base URL that gets returned tourl"success\_url"The part that goes behind the base URLtext"fail\_url"The part that goes behind the base URLtext"cancel\_url"The part that goes behind the base URLtext"error\_url"The part that goes behind the base URLtextCheck
-----

[](#check)

- You can check it yourself by your own lovings.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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/19798455?v=4)[Super Buddy](/maintainers/superbuddy)[@SuperBuddy](https://github.com/SuperBuddy)

---

Top Contributors

[![zkhcj](https://avatars.githubusercontent.com/u/179002662?v=4)](https://github.com/zkhcj "zkhcj (31 commits)")[![jurienhamaker](https://avatars.githubusercontent.com/u/5418114?v=4)](https://github.com/jurienhamaker "jurienhamaker (1 commits)")

### Embed Badge

![Health badge](/badges/superbuddy-cmpayservice/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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