masmerise / de-ridder-den-hertog-for-laravel
Laravel framework adapter for De Ridder & Den Hertog SDK.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/masmerise/de-ridder-den-hertog-for-laravel
Requires
- php: ~8.5
- illuminate/contracts: ^12.0
- illuminate/support: ^12.0
- masmerise/de-ridder-den-hertog-php-sdk: ^0.1.0
- saloonphp/laravel-http-sender: ^3.0
- webmozart/assert: ^1.12
Requires (Dev)
- larastan/larastan: ^3.6.1
- laravel/pint: ^1.24
- orchestra/testbench: ^10.6
This package is auto-updated.
Last update: 2025-12-14 11:24:10 UTC
README
Laravel adapter for De Ridder & Den Hertog SDK
This package provides convenient access to the De Ridder & Den Hertog SDK using the Laravel framework.
Installation
You can install the package via composer:
composer require masmerise/de-ridder-den-hertog-for-laravel
After that, define your renh credentials inside the config/services.php configuration file:
'renh' => [ 'api_guid' => env('RENH_API_GUID'), ],
Usage
$functions = renh()->getApiFunctions();
$renh = app('renh'); $functions = $renh->getApiFunctions();
use DeRidderDenHertog\Core\Type\Parameter\Filter; use DeRidderDenHertog\DeRidderDenHertog; final readonly class CustomerController { private function __construct(private DeRidderDenHertog $renh) {} public function show(string $id): void { [$customer] = $renh->getCustomers( filter: Filter::fromSql("Klantnummer={$id}"), ); return view('customer.show', ['customer' => $customer]); } }
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security
If you discover any security related issues, please email support@masmerise.be instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.