PHPackages                             payum/payum-server - 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. payum/payum-server

ActiveProject[Payment Processing](/categories/payments)

payum/payum-server
==================

PHP 7.1+ Payment processing server. Setup once and rule them all

0.13.0(11y ago)11731731[3 issues](https://github.com/Payum/PayumServer/issues)[1 PRs](https://github.com/Payum/PayumServer/pulls)MITPHPPHP &gt;=5.5.0

Since Apr 18Pushed 7y ago10 watchersCompare

[ Source](https://github.com/Payum/PayumServer)[ Packagist](https://packagist.org/packages/payum/payum-server)[ Docs](http://payum.forma-dev.com)[ RSS](/packages/payum-payum-server/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (23)Versions (10)Used By (0)

Supporting Payum
----------------

[](#supporting-payum)

Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider:

- [Become a sponsor](https://www.patreon.com/makasim)
- [Become our client](http://forma-pro.com/)

---

PayumServer.
============

[](#payumserver)

[![Join the chat at https://gitter.im/Payum/Payum](https://camo.githubusercontent.com/9df1169d4fdf3402dc39285c6bdf197bcabe9ae40eea444c793954254ba910d8/68747470733a2f2f6261646765732e6769747465722e696d2f506179756d2f506179756d2e737667)](https://gitter.im/Payum/Payum?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Build Status](https://camo.githubusercontent.com/807cab454fa1f10a7937b11308bac1862b2aa13c966094e88eabdffd2371d4d9/68747470733a2f2f7472617669732d63692e6f72672f506179756d2f506179756d5365727665722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Payum/PayumServer)[![Total Downloads](https://camo.githubusercontent.com/1113cd75eca8abdad3ed2b568b1c136b6fa173e141c20996bfdb20acc61840ad/68747470733a2f2f706f7365722e707567782e6f72672f706179756d2f706179756d2d7365727665722f642f746f74616c2e706e67)](https://packagist.org/packages/payum/payum-server)[![Latest Stable Version](https://camo.githubusercontent.com/c99998bcd4f64f2f2dc1868d9f00cb28e55392bbb64a6371c4fe3a6bb3e5add9/68747470733a2f2f706f7365722e707567782e6f72672f706179756d2f706179756d2d7365727665722f76657273696f6e2e706e67)](https://packagist.org/packages/payum/payum-server)

PHP 7.1+ Payment processing server. Setup once and rule them all. [Here](https://medium.com/@maksim_ka2/your-personal-payment-processing-server-abcc8ed76804#.23mlps63n) you can find a good introduction to what it does and what problems it solves.

Try it online:
--------------

[](#try-it-online)

- Demo:
- Backend: [https://server-ui.payum.forma-pro.com](https://server-ui.payum.forma-pro.com/#!/app/settings?api=https:%2F%2Fserver.payum.forma-pro.com)
- Server:

Run local server
----------------

[](#run-local-server)

Create docker-compose.yml file:

```
version: '2'
services:
  payum-server:
    image: payum/server
    environment:
      - PAYUM_MONGO_URI=mongodb://mongo:27017/payum_server
      - PAYUM_DEBUG=1
    links:
      - mongo
    ports:
      - "8080:80"

  mongo:
    image: mongo
```

and run `docker-compose up`. You server will be at `localhost:8080` port.

Test local server
-----------------

[](#test-local-server)

1. Copy `.test.env.dist` to `.test.env`
2. Run `bin/phpunit`

Docker registry
---------------

[](#docker-registry)

The [payum/server](https://hub.docker.com/r/payum/server/) image and [payum/server-ui](https://hub.docker.com/r/payum/server-ui/) are built automatically on success push to the master branch.

Setup &amp; Run
---------------

[](#setup--run)

```
$ php composer.phar create-project payum/payum-server --stability=dev
$ cd payum-server
$ php -S 127.0.0.1:8000 web/app.php
```

An example on javascript:

```
  // do new payment
  var payum = new Payum('http://localhost:8000');

  var payment = {totalAmount: 100, currencyCode: 'USD'};

  payum.payment.create(payment, function(payment) {
    var token = {
        type: 'capture',
        paymentId: payment.id,
        afterUrl: 'http://afterPaymentIsDoneUrl'
    };

    payum.token.create(token, function(token) {
      // do redirect to token.targetUrl or process at the same page like this:
      payum.execute(token.targetUrl, '#payum-container');
    });
  });
```

***Note**: You might need a [web client](https://github.com/Payum/PayumServerUI) to manage payments gateways or you can use REST API.*

[Site](https://payum.forma-pro.com/)

Developed by Forma-Pro
----------------------

[](#developed-by-forma-pro)

Forma-Pro is a full stack development company which interests also spread to open source development. Being a team of strong professionals we have an aim an ability to help community by developing cutting edge solutions in the areas of e-commerce, docker &amp; microservice oriented architecture where we have accumulated a huge many-years experience. Our main specialization is Symfony framework based solution, but we are always looking to the technologies that allow us to do our job the best way. We are committed to creating solutions that revolutionize the way how things are developed in aspects of architecture &amp; scalability.

If you have any questions and inquires about our open source development, this product particularly or any other matter feel free to contact at

License
-------

[](#license)

Code MIT [licensed](LICENSE.md).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.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.

###  Release Activity

Cadence

Every ~143 days

Total

5

Last Release

3837d ago

Major Versions

0.13.x-dev → 1.0.0-alpha12015-11-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4ac9e6a18ae68dd3f81d0cb5a723459970b208fc60187ea8329d69a8d437f22?d=identicon)[makasim](/maintainers/makasim)

---

Top Contributors

[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (275 commits)")[![Vitaliy-Svinchyak](https://avatars.githubusercontent.com/u/12909263?v=4)](https://github.com/Vitaliy-Svinchyak "Vitaliy-Svinchyak (3 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (1 commits)")[![Jaike](https://avatars.githubusercontent.com/u/4459806?v=4)](https://github.com/Jaike "Jaike (1 commits)")[![Zifius](https://avatars.githubusercontent.com/u/696727?v=4)](https://github.com/Zifius "Zifius (1 commits)")

---

Tags

dockerpaymentpayment-serverpaypalsilexstripesymfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/payum-payum-server/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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