PHPackages                             guym4c/roopal-php - 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. guym4c/roopal-php

ActiveLibrary[Payment Processing](/categories/payments)

guym4c/roopal-php
=================

Parses food delivery courier invoices

v0.1.6(7y ago)137[1 issues](https://github.com/guym4c/roopal-php/issues)MITPHPPHP &gt;=7.2.0

Since Mar 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/guym4c/roopal-php)[ Packagist](https://packagist.org/packages/guym4c/roopal-php)[ Docs](https://github.com/guym4c/roopal-php)[ RSS](/packages/guym4c-roopal-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (7)Dependencies (4)Versions (9)Used By (0)

roopal-php [![Packagist](https://camo.githubusercontent.com/2c23966612d3e6d5a84303d29d1415d349589520301bd4b51a6962a9af2aa17a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6775796d34632f726f6f70616c2d7068702e737667)](https://camo.githubusercontent.com/2c23966612d3e6d5a84303d29d1415d349589520301bd4b51a6962a9af2aa17a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6775796d34632f726f6f70616c2d7068702e737667)
=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#roopal-php-)

Parses Deliveroo PDF invoices.

Install
-------

[](#install)

Via Composer: `composer require guym4c/roopal-php`

Usage
-----

[](#usage)

Parse using the `invoice` constructor

```
$invoice = new Guym4c\Roopal\Invoice(string $pathToYourPDF [, bool $anonymise = false]);
```

If `$anonymise` is passed to the constructor, any output using the `toArray()` methods or `toCSV()` will only include md5 hashes of rider names. Bear in mind that some payment adjustments can contact personally identifying information, such as the name of the referring rider in referral payments.

Export invoices to CSV using the static method in `Invoice`

```
$csv = Guym4c\Roopal\Invoice::toCsv([$invoice]);
```

Issues
------

[](#issues)

Compatibility could be broken at any time - if invoices are not parsing correctly, feel free to open an issue or PR.

This repo is maintained by the IWGB. If you have an invoice which breaks the parser, you can also email it to me, @guym4c, at  - invoices mailed to this address will be handled in strictest confidence under the IWGB's [Data Protection Policy](https://iwgb.org.uk/page/about/data-protection).

Hosted?
-------

[](#hosted)

IWGB Couriers Branch members can use this over the web on the IWGB website - contact a branch official to find out more. We're working on making this public once it's stable.

*Putting Workers First*

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

7

Last Release

2655d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2103489?v=4)[Guy Mac](/maintainers/guym4c)[@guym4c](https://github.com/guym4c)

---

Top Contributors

[![guym4c](https://avatars.githubusercontent.com/u/2103489?v=4)](https://github.com/guym4c "guym4c (16 commits)")

---

Tags

invoicecourierdeliveroodocket

### Embed Badge

![Health badge](/badges/guym4c-roopal-php/health.svg)

```
[![Health](https://phpackages.com/badges/guym4c-roopal-php/health.svg)](https://phpackages.com/packages/guym4c-roopal-php)
```

###  Alternatives

[horstoeko/zugferd

A library for creating and reading european electronic invoices

4275.2M26](/packages/horstoeko-zugferd)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[atgp/factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files

149883.7k4](/packages/atgp-factur-x)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

5.1k4.9k](/packages/shlinkio-shlink)[shetabit/multipay

PHP Payment Gateway Integration Package

293355.3k4](/packages/shetabit-multipay)[firefly-iii/data-importer

Firefly III Data Import Tool.

8005.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

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