PHPackages                             rikudou/pay-by-square-decoder - 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. rikudou/pay-by-square-decoder

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

rikudou/pay-by-square-decoder
=============================

Decoder for the Pay By Square standard

v1.0.1(6y ago)11073WTFPLPHPPHP ^7.1

Since Mar 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/RikudouSage/PayBySquareDecoder)[ Packagist](https://packagist.org/packages/rikudou/pay-by-square-decoder)[ RSS](/packages/rikudou-pay-by-square-decoder/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Pay By Square decoder
=====================

[](#pay-by-square-decoder)

[![Download](https://camo.githubusercontent.com/f3a82cdeced16ad051c5f4c18319ade8b2a976ebcf37f8728d19fcf1b2ed0d54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72696b75646f752f7061792d62792d7371756172652d6465636f6465722e737667)](https://packagist.org/packages/rikudou/pay-by-square-decoder)

This library decodes the string encoded according to the Slovakian Pay By Square standard.

> This package can be used as a standalone library or a Symfony bundle

Installing
----------

[](#installing)

`composer require rikudou/pay-by-square-decoder`

Requirements
------------

[](#requirements)

You must have the `xz` binary from `xz-utils` in your system.

Usage
-----

[](#usage)

The class `\Rikudou\BySquare\Decoder\PayBySquareDecoder` has a public method called `decode` which accepts a string argument with the encoded data.

Example:

```
