Download the PHP package muhanz/shoapi without Composer

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

ShoAPI - Laravel Shopee API SDK (V2)

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require StyleCI

Laravel Shopee API SDK (V2)

This is a Unofficial Shopee PHP Client for Laravel 9|10 and currently supported API V2

ShoAPi lets you develop Shopee Open API in Laravel. ShoAPi is an HTTP-based interface created for developers interested Shopee Open API. To learn more about the Shopee Open API, please consult the Introduction on the official Shopee Open Platform site.

Installation

Via Composer

Before Start

Configure your variables in your .env (recommended) or you can publish the config file and change it there.

(Optional) You can publish the config file via this command:

Authorization and Authentication

For cancel/disconnet auth partner

Get Access Token & Refresh Access Token

The access_token is a dynamic token, and you need to pass access_token to call non-public APIs. Each access_token is valid for 4 hours and can be used multiple times within 4 hours. However, you need to refresh the access token by calling RefreshAccessToken before it expires in order to obtain a new access_token.

Refresh_token is a parameter used to refresh access_token. Each refresh_token is valid for 30 days.

⚠️ Note: The access_token and refresh_token of each shop_id and merchant_id need to be saved separately.

Get Access Token:

Get Refresh Access Token:

Example Response:

Basic Usage

Other Example:

Example Response:

Support Methods

Currently supported all methods exclude GlobalProduct(CB seller only) please open Shopee Open Platform

Service (call) Method (access)
Product add_item, get_category and 35 others
Global Product(CB seller only) - Not Tested
MediaSpace upload_image, upload_video, etc
Shop get_info_shop, get_profile, update_profile, etc
Merchant get_merchant_info, get_shop_list_by_merchant, etc
Order get_order_list, get_order_detail and 11 others
Logistics get_shipping_parameter, get_tracking_number, and 14 others
First Miles get_unbind_order_list, get_detail, etc
Payment get_escrow_detail, set_shop_installment_status, etc
Discount add_discount, add_discount_item, etc
Bundle Deal add_bundle_deal, add_bundle_deal_item, etc
Add-On Deal add_add_on_deal, add_add_on_deal_main_item, etc
Voucher add_voucher, delete_voucher, etc
Follow Prize add_follow_prize, delete_follow_prize, etc
Top Picks get_top_picks_list, add_top_picks, etc
Shop Category add_shop_category, get_shop_category_list, etc
Returns get_return_detail, get_return_list, etc
Account Health shop_performance, shop_penalty
Public get_shops_by_partner, get_access_token,refresh_access_token, etc
Push set_app_push_config, get_app_push_config

Documentation

Please refer to the official documentation Shopee Open Platform

Change log

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

Contributing

Please see contributing.md for details and a todolist.

Credits

License

MIT. Please see the license file for more information.


All versions of shoapi with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
guzzlehttp/guzzle Version ^7.2
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 muhanz/shoapi contains the following files

Loading the files please wait ....