Download the PHP package bkuhl/simple-ups without Composer
On this page you can find all versions of the php package bkuhl/simple-ups. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package simple-ups
SimpleUPS
An easy to use PHP UPS Library for tracking, rates and address validation
README Contents
- Features
- Installation
- Requirements
- Usage
- Address Validation
- Region Validation
- Tracking Shipments
- Fetching Rates
Features
- Address Validation - Ensure an address is valid before it's accepted by your application
- Address Correction - If an address is invalid, we'll help you correct it
- Track Packages - See current status, recent activity, delivery requirements (signature, etc.), insurance details and more
- Shipping Rates - Get shipping estimates for packages
Installation
You can install the library via Composer by running:
`
1. versions will maintain PHP 5.3 compatibility.
dev-master
will increase the PHP version requirement for future, 2. versions.
Usage
SimpleUPS is currently only available in a static context with the following methods:
- SimpleUPS::getRates()
- SimpleUPS::isValidRegion()
- SimpleUPS::getSuggestedRegions()
- SimpleUPS::trackByTrackingNumber()
- SimpleUPS::isValidAddress()
- SimpleUPS::getCorrectedAddress()
- SimpleUPS::getSuggestedAddresses()
- SimpleUPS::setAuthentication()
- SimpleUPS::getAccountNumber()
- SimpleUPS::getAccessLicenseNumber()
- SimpleUPS::getPassword()
- SimpleUPS::getUserId()
- SimpleUPS::setShipper()
- SimpleUPS::getShipper()
- SimpleUPS::setCurrencyCode()
- SimpleUPS::setDebug()
- SimpleUPS::getDebugOutput()
Address Validation
Validating an address can be useful to ensure an address that a user provides can be shipped to.
Region Validation
If an address fails, validating the region can help you determine if the city, state and zip is valid even if the street address isn't.
Tracking Shipments
Tracking numbers may contain multiple shipments, and shipments may contain multiple packages, and activity is associated with packages.