New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

smart-dato/eushipments

EuShipments Laravel SDK
9,048
Install
composer require smart-dato/eushipments
Latest Version:0.0.4
PHP:^8.2|^8.3|^8.4|^8.5
Laravel:10 – 13
License:MIT
Last Updated:Oct 13, 2026
Links: GitHub  ·  Packagist
Maintainer: smart-dato

EuShipments Laravel SDK

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

This is our EuShipments Laravel SDK. API documentation can be found here

Installation

You can install the package via composer:

composer require smart-dato/eushipments

You can publish the config file with:

php artisan vendor:publish --tag="eushipments-config"
EUSHIPMENTS_BASE_URL=https://test-api.inout.bg/api/v1/
EUSHIPMENTS_TOKEN=your-api-token

The test environment is https://test-api.inout.bg/api/v1/; production is https://api1.inout.bg/api/v1/.

Usage

use SmartDato\EuShipments\Data\AddressData;
use SmartDato\EuShipments\Data\AirWaybillData;
use SmartDato\EuShipments\Data\ShipmentData;
use SmartDato\EuShipments\Enums\Payer;
use SmartDato\EuShipments\Enums\Service;
use SmartDato\EuShipments\EuShipmentsConnector;
use SmartDato\EuShipments\Requests\Shipment\CreateShipmentRequest;

$connector = new EuShipmentsConnector();

$response = $connector->send(new CreateShipmentRequest(new ShipmentData(
    senderId: 1234,
    courierId: 999,
    waybillAvailableDate: now(),
    serviceName: Service::crossborder,
    recipient: new AddressData(
        name: 'Jane Doe',
        countryIsoCode: 'PL',
        streetName: 'ul. Przykladowa 1',
        buildingNumber: '1',
        addressText: 'ul. Przykladowa 1',
        phoneNumber: '000000000',
        cityName: 'Warszawa',
        zipCode: '00-001',
        contactPerson: 'Jane Doe',
        email: 'jane@example.com',
    ),
    awb: new AirWaybillData(
        parcels: 1,
        envelopes: 0,
        totalWeight: 0.7,
        openPackage: false,
        saturdayDelivery: false,
        referenceNumber: 'order-1001',
        products: 'Clothes',
        bankRepayment: 0,
        shipmentPayer: Payer::sender,
        declaredValue: 0,
        otherRepayment: null,
        observations: null,
        fragile: true,
        productsInfo: 'Clothes',
        piecesInPack: 1,
    ),
)));

senderId and courierId are the IDs from your EuShipments account.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

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.

Related Packages

smart-dato/duty-refunds-landmark

Duty Refunds Landmark API SDK for Laravel

10,033 0
smart-dato/brt

BRT Laravel sdk

9,951 0
smart-dato/correos-sdk

Correos SOAP pre-registration and tracking SDK for Laravel

9,918 0
smart-dato/pro-carrier-sdk

Pro Carrier SDK for Laravel

9,874 0

Version History

Version Released PHP Laravel License
0.0.4 ^8.2|^8.3|^8.4|^8.5 ^10.0||^11.0||^12.0||^13.0 MIT
0.0.3 ^8.2|^8.3|^8.4 ^10.0||^11.0||^12.0 MIT
0.0.2 ^8.2 ^10.0||^11.0||^12.0 MIT
0.0.1 ^8.2 ^10.0||^11.0 MIT