laravel-cash maintained by webparking
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- ext-dom *
- php ^7.4|^8.0
- laravel/framework ^7.30.4|^8.40.0
- artisaninweb/laravel-soap 0.3.0.10
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- ext-dom *
- ext-soap *
- illuminate/support ^6|^8|^9
- illuminate/console ^6|^8|^9
- symfony/finder ^6
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- ext-soap *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.10
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- php ^7.4|^8.0
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.40.0
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.24
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.24
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.4|^8.24
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.3|^8
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7.30.3|^8
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7|^8
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7|^8
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7|^8
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7|^8
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7
- ext-dom *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- symfony/http-kernel ^5.1.5
- laravel/framework ^7
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
- php ^7.4
- artisaninweb/laravel-soap 0.3.0.9
- myclabs/php-enum ^1.7
- ext-simplexml *
Laravel helper for 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
composer require webparking/laravel-cash
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
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
Customers (2220) are a subset of relations (0101). The customer entity connects you through to the customerGroup and customerGroupTwo.
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) & month (2 chars)
- Y2 = Year (2chars)
- I = Decimal (not sure how this notation works)
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
This software is open source and licensed under the MIT license.
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