PHPackages                             webparking/laravel-cash - 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. [API Development](/categories/api)
4. /
5. webparking/laravel-cash

ActiveLibrary[API Development](/categories/api)

webparking/laravel-cash
=======================

Laravel API helper for CASH

2.3.0(4y ago)02.9k1[4 issues](https://github.com/webparking/laravel-cash/issues)[1 PRs](https://github.com/webparking/laravel-cash/pulls)MITPHPPHP ^7.4|^8.0CI failing

Since Apr 17Pushed 4y ago2 watchersCompare

[ Source](https://github.com/webparking/laravel-cash)[ Packagist](https://packagist.org/packages/webparking/laravel-cash)[ RSS](/packages/webparking-laravel-cash/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (9)Versions (35)Used By (0)

Laravel helper for CASH
=======================

[](#laravel-helper-for-cash)

[![workflow](https://github.com/webparking/laravel-cash/actions/workflows/php.yml/badge.svg)](https://github.com/webparking/laravel-cash)[![Latest Stable Version](https://camo.githubusercontent.com/9dccef14cbe9f1cb3250074f1138dfd09068f2c81d3d75d8d35d90334cfc009c/687474703a2f2f706f7365722e707567782e6f72672f7765627061726b696e672f6c61726176656c2d636173682f76)](https://packagist.org/packages/webparking/laravel-cash)

Attempt to connect the past and the future in a stable and manageable way. The wrapper is developed using the v3 API with credentials (and not using the generated token). I only worked out the mapping for the endpoints that I needed.

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

[](#installation)

```
composer require webparking/laravel-cash
```

Usage
-----

[](#usage)

```
use Webparking\LaravelCash\Entities\Item;

/** @var Item $item */
$item = app()->make(Item::class);

// Get collection of items
$items = $item->index();

// Fetch item 'foo'
$item = $item->get('foo');
```

Note: the CASH API accepts a maximum of 100 requests per minute

### Advanced usage

[](#advanced-usage)

It's possible to add parameters to an index request. E.g.:

```
use Webparking\LaravelCash\Entities\Item;

app()->make(Item::class)->index('X'); // Creates request for endpoint "2260X"

app()->make(Item::class)->index('W|7'); // Creates request for endpoint "2260W|7"
```

Note: Parameter "X" is universal to all endpoints and causes the CASH response to include field names instead of only the codes.
Useful for testing.

Relations and customers
-----------------------

[](#relations-and-customers)

`Customers` (2220) are a subset of `relations` (0101). The customer entity connects you through to the `customerGroup` and `customerGroupTwo`.

CASH field definition reference
-------------------------------

[](#cash-field-definition-reference)

The notation is the letter + a number which indicated (in most cases) the max length. So L4 is a lowercase word of max 4 characters.

- S = Uppercase text
- L = Lowercase and uppercase text
- N = Numeric
- Y4 = Year (2 chars) &amp; month (2 chars)
- Y2 = Year (2chars)
- I = Decimal (not sure how this notation works)

Development
-----------

[](#development)

This repository comes with a handy Docker Compose setup to aid in development.

To get started simply run the following and you're off to the races:

```
$ make start
```

Licence and Postcardware
------------------------

[](#licence-and-postcardware)

This software is open source and licensed under the [MIT license](LICENSE.md).

If you use this software in your daily development we would appreciate to receive a postcard of your hometown.

Please send it to: Webparking BV, Cypresbaan 31a, 2908 LT Capelle aan den IJssel, The Netherlands

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~24 days

Recently: every ~31 days

Total

33

Last Release

1466d ago

Major Versions

1.5.3 → 2.0.02022-02-24

PHP version history (2 changes)1.0.0PHP ^7.4

1.1.2PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5616838?v=4)[Jeroen van Oort](/maintainers/JeroenVanOort)[@JeroenVanOort](https://github.com/JeroenVanOort)

---

Top Contributors

[![remkobrenters](https://avatars.githubusercontent.com/u/4686406?v=4)](https://github.com/remkobrenters "remkobrenters (24 commits)")[![RVxLab](https://avatars.githubusercontent.com/u/46111684?v=4)](https://github.com/RVxLab "RVxLab (10 commits)")[![avanravels](https://avatars.githubusercontent.com/u/104146659?v=4)](https://github.com/avanravels "avanravels (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webparking-laravel-cash/health.svg)

```
[![Health](https://phpackages.com/badges/webparking-laravel-cash/health.svg)](https://phpackages.com/packages/webparking-laravel-cash)
```

PHPackages © 2026

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