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

ActiveLibrary[Payment Processing](/categories/payments)

cjsdevelopment/cmpayservice
===========================

Use the CM Pay service with Laravel

1882PHP

Since Jan 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/chilion/CmPayService)[ Packagist](https://packagist.org/packages/cjsdevelopment/cmpayservice)[ RSS](/packages/cjsdevelopment-cmpayservice/feed)WikiDiscussions master Synced 4w ago

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

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/43bfccd831035d4d912ade3ac36d754140b4ff6bcebc2331c397254e44980a97?d=identicon)[cjsdevelopment](/maintainers/cjsdevelopment)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18579.5k1](/packages/omnipay-coinbase)

PHPackages © 2026

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