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 3d 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 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

2608d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9db8acda212740c63090beab8438300c1e158e824a9642fa49babef315136c4c?d=identicon)[guym4c](/maintainers/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

4044.3M18](/packages/horstoeko-zugferd)[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[atgp/factur-x

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

138825.5k3](/packages/atgp-factur-x)[num-num/ubl-invoice

A modern object-oriented PHP library to create and read valid UBL and EN 16931/Peppol BIS 3.0 files

135820.5k](/packages/num-num-ubl-invoice)[anam/phantommagick

PhantomMagick provides a simple API to ease the process of converting HTML to PDF or images

161456.4k2](/packages/anam-phantommagick)[konekt/pdf-invoice

Library to generate PDF invoices

212200.7k](/packages/konekt-pdf-invoice)

PHPackages © 2026

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