PHPackages                             mycools/shopee-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mycools/shopee-api

ActiveLibrary[API Development](/categories/api)

mycools/shopee-api
==================

A simple laravel package for Shopee API V2

1.0.1(3y ago)09MITPHPPHP ^7.4|^8.0|8.1

Since Apr 18Pushed 3y agoCompare

[ Source](https://github.com/mycools/shopee-api)[ Packagist](https://packagist.org/packages/mycools/shopee-api)[ Docs](https://github.com/mycools/shopee-api)[ RSS](/packages/mycools-shopee-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Laravel Shopee
==============

[](#laravel-shopee)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ca711ef75a7d5fa3f15d6f617a395dec489196d0898d043ce635d72d9f71ecd8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d79636f6f6c732f73686f7065652d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mycools/shopee-api)[![Total Downloads](https://camo.githubusercontent.com/da8d4da694c8d596682c831c3ddb3cb791a6e490a3a8db32b95f0d685af17390/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d79636f6f6c732f73686f7065652d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mycools/shopee-api)

Laravel package for interacting with Shopee API V2.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require mycools/shopee-api
```

Before Start
------------

[](#before-start)

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

```
SHOPEE_SANDBOX_MODE=true # true or false for sandbox mode
SHOPEE_PARTNER_ID=
SHOPEE_PARTNER_KEY=

```

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

```
php artisan vendor:publish --provider="Mycools\Shopee\ShopeeServiceProvider" --tag="config"
```

Run the migration command to create the necessary database table.

```
php artisan migrate
```

Available Methods
-----------------

[](#available-methods)

Below are all methods available under this package.

Service nameMethod nameDescriptionauth()accessToken()Generate access token.refreshToken()Refresh access token before it expired.order()list()Get an order list from specified date range.detail()Get an order detail by order SN.payment()escrowDetail()Get the accounting detail of an order.shop()generateAuthorizationURL()Get shop authorization URL for shop to authorize.getInfo()Get shop information.product()searchItem()Search product on shop.getItemBaseInfo()Get product base information.getItemExtraInfo()Get product extra information.Usage
-----

[](#usage)

You may call the method by chaining the service name before calling the method name.

```
// Using service container
app('shopee')->order()->detail('211020BNFYMXXX');

// Using facade
\Shopee::order()->detail('211020BNFYMXXX');
```

Event
-----

[](#event)

This package also provide an event to allow your application to listen for Shopee web push. You can create your listener and register it under event below.

EventDescriptionMycools\\Shopee\\Events\\WebhookReceivedReceive a push content from Shopee.### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Raditz Farhan](https://github.com/laraditz)
- [Jirawat R.](https://github.com/mycools)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1125d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fb5e8e70f3260a79903cce3478fcede3d1702ac127b68767b8730175ecd9409?d=identicon)[mycools](/maintainers/mycools)

---

Top Contributors

[![raditzfarhan](https://avatars.githubusercontent.com/u/1203676?v=4)](https://github.com/raditzfarhan "raditzfarhan (1 commits)")

---

Tags

shopeemycools

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mycools-shopee-api/health.svg)

```
[![Health](https://phpackages.com/badges/mycools-shopee-api/health.svg)](https://phpackages.com/packages/mycools-shopee-api)
```

###  Alternatives

[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[minchao/shopee-php

Shopee Partner API PHP SDK

14536.5k](/packages/minchao-shopee-php)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
