Download the PHP package captain-courier/cidr without Composer
On this page you can find all versions of the php package captain-courier/cidr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download captain-courier/cidr
More information about captain-courier/cidr
Files in captain-courier/cidr
Package cidr
Short Description Courier Integration Done Right!
License AGPL-3.0
Homepage http://captaincourier.org
Informations about the package cidr
Cidr: Courier Integration Done Right!
Cidr's goals are simpe, make working with couriers easy.
Cidr will be able to:
- provide the cheapest quotes from couriers
- create/view/delete/track shipment requests with minimum customization for a particular courier
- get shipping labels
Current features:
- create shipments with couriers ParcelForce and P4D
install
Cidr source can be downloaded from github, or can be added as a dependency through Composer by adding the following your composer.json: `
setup
create a file res/credentials.yml in the project directory. It will look something like this:
`
Where you would replace \<insert here>
with your username/password/apiKey.
If you don't need one of the couriers, don't add it to the credentials.yml file. For example if you only needed
ParcelForce then the credentials.yml file would look like:
`
Whilsts testing Cidr it is recommended to use test credentials instead of production credentials. P4D provide test credentials without signing up, just goto http://www.p4d.co.uk/v2/api.
testing
Cidr uses Travis for testing, available here. Cidr can be tested locally by running: `
usage
An example below for creating a shipment with ParcelForce:
`