PHPackages                             clsystems/sas-api-client - 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. clsystems/sas-api-client

ActiveLibrary[API Development](/categories/api)

clsystems/sas-api-client
========================

Share-A-Sale API library

v1.2.0(5y ago)1421MITPHPPHP &gt;=7.3

Since Jan 17Pushed 4y ago2 watchersCompare

[ Source](https://github.com/CLSystems/sas-api-client)[ Packagist](https://packagist.org/packages/clsystems/sas-api-client)[ RSS](/packages/clsystems-sas-api-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

sas-api-client
==============

[](#sas-api-client)

A PHP wrapper around the Share-A-Sale API.

This code is Publisher (Affiliate) specific.

If you are looking for Merchant specific code, check out

Install
-------

[](#install)

Install  and run the following command:

```
php composer.phar require clsystems/sas-api-client dev-master

```

Example
-------

[](#example)

Calling from your code:

```
        use CLSystems\ShareASale\Client;

        $service = new Client();
        // See https://account.shareasale.com/a-apiManager.cfm for info
        // Remember to whitelist your calling IP
        $service->setServiceUrl('https://api.shareasale.com');
        $service->setVersion('2.3');
        $service->setAffiliateId([your affiliate id]);
        $service->setToken('[your token]');
        $service->setSecretKey('[your secret key]');

        $options = [
            'dateStart' => '6/22/2016',
        ];

        $records = $service->activity($options);

        var_dump($records);

```

Implemented Service Methods:
----------------------------

[](#implemented-service-methods)

- **activity**
- **activitySummary**
- **apitokencount**
- **balance**
- **dailyActivity**
- **couponDeals**
- **edittrail**
- **getMerchantDescription**
- **getProducts**
- **invalidLinks**
- **ledger**
- **merchantCreative**
- **merchantDataFeeds**
- **merchantGiftCard**
- **merchantSearch**
- **merchantSearchProduct**
- **merchantStatus**
- **merchantTimespan**
- **monthlySummary**
- **orderInquiry**
- **paymentSummary**
- **traffic**
- **voidtrail**

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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 ~17 days

Total

3

Last Release

1913d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2074187?v=4)[CLSystems](/maintainers/CLSystems)[@CLSystems](https://github.com/CLSystems)

---

Top Contributors

[![orbex](https://avatars.githubusercontent.com/u/2074126?v=4)](https://github.com/orbex "orbex (5 commits)")

---

Tags

apiclientaffiliateclsystemsshareasale

### Embed Badge

![Health badge](/badges/clsystems-sas-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/clsystems-sas-api-client/health.svg)](https://phpackages.com/packages/clsystems-sas-api-client)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[crowdin/crowdin-api-client

PHP client library for Crowdin API v2

611.5M5](/packages/crowdin-crowdin-api-client)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[markrogoyski/numverify-api-client-php

Numverify API Client for PHP

1220.9k](/packages/markrogoyski-numverify-api-client-php)[hypeit/tradetracker-api-client

TradeTracker API client

1020.9k](/packages/hypeit-tradetracker-api-client)

PHPackages © 2026

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