Download the PHP package daika7ana/dpd-php-sdk without Composer

On this page you can find all versions of the php package daika7ana/dpd-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dpd-php-sdk

DPD PHP SDK

[![CI](https://github.com/daika7ana/dpd-php-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/daika7ana/dpd-php-sdk/actions/workflows/ci.yml) [![PHP 8.3+](https://img.shields.io/badge/PHP-8.3%2B-777BB4?style=flat-square&logo=php)](https://www.php.net/) [![PHPUnit](https://img.shields.io/badge/PHPUnit-12.x-0A7BBB?style=flat-square)](docs/TESTING.md) [![PHPStan](https://img.shields.io/badge/PHPStan-2.x-6C43E0?style=flat-square)](docs/TESTING.md) [![Smoke Tests](https://img.shields.io/badge/Smoke%20Tests-Live%20API-orange?style=flat-square)](docs/TESTING.md) [![PSR Standards](https://img.shields.io/badge/PSR-7%2F17%2F18-blue?style=flat-square)](https://www.php-fig.org/) [![License](https://img.shields.io/badge/license-GPL--3.0--or--later-green?style=flat-square)](https://spdx.org/licenses/GPL-3.0-or-later.html) A modern, type-safe PHP SDK for the **DPD Romania API**

🚀 Framework-agnostic, DPD-credential-based, fully typed with DTOs, and built for production integrations.

Table of Contents

Features

Core Strengths

Good Fit For

Requirements

Installation

Via Composer

Quick Start

For a full end-to-end walkthrough, continue with docs/EXAMPLES.md.

Configuration

ClientConfig keeps connection settings explicit and immutable:

Use ClientConfig::fromEnvironment() when you want configuration to come from environment variables instead of application code.

Authentication

DPD uses static credentials on every request payload instead of OAuth.

The client injects these values automatically:

For multi-tenant or rotating-credential setups, you can inject a custom credentials provider into Client::create().

Supported Resources

Operational Notes

Testing

Run The Local Verification Pipeline

Run Smoke Tests Against A Live DPD Account

composer ci runs formatting, static analysis, and the unit suite. Smoke tests skip automatically when the required environment values are missing.

Documentation

Complete guides and references:

Guide Purpose
🔧 Installation Setup and transport expectations
⚙️ Configuration Connection settings and extension points
🔐 Authentication DPD credential flow and provider options
📖 Quick Start First working client, shipment, print, and tracking flow
🧩 Examples Small, consistent workflow examples
📚 Usage Workflow guidance and integration patterns
🔗 Resources Method-level public API reference
📦 DTOs DTO conventions and domain structure
❌ Errors Exception hierarchy and handling
✅ Testing Unit, smoke, and release verification

Made with ❤️ **Questions?** [Check the docs](docs/USAGE.md) or [open an issue](../../issues)

All versions of dpd-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
guzzlehttp/guzzle Version ^7.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.0 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package daika7ana/dpd-php-sdk contains the following files

Loading the files please wait ...