2017 © Pedro Peláez
 

project skeleton

The Payum extension. Rapid extensino development

image

payum/skeleton

The Payum extension. Rapid extensino development

  • Friday, December 22, 2017
  • by makasim
  • Repository
  • 1 Watchers
  • 4 Stars
  • 557 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 12 Versions
  • 12 % Grown

The README.md

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:, (*1)


Skeleton

The Payum extension to rapidly build new extensions., (*2)

  1. Create new project
$ composer create-project payum/skeleton
  1. Replace all occurrences of payum with your vendor name. It may be your github name, for now let's say you choose: acme.
  2. Replace all occurrences of skeleton with a payment gateway name. For example Stripe, Paypal etc. For now let's say you choose: paypal.
  3. Register a gateway factory to the payum's builder and create a gateway:
<?php

use Payum\Core\PayumBuilder;
use Payum\Core\GatewayFactoryInterface;

$defaultConfig = [];

$payum = (new PayumBuilder)
    ->addGatewayFactory('paypal', function(array $config, GatewayFactoryInterface $coreGatewayFactory) {
        return new \Acme\Paypal\PaypalGatewayFactory($config, $coreGatewayFactory);
    })

    ->addGateway('paypal', [
        'factory' => 'paypal',
        'sandbox' => true,
    ])

    ->getPayum()
;
  1. While using the gateway implement all method where you get Not implemented exception:
<?php

use Payum\Core\Request\Capture;

$paypal = $payum->getGateway('paypal');

$model = new \ArrayObject([
  // ...
]);

$paypal->execute(new Capture($model));

Resources

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 & 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 & scalability., (*3)

If you have any questions and inquires about our open source development, this product particularly or any other matter feel free to contact at opensource@forma-pro.com, (*4)

License

Skeleton is released under the MIT License., (*5)

The Versions

22/12 2017

dev-master

9999999-dev https://payum.forma-pro.com

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim

payment

22/12 2017

1.5.0

1.5.0.0 https://payum.forma-pro.com

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim

payment

09/06 2017

1.4.1

1.4.1.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim

payment

22/09 2016

1.3.8

1.3.8.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim

payment

12/09 2016

1.3.7

1.3.7.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim

payment

25/03 2016

1.3.0

1.3.0.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim

payment

08/03 2016

1.2.4

1.2.4.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

by Kotlyar Maksim

payment

17/02 2016

1.2.1

1.2.1.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

by Kotlyar Maksim

payment

21/01 2016

1.2.0

1.2.0.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

by Kotlyar Maksim

payment

26/12 2015

1.0.2

1.0.2.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

by Kotlyar Maksim

payment

23/12 2015

1.0.1

1.0.1.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

by Kotlyar Maksim

payment

14/12 2015

1.0.0

1.0.0.0 http://payum.org

The Payum extension. Rapid extensino development

  Sources   Download

MIT

The Requires

 

by Kotlyar Maksim

payment