Download the PHP package jsamhall/shipengine without Composer
On this page you can find all versions of the php package jsamhall/shipengine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jsamhall/shipengine
More information about jsamhall/shipengine
Files in jsamhall/shipengine
Package shipengine
Short Description A PHP wrapper for the accessing and interacting with the ShipEngine v1 API.
License MIT
Informations about the package shipengine
About
A PHP wrapper for the accessing and interacting with the ShipEngine v1 API.
Not actively maintained though functional for my own needs. Use at your own discretion
Requirements
Requires PHP 8.1+. Version 2.0 is a breaking release that adopts enums and strict typing —
see CHANGELOG.md for the full migration notes.
How to use
Example
Minimal example to implement the Quick Start example:
Addresses
ShipEngine expects a certain address format. This Library offers the Address\Address class which conforms
to this format. All methods that require an Address as part of the request (e.g., validation, rating, labels etc.)
expect an Address\Address in order to ensure consistency and compatibility.
You should write an implementation Address\FormatterInterface that extracts data from your domain-specific
Address in the format expected by the ShipEngine API. This implementation is a constructor argument for the
Address\Factory class which will translate your Domain's Address Model to an instance of Address\Address
This formatter is available in the public interface of the jsamhall\ShipEngine instance:
Tracking
Retrieve tracking information for a package using its carrier code and tracking number. This requires the ShipEngine Advanced plan or higher, and the carrier must be connected to your ShipEngine account.
The first argument accepts either a carrier code string ("usps", "fedex", "ups") or a
Carriers\CarrierCode value object. If the carrier is not connected to your account the call
throws Exception\ApiErrorResponse.
LTL Tracking
Track a Less Than Truckload (LTL) freight shipment by carrier code and PRO number. This uses
ShipEngine's beta LTL tracking endpoint (v-beta/ltl/tracking).
As with parcel tracking, the first argument accepts a carrier code string or a Carriers\CarrierCode.
Information
Please visit https://www.shipengine.com/ for information regarding, and to sign up for the ShipEngine platform.
Please visit https://docs.shipengine.com/docs for ShipEngine's official API documentation.
This project is in no way associated to or endorsed by ShipEngine, ShipStation or any of their partners.
ShipEngine and ShipStation are registered trademarks. All rights reserved.
All versions of shipengine with dependencies
ext-curl Version *
ext-json Version *