PHPackages                             omnipay/payfast - 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. omnipay/payfast

ActiveLibrary[Payment Processing](/categories/payments)

omnipay/payfast
===============

PayFast driver for the Omnipay payment processing library

v3.1.0(5y ago)24626.9k↓27.5%19[3 PRs](https://github.com/thephpleague/omnipay-payfast/pulls)3MITPHP

Since Nov 17Pushed 4y ago8 watchersCompare

[ Source](https://github.com/thephpleague/omnipay-payfast)[ Packagist](https://packagist.org/packages/omnipay/payfast)[ Docs](https://github.com/thephpleague/omnipay-payfast)[ RSS](/packages/omnipay-payfast/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (9)Used By (3)

Omnipay: PayFast
================

[](#omnipay-payfast)

**PayFast driver for the Omnipay PHP payment processing library**

[![Build Status](https://camo.githubusercontent.com/60c5bcc5006467df7cc8013fc388a540e1fe9a423c5bf1a30476d8588fa4b1b6/68747470733a2f2f7472617669732d63692e6f72672f7468657068706c65616775652f6f6d6e697061792d706179666173742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/thephpleague/omnipay-payfast)[![Latest Stable Version](https://camo.githubusercontent.com/11c338bb2d6ef638cc7fe443167dc9d24b2c590490a3ae4958ccca348add9843/68747470733a2f2f706f7365722e707567782e6f72672f6f6d6e697061792f706179666173742f76657273696f6e2e706e67)](https://packagist.org/packages/omnipay/payfast)[![Total Downloads](https://camo.githubusercontent.com/26a187775304fbd2e1f938405c33470dfc9b6057b1a95e1755ec1f05f39d0c1c/68747470733a2f2f706f7365722e707567782e6f72672f6f6d6e697061792f706179666173742f642f746f74616c2e706e67)](https://packagist.org/packages/omnipay/payfast)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements PayFast support for Omnipay.

Installation
------------

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "omnipay/payfast": "~2.0"
    }
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

Basic Usage
-----------

[](#basic-usage)

The following gateways are provided by this package:

- PayFast

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/thephpleague/omnipay-payfast/issues), or better yet, fork the library and submit a pull request.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~372 days

Recently: every ~573 days

Total

8

Last Release

1957d ago

Major Versions

v2.2 → v3.02019-10-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/534693?v=4)[Frank de Jonge](/maintainers/frankdejonge)[@frankdejonge](https://github.com/frankdejonge)

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

![](https://www.gravatar.com/avatar/12d34e4d0259dc2a2460d2803beeffb06e778064b93cac1b8f289f2d7e13b23f?d=identicon)[greydnls](/maintainers/greydnls)

---

Top Contributors

[![amacneil](https://avatars.githubusercontent.com/u/637671?v=4)](https://github.com/amacneil "amacneil (26 commits)")[![zodimo](https://avatars.githubusercontent.com/u/5030404?v=4)](https://github.com/zodimo "zodimo (9 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (5 commits)")[![jacques](https://avatars.githubusercontent.com/u/2543?v=4)](https://github.com/jacques "jacques (3 commits)")[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (3 commits)")[![mnwalker](https://avatars.githubusercontent.com/u/9032080?v=4)](https://github.com/mnwalker "mnwalker (2 commits)")[![greydnls](https://avatars.githubusercontent.com/u/1276798?v=4)](https://github.com/greydnls "greydnls (1 commits)")[![craigwileman](https://avatars.githubusercontent.com/u/8693212?v=4)](https://github.com/craigwileman "craigwileman (1 commits)")[![flowcomm](https://avatars.githubusercontent.com/u/95018?v=4)](https://github.com/flowcomm "flowcomm (1 commits)")[![aderuwe](https://avatars.githubusercontent.com/u/1125184?v=4)](https://github.com/aderuwe "aderuwe (1 commits)")[![philsturgeon](https://avatars.githubusercontent.com/u/67381?v=4)](https://github.com/philsturgeon "philsturgeon (1 commits)")[![robjmills](https://avatars.githubusercontent.com/u/110251?v=4)](https://github.com/robjmills "robjmills (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypayfast

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/omnipay-payfast/health.svg)

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

###  Alternatives

[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.6k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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