PHPackages                             granam/gpwebpay-flat - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. granam/gpwebpay-flat

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

granam/gpwebpay-flat
====================

Parser of GP WepPay report in FLAT format

1.2.0(5y ago)18MITPHPPHP &gt;=7.3

Since Nov 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/granam/gpwebpay-flat)[ Packagist](https://packagist.org/packages/granam/gpwebpay-flat)[ Docs](https://github.com/jaroslavtyc/gpwebpay-flat)[ RSS](/packages/granam-gpwebpay-flat/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (12)Used By (0)

Parser of a report from GpWebPay in FLAT format
-----------------------------------------------

[](#parser-of-a-report-from-gpwebpay-in-flat-format)

Security first
==============

[](#security-first)

NEVER download this library from an unknown source. Use ONLY [packagist.org](https://packagist.org) (therefore [composer](https://composer.org)), or [github.com/jaroslavtyc/granam-gpwebpay-flat](github.com/jaroslavtyc/granam-gpwebpay-flat).

You are going to work with financial data, which are ALWAYS sensitive. Think twice if a public library to process them is OK for your company inner politic.

This library is released under [MIT licence](./LICENCE), which means any harm caused to you by using it is your fight. But I will do my best to protect you from any data leakage or corruption.

Step-by-step
============

[](#step-by-step)

- send a request to [helpdesk@globalpayments.cz](helpdesk@globalpayments.cz) to get daily reports of transactions in **FLAT** format to an email of your choice
- add this library to your project `composer require granam/gpwebpay-flat`
- let it to parse FLAT report from an email (or from a file, or from a string content... it's up to you)
    - *note: [PHP IMAP extension](http://php.net/manual/en/imap.setup.php) is needed to fetch email*

```
