Download the PHP package justinholtweb/craft-carrier-freight without Composer

On this page you can find all versions of the php package justinholtweb/craft-carrier-freight. 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 craft-carrier-freight

Carrier for LTL Freight

US less-than-truckload freight for Carrier, the shipping-carrier gateway for Craft Commerce 5. This package covers six carriers: TForce Freight, Old Dominion (ODFL), Estes Express, XPO, R+L Carriers and SAIA.

This is an add-on. Carrier handles packing, checkout, label storage, retries, the log and tracking. This package translates each carrier's API into Carrier's documents and does nothing else.

Requirements

What each carrier does

Quotes Bill of lading Labels Void Pickups Tracking Test environment
TForce Freight yes yes Avery PDF, 4×6 PDF, ZPL — yes yes yes (CIE)
Old Dominion yes NMFTA eBOL Avery PDF yes yes yes yes (QA host)
Estes Express yes NMFTA eBOL Avery PDF, 4×6 PDF — — yes yes (UAT host)
XPO yes yes Avery PDF yes — yes test mode on BOLs only
R+L Carriers yes NMFTA eBOL Avery PDF — — yes none
SAIA yes (unverified) NMFTA eBOL Avery PDF, 4×6 PDF — — yes (unverified) yes (pilot gateway)

Services:

How freight maps onto Carrier

Credentials

Carrier What you need Where
TForce Client ID and secret (Azure AD client credentials) developer.tforcefreight.com → Profile → Configure My Client
Old Dominion ODFL.com username and password ODFL.com; QA access from [email protected]
Estes API key, plus MyEstes username and password [email protected] issues a client ID and secret. Call POST /v1/api-key once per environment to create the key.
XPO Consumer key and secret, plus XPO LTL web username and password [email protected]
R+L API key rlcarriers.com → Resources → API Overview
SAIA Saia Secure username and password, plus three product keys (Rate Quote, Tracking, Bill of Lading) SAIA's developer portal; each product has its own key

Store every secret in an environment variable.

Unverified

These connectors were written from the carriers' published documentation, without live accounts. Anything that couldn't be confirmed from a primary source is marked UNVERIFIED in the docblock of the carrier class, where someone debugging that carrier will look. The most important items:

Testing

The conformance suite drives all six carriers through Carrier's contract against the recorded samples in tests/fixtures.php:

Licence

The Craft License. See Carrier, which is commercial.


All versions of craft-carrier-freight with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
craftcms/cms Version ^5.3.0
justinholtweb/craft-carrier Version ^5.0.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 justinholtweb/craft-carrier-freight contains the following files

Loading the files please wait ...