Download the PHP package justinholtweb/craft-erpy without Composer

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

Erpy

The ERP gateway for Craft Commerce. One sync engine, one mapping screen, one log — and a free add-on for every major ERP.

Erpy does the hard part once. Each ERP is a separate free plugin that translates one vendor's API into Erpy's canonical documents; Erpy owns everything that has to be true of all of them. It is the same arrangement Imager-X uses for its transformers, for the same reason: the interesting work is not in any one integration.

What it syncs

ERP → Commerce Commerce → ERP
Products items, descriptions, units, weights, blocked flags
Prices price lists, customer contracts, quantity breaks, campaign dates
Inventory on-hand, allocated, available, per warehouse
Customers accounts, price list, payment terms, tax status
Orders completed orders, with lines, addresses and shipping
Order status released, picking, shipped, cancelled
Shipments partial fulfilments, carriers, tracking numbers
Invoices posted invoices, balances, due dates
Payments settlements captures
Credit limit, balance, open orders, overdue, stop flag

Why it costs money and the connectors do not

A connector's whole job is to turn one page of an ERP's payloads into canonical documents. It does not queue, retry, page, dedupe, map, log, schedule or write to Commerce — because Erpy does, once, for all of them:

Connectors

Install the free add-on for your ERP and it appears in the connector list.

ERP Package
Microsoft Dynamics 365 Business Central justinholtweb/craft-erpy-businesscentral
Oracle NetSuite justinholtweb/craft-erpy-netsuite
Acumatica justinholtweb/craft-erpy-acumatica
SAP Business One justinholtweb/craft-erpy-sapb1
Sage Intacct, Sage 200, Sage X3, Sage Accounting justinholtweb/craft-erpy-sage
Odoo justinholtweb/craft-erpy-odoo
Exact Online justinholtweb/craft-erpy-exactonline
AFAS Profit justinholtweb/craft-erpy-afas
Visma.net ERP justinholtweb/craft-erpy-visma
MYOB Acumatica, MYOB Exo justinholtweb/craft-erpy-myob
Unit4 ERP justinholtweb/craft-erpy-unit4
Priority justinholtweb/craft-erpy-priority

A Mock ERP connector ships with Erpy itself. It invents deterministic data and makes no network calls, so you can try the mapping and sync screens before buying an ERP licence — and support can use it to prove a problem is in the connector rather than in Erpy.

Installing

Then Erpy → Connections → New connection, pick your ERP, fill in the credentials it asks for, and press Test connection before switching anything on.

Setting up

  1. Add a connection. Credentials live on the connection, not in project config — a staging site's ERP details must never deploy into production.
  2. Test it. A failed test names the credential to look at, not the class that threw.
  3. Choose what to sync, and in which direction. Only what your ERP actually supports is offered; you can narrow a direction, never widen one.
  4. Map the fields you care about. The connector fills in everything canonical already; rules are for the rest.
  5. Dry run first. "Preview" reads a page and reports exactly what it would create, update or skip, and changes nothing.
  6. Switch it on.

Storefront

Cart prices are overridden automatically when contract pricing is switched on — the Twig helpers are for showing the price, not for applying it.

Console

For a large catalogue, run erpy/sync/due from cron rather than relying on the queue: cron has no request timeout.

Writing a connector

A connector is one class. Register it and it appears everywhere:

Whatever you declare in capabilities() you must implement — Erpy's conformance suite refuses a connector that advertises a flow it never wrote.

Events

Documentation

Full documentation, including a page for every add-on, is at https://justinholt.com/plugins/craft-erpy/docs.

Requirements

Craft CMS 5.3+, Craft Commerce 5.0+, PHP 8.2+.

Support

[email protected]

License

The Craft License. See LICENSE.md. Erpy is a single paid edition — $149, then $129 a year — and every connector add-on is free.


All versions of craft-erpy 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-erpy contains the following files

Loading the files please wait ...