Download the PHP package entelix/edilink without Composer

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

EDILink by Hiral Rajgor

Laravel package for generating shipping EDI files from container lifecycle events.

Stuck figuring out encoding and decoding EDIs, here is the easiest way to do it. EDILink gives you a clean, framework-agnostic pipeline to turn your container movement data into carrier-ready EDI output — with zero database coupling, typed data objects, and a pluggable carrier profile system that makes adding new shipping lines straightforward.

Built and maintained by Hiral Rajgor.


Features


Requirements


Installation

Laravel auto-discovers the service provider. To publish the config file:


Core concepts

MovementRecord

The single input object that flows through EDILink. Represents one container's state at the time you want to generate EDI.

Fluent builder:

From a DB row array:

fromArray() accepts both snake_case and camelCase keys, and maps common column name variants automatically — gate_in, arrived_at, gate_in_at, arrivedAt all map to the same field.

EdiOutput

Every build*() method returns an EdiOutput:


Usage

Generate a single event

Generate all events at once

Shorthand — full EDI string in one call

Array / OVA output mode


Laravel scheduler integration

The example below shows the recommended pattern: a dedicated scope on your model resolves the pending records, buildAll() generates the EDI in one pass, and includedIds gives you the exact IDs to stamp without a second query.

Your model scope — add this to whatever Eloquent model holds your container data:

The Artisan command:

Register in your scheduler:


Adding a new carrier

  1. Create a profile class in your app (or a separate package):

  2. Register in config/edilink.php:

  3. Use it:

Artisan commands


Running tests


MSC event reference

Method Event type slug EDI code
buildGateIn() gate_in DEV / MCY / MPI / ERM (zone-aware)
buildSurvey() survey DAM
buildRepairDispatch() repair_dispatch TBR
buildRepairReturn() repair_return REP
buildGateOut() gate_out FST / MPO / MSH (zone-aware)
buildCfsArrival() cfs_arrival DVAN
buildStuffing() stuffing CST
buildDestuffing() destuffing DST

Roadmap


License

MIT — free to use in any project.

© Hiral Rajgor | Entelix Technologies. Contributions welcome via GitHub.


All versions of edilink with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/mail Version ^10.0|^11.0|^12.0|^13.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 entelix/edilink contains the following files

Loading the files please wait ...