PHPackages                             checkout-bundle/checkout - 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. checkout-bundle/checkout

ActiveSymfony-bundle[Payment Processing](/categories/payments)

checkout-bundle/checkout
========================

Symfony Based Payment Gateway developed for Checkout.com

1.4(7y ago)013MITPHP

Since May 16Pushed 7y agoCompare

[ Source](https://github.com/omair445/Checkout)[ Packagist](https://packagist.org/packages/checkout-bundle/checkout)[ RSS](/packages/checkout-bundle-checkout/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

[![alt text](https://camo.githubusercontent.com/0c9b02885c1957be2c38d3c8bca8abe1e8cd3d35f402f226fc89bae4cad64453/68747470733a2f2f692e6962622e636f2f364273796e50442f53637265656e73686f742d323031392d30352d31362d61742d372d30382d30382d504d2e706e67)](https://camo.githubusercontent.com/0c9b02885c1957be2c38d3c8bca8abe1e8cd3d35f402f226fc89bae4cad64453/68747470733a2f2f692e6962622e636f2f364273796e50442f53637265656e73686f742d323031392d30352d31362d61742d372d30382d30382d504d2e706e67)

> \*\*:heavy\_exclamation\_mark: This library points to Checkout.com's classic API. \*\*

### Requirements

[](#requirements)

PHP 5 &gt; 5.3.0

Symfony 2.8 &gt; 4

### How to use the library

[](#how-to-use-the-library)

Add the dev-master version of Checkout Symfony Bundle into your project by using Composer or manually:

**Using Composer (Recommended)**

Either run the following command in the root directory of your project:

```
composer require checkout-bundle/checkout

```

Or require the Checkout.com package inside the composer.json of your project:

```
"require": {
    "php": ">=5.2.4",
    "checkout-bundle/checkout": "dev-master"
},

```

**Manually**

Download or clone the github repository, [master](https://github.com/omair445/Checkout) or download a [release](https://github.com/omair445/Checkout), and manually add it to your project.

### Example

[](#example)

After adding the library to your project, Register the Bundle in your *AppKernal.php*.

```
 public function registerBundles()
    {
        $bundles = [
            .........
            ........
           .........
            new Checkout\PaymentBundle\CheckoutPaymentBundle(),
        ];
```

Add the routing for Checkout Bundle in your routing.yml

```
checkout_payment:
    resource: "@CheckoutPaymentBundle/Resources/config/routing.yml"
    prefix:   /
```

You can forword request to Checkout Controller to Initiate Payment using Checkout.js as under

In MyController.php

```
    /**
     * @param Request $request
     * @return \Symfony\Component\HttpFoundation\Response
     * @\Sensio\Bundle\FrameworkExtraBundle\Configuration\Route("payment")
     */
    public function create_payment(Request $request){

        return $this->forward('CheckoutPaymentBundle:Checkout:show', [
        'currency' => 'USD',
        'amount' => 10,
        'customer_name' => 'Omair Afzal',
        'cartObject' =>  null,
        'country_code' => 'US',
        'callback_url' => 'http://iam_callback_url.com',
        'timeout' => 300,
        'public_key' => 'XXXXXXXXXXX',
        'env' => 'sandbox'   //live
        ]);
    }
```

By default both **$connectTimeout** and **$readTimeout** are to 60 seconds. You may change them as needed.

**$env** accepts either `'sandbox'` or `'live'` as value. This parameter allow you to shift between the sandbox environment or live environment. By Default the sandbox environment will be used.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

2555d ago

### Community

Maintainers

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

---

Top Contributors

[![omair445](https://avatars.githubusercontent.com/u/32237905?v=4)](https://github.com/omair445 "omair445 (1 commits)")

---

Tags

symfonycheckoutcheckoutcomcodOmairomairafzalAfzalcorediretion

### Embed Badge

![Health badge](/badges/checkout-bundle-checkout/health.svg)

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

###  Alternatives

[payum/payum-bundle

One million downloads of Payum already! Payum offers everything you need to work with payments. Check more visiting site.

59510.3M40](/packages/payum-payum-bundle)[payum/stripe

The Payum extension. It provides Stripe payment integration.

22573.1k3](/packages/payum-stripe)[phpjuice/paypal-checkout-sdk

PayPal's PHP SDK for Checkout REST APIs

5858.1k](/packages/phpjuice-paypal-checkout-sdk)[paymentsuite/paymentsuite

PaymentSuite is an easy implementation for lot of Payment Methods for Symfony projects

2615.5k2](/packages/paymentsuite-paymentsuite)

PHPackages © 2026

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