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

dev-main 2025-10-30 08:26 UTC

This package is auto-updated.

Last update: 2025-10-30 08:26:11 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.