Download the PHP package tcgunel/omniship-hepsijet without Composer

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

Omniship HepsiJet

HepsiJet (Hepsiburada Logistics) carrier driver for Omniship.

Uses HepsiJet's REST/JSON API with token-based authentication.

Installation

Quick Start

Configuration Parameters

Parameter Description Required
username HepsiJet API username Yes
password HepsiJet API password Yes
companyName Company name (provided by HepsiJet during onboarding) Yes
abbreviationCode Company abbreviation code (provided by HepsiJet) Yes
companyAddressId Sender address ID (provided by HepsiJet) Yes
currentXDockCode Cross-dock/sorting center code (provided by HepsiJet) Yes
testMode Use sandbox environment No (default: false)

Operations

Create Shipment

HepsiJet requires the caller to provide a unique barcode/tracking number (customerDeliveryNo). This must be 9-16 characters, prefixed with your company abbreviation code.

Track Shipment

Cancel Shipment

Cancels a shipment before it has been picked up by HepsiJet.

API Details

Endpoints

Environment URL
Test https://integration-apitest.hepsijet.com
Production https://integration.hepsijet.com

Authentication

Two-step token authentication:

  1. GET /auth/getToken with HTTP Basic Auth (username:password)
  2. All subsequent requests use X-Auth-Token: {token} header

Token expires after 60 minutes.

Key Features

API Methods

Operation Method Endpoint
Create Shipment POST /rest/delivery/sendDeliveryOrderEnhanced
Track Shipment POST /rest/delivery/integration/track
Cancel Shipment POST /rest/delivery/deleteDeliveryOrder/{barcode}
Get Label POST /delivery/barcodes-label?format=PDF

Status Mapping

HepsiJet Status ShipmentStatus
NEO PRE_TRANSIT
ACCEPTED PICKED_UP
OUT_FOR_DELIVERY OUT_FOR_DELIVERY
DELIVERED DELIVERED
FAILED_ATTEMPT FAILURE
RETURNED RETURNED
CANCELLED CANCELLED
DELETED CANCELLED

Response Format

All responses follow the envelope:

Testing

License

MIT


All versions of omniship-hepsijet with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
tcgunel/omniship-common Version ^0.0.1
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 tcgunel/omniship-hepsijet contains the following files

Loading the files please wait ...