Download the PHP package justinholtweb/craft-palletizr without Composer

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

Palletizr

Palletization for Craft Commerce. Palletizr consolidates an order's cartons onto shipping pallets — standard footprints, your own custom ones, and as many as the shipment needs — then hands the finished pallets to Postie so your freight carrier quotes handling units instead of boxes.

Craft 5.3+ · Craft Commerce 5+ · PHP 8.2+ · $59


The problem

A freight carrier does not price forty cartons. It prices the two pallets those cartons are strapped to. But a Craft store quoting LTL through Postie hands the carrier its cartons, because that is what Postie's box packer produces — and the carrier either rates forty parcels, refuses, or returns a number that has nothing to do with the bill that arrives three weeks later.

Palletizr closes that gap. It sits between Postie's packing and Postie's rate request, builds the pallets your warehouse would actually build, and gives the carrier the shipment as it will really turn up on its dock.

What it does

Installation

Postie is optional. Without it, Palletizr still builds pallets for the simulator, for your templates and for its own freight tariffs — it simply has no carrier to send them to.

Getting started

  1. Seed some pallets. Palletizr → Pallets offers the standard footprints, or:

    Then weigh one and correct its empty weight. You are billed for it on every shipment.

  2. Write a rule. Palletizr → Rules. The usual first one is "palletize anything over 150 lb": one rule, action Palletize, a minimum order weight, and the pallets it may build on.

  3. Try it. Palletizr → Simulator takes made-up cartons through the same load builder a real order uses, and draws every layer looking down at the deck.

  4. Check a real order.

How rules work

Rules are read top to bottom, and the first decisive one wins. This is the opposite of how a rate table works, and deliberately: palletizing is a single decision about a single shipment, and summing partial answers from four rules would produce a plan no warehouse could follow.

require is the gate. "Only ever palletize inside the contiguous US" is one require rule with a destination condition, sitting above everything else.

A matching palletize rule settles everything downstream: which pallets are eligible, how one is chosen, what happens when the load spills onto a second, how cartons are stacked, whether overhang is allowed, and which deck-pattern solver runs.

How the Postie integration works

Palletizr attaches to Provider::EVENT_AFTER_PACK_ORDER — the moment Postie has finished packing and has not yet asked anybody for a price — and replaces the carton list with a pallet list. Everything downstream is unchanged: Postie serialises the pallets, converts them into the provider's units and sends them. No changes to Postie are needed.

Two things it is careful about:

If anything in there throws, the error is logged and Postie's original packing stands. The worst case is a shipment quoted as loose cartons — which is what would have happened anyway.

Templating

craft.palletizr.quote(cart, 'ltl') prices a shipment under one of your own tariffs, and craft.palletizr.freightClassForDensity(18.4) answers the "what class is my freight" question on its own.

Price

Palletizr is $59, with a $49/year renewal for continued updates and support. There is no feature-gated tier: one price, everything switched on — the optimised deck-pattern solver, per-class hundredweight rates, condition-builder rules, the Postie bridge, the simulator and the console.

Gating the optimised solver behind a tier was considered and rejected. It is the feature that turns two pallets into one, which means the cheaper edition would be the one that quietly costs the store money on every shipment.

What it will not pretend

Console

Export and import move pallets, rules and tariffs between environments. Nothing is ever deleted by an import.

Licence

The Craft License. See LICENSE.md.


All versions of craft-palletizr with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-json Version *
craftcms/cms Version ^5.3.0
craftcms/commerce 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-palletizr contains the following files

Loading the files please wait ...