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

ActiveLibrary[Payment Processing](/categories/payments)

alofoxx/omnipay-square
======================

Square driver for the Omnipay payment processing library

3.0.3(2y ago)1731[1 PRs](https://github.com/Alofoxx/omnipay-square/pulls)MITPHP

Since Jun 22Pushed 2y agoCompare

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

READMEChangelog (4)Dependencies (8)Versions (15)Used By (0)

Omnipay: Square
===============

[](#omnipay-square)

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

[![Build Status](https://camo.githubusercontent.com/e8967728c790f1a46baa45e71e388375fa70fb780ecf3ccdb8706a1450dac6d8/68747470733a2f2f6170702e7472617669732d63692e636f6d2f416c6f666f78782f6f6d6e697061792d7371756172652e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/Alofoxx/omnipay-square)[![Latest Stable Version](https://camo.githubusercontent.com/5e84ff0f5e2e155b8b949d09348a6f24d6e198282ecf0bb7e482763823be546e/68747470733a2f2f706f7365722e707567782e6f72672f616c6f666f78782f6f6d6e697061792d7371756172652f76657273696f6e2e706e67)](https://packagist.org/packages/alofoxx/omnipay-square)[![Total Downloads](https://camo.githubusercontent.com/92cad68d378691a5060e84cac90f39a785af7d3fc7ba32c9f54fb4c4d31505f6/68747470733a2f2f706f7365722e707567782e6f72672f616c6f666f78782f6f6d6e697061792d7371756172652f642f746f74616c2e706e67)](https://packagist.org/packages/alofoxx/omnipay-square)[![License](https://camo.githubusercontent.com/913fa367e9cd8ecc555402851b02a95c3a7ce1585791fb2af17fde7ca5be94e2/68747470733a2f2f706f7365722e707567782e6f72672f616c6f666f78782f6f6d6e697061792d7371756172652f6c6963656e7365)](https://packagist.org/packages/alofoxx/omnipay-square)

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

*Note that this package is only tested with PHP 8.0 and above.*

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

[](#installation)

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

```
{
    "require": {
        "alofoxx/omnipay-square": "~3.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:

- Square

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/alofoxx/omnipay-square/issues), or better yet, fork the library and submit a pull request.

Older Versions
--------------

[](#older-versions)

This package is a fork of the original [omnipay-square](https://github.com/transportersio/omnipay-square) package. The original package is no longer maintained and this repo has merged in the [community made](https://github.com/alofoxx/omnipay-square/graphs/contributors) PRs and updates. This package is a continuation of the original package with the following changes:

- Updated to work with the latest version of Omnipay
- Updated to work with the latest version of Square
- Updated to work with the latest version of PHP

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity71

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

Recently: every ~104 days

Total

13

Last Release

807d ago

Major Versions

1.0.5 → 2.0.02019-05-16

2.1.0 → 3.0.02023-01-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fff6fcbe78d50d86da6eea0e8d4fa5e2450f5e556790347ca8bf5015febbfb4?d=identicon)[alofoxx](/maintainers/alofoxx)

---

Top Contributors

[![mikeybeck](https://avatars.githubusercontent.com/u/468643?v=4)](https://github.com/mikeybeck "mikeybeck (53 commits)")[![BasicmanBoonmee](https://avatars.githubusercontent.com/u/3637742?v=4)](https://github.com/BasicmanBoonmee "BasicmanBoonmee (16 commits)")[![skurvish](https://avatars.githubusercontent.com/u/8654397?v=4)](https://github.com/skurvish "skurvish (16 commits)")[![Alofoxx](https://avatars.githubusercontent.com/u/1343190?v=4)](https://github.com/Alofoxx "Alofoxx (12 commits)")[![millnut](https://avatars.githubusercontent.com/u/8024370?v=4)](https://github.com/millnut "millnut (10 commits)")[![mnwalker](https://avatars.githubusercontent.com/u/9032080?v=4)](https://github.com/mnwalker "mnwalker (5 commits)")[![ivanhennig](https://avatars.githubusercontent.com/u/6207878?v=4)](https://github.com/ivanhennig "ivanhennig (2 commits)")[![jpverdejo](https://avatars.githubusercontent.com/u/1238288?v=4)](https://github.com/jpverdejo "jpverdejo (1 commits)")[![Tam](https://avatars.githubusercontent.com/u/977594?v=4)](https://github.com/Tam "Tam (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaysquare

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[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)
