Download the PHP package bohemicastudio/ppl-myapi without Composer
On this page you can find all versions of the php package bohemicastudio/ppl-myapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bohemicastudio/ppl-myapi
More information about bohemicastudio/ppl-myapi
Files in bohemicastudio/ppl-myapi
Package ppl-myapi
Short Description PHP Laravel package for PPL myApi 2 (CPL API)
License MIT
Homepage https://github.com/bohemicastudio/ppl-myapi
Informations about the package ppl-myapi
PHP Laravel package for PPL myApi 2 Integration
This package provides a straightforward and easy-to-use integration with PPL myApi 2, focusing on creating shipments and downloading shipping labels within the PPL system. Rather than implementing the entire API, this package is designed to cover only the essential features needed for shipment processing.
While our primary focus is on shipment creation, we welcome community contributions and encourage pull requests for additional features.
Features
- Full support for all
/codelist/endpoints - Shipment creation via
POST /shipment/batch - Label download (retrievable from the shipment creation response)
- Direct API requests via
PplMyApi::request, with customizable response handling
For detailed implementation instructions, see the Usage section below.
Additional Resources
- Official API documentation: PPL Sandbox
- Need help? Open an issue on GitHub
Installation
You can install the package via composer:
You have to publish the config file and setup proper credentials:
This is the contents of the published config file:
Usage
Below is a basic example of how to create a shipment batch using this package and download the labels. You can customize the shipment details by adding additional fields as needed. The provided models ensure a structured approach to handling shipments efficiently.
This example demonstrates the core structure for creating a shipment. Be sure to adjust the shipment details based on your requirements.
Testing
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
- Bohemica Studio
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
With ❤️ by Bohemica Studio & Alex Kratky
This package was inspired by PplMyApi and php-ppl-create-package-label-api.
Searching for Uncomplicated Digital Signage?
Discover Bohemica Signage—the hassle-free way to manage digital displays!
All versions of ppl-myapi with dependencies
guzzlehttp/guzzle Version ^7.9
illuminate/contracts Version ^10.0||^11.0
league/oauth2-client Version ^2.8
spatie/laravel-package-tools Version ^1.16