dinas / shipping-sdk-laravel
Laravel client for Dinas Shipping API
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/dinas/shipping-sdk-laravel
Requires
- php: ^8.2
- illuminate/contracts: ^11.0||^12.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0.0||^9.0.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
This package is auto-updated.
Last update: 2025-10-30 08:26:11 UTC
README
Laravel SDK for the Dinas Shipping API.
It provides an expressive wrapper around the shipping REST endpoints, simplifying integration with Laravel applications. Configuration is handled via environment variables, and the package offers typed resources and clean method calls for all main API operations.
The package also supports webhook handling using spatie/laravel-webhook-client. Incoming events are automatically verified, logged, and dispatched as Laravel events or jobs, enabling smooth asynchronous updates such as shipment status changes or document availability.
Installation
You can install the package via composer:
composer require dinas/shipping-sdk-laravel
You can publish and run the migrations with:
php artisan vendor:publish --tag="shipping-sdk-laravel-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="shipping-sdk-laravel-config"
This is the contents of the published config file:
return [
];
Usage
$shipping = new Dinas\Shipping(); echo $shipping->echoPhrase('Hello, Dinas!');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.