Download the PHP package hosomikai/laravel-ezship without Composer

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

Laravel Ezship Api - 台灣便利配非官方套件

Made with ❤️ by hosomikai


Requirement for laravel

Installation

1. Require the Package

After creating your new Laravel application and composer setting, you can include the package with the following command:

2. Publish

3. Add your .env :

如果你想載入demo範例 config/app.php

設定完成後瀏覽 http://localhost:8000/ezship/order

Usage

1. 設定回傳網址

routes/web.php

註:需將你的ezship 路由網址註冊到 VerifyCsrfToken middleware 裡的 $except裡,以過濾post方法

EzshipController:

2. 宅配串接

3. 超商取貨串接

產生電子地圖連結:

routes/web.php:

EzshipController:

新建超商取貨訂單

4. Hosomikai\Ezship\Contracts\EzshipOrder

參數 說明
STORE_NEW_TYPE1 A01 超商取貨新訂單,不需在ezShip上確認訂單,可直接印單 (ezShip系統將回覆sn_id)
STORE_NEW_TYPE2 A02 超商取貨新訂單,需在ezShip上確認訂單,確認後才可進行印單 (ezShip系統預設值, 且系統將回覆sn_id)
STORE_NEW_TYPE3 A03 超商取貨新訂單,使用 輕鬆袋或迷你袋 (ezShip系統不回覆sn_id,不需在ezShip網站上確認訂單,但需至ezShip網站後台登錄專用編號)
STORE_NEW_TYPE4 A04 超商取貨新訂單,使用 輕鬆袋或迷你袋 (ezShip系統不回覆sn_id,需在ezShip網站上確認訂單,且需至ezShip網站後台登錄專用編號)
HOME_DELIVERY_TYPE1 A05 宅配新訂單 不需在ezShip上確認訂單,可直接印單 (ezShip系統將回覆sn_id)
HOME_DELIVERY_TYPE2 A06 宅配新訂單 需在ezShip上確認訂單,確認後才可進行印單 (ezShip系統將回覆sn_id)

you can set in env:

or you can publish config & change in config/ezship.php:

5. 查詢物流配送狀態

Referrece

台灣便利通/Ezship

Change log

Please see the changelog for more information on what has changed recently.

TODO


All versions of laravel-ezship with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0|^8.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 hosomikai/laravel-ezship contains the following files

Loading the files please wait ....