PHPackages                             awe/blacklabel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. awe/blacklabel

ActiveProject[Utility &amp; Helpers](/categories/utility)

awe/blacklabel
==============

awe blacklabel PHP SDK

24.9k2PHPCI failing

Since Nov 25Pushed 5y ago2 watchersCompare

[ Source](https://github.com/EDDYMENS/awe-blacklabel-sdk)[ Packagist](https://packagist.org/packages/awe/blacklabel)[ RSS](/packages/awe-blacklabel/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (6)Used By (0)

AWE PHP SDK
===========

[](#awe-php-sdk)

[![StyleCI](https://camo.githubusercontent.com/61da859a4d978bb9b2aa693923598bf3c3161bf82962cb92972ee93ef9a9b9e7/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3232333837323038382f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/223872088)

The AWE PHP SDK is a PHP wrapper for the blacklabel API offering of [AWEmpire API](http://awempire.com).

Requirements
------------

[](#requirements)

- PHP: &gt;=7.1
- phpunit/phpunit: 6.\* (dev)

Setup
-----

[](#setup)

- git clone
- composer install

Methods
-------

[](#methods)

### Instantiation

[](#instantiation)

```
 $this->config = [
            'clientIP'         => '104.198.14.52',
            'applicationSecret'=> 'secret goes here',
            'userAgent'        => 'Gecko',
            'language'         => 'en',
            'whiteLabelURL'    => 'URL goes here',
          ];
$this->SDKInstance = new SDK($this->config);
```

### getPerformers

[](#getperformers)

Fetch the bios of models. EG:

```
$output = $this
            ->SDKInstance
              ->getPerformers(['pageSize' => 10, 'category' => 'girls']);
```

### getMorePerformers

[](#getmoreperformers)

Get extra model bios. EG:

```
$output = $this
            ->SDKInstance
              ->getMorePerformers($performer['data']['listPageId']);
```

### getPerformerDetailsByName

[](#getperformerdetailsbyname)

Get more bio details of a specific model. EG:

```
$output = $this
            ->SDKInstance
              ->getPerformerDetailsByName('MaiRare');
```

### getPerformerAlbum

[](#getperformeralbum)

Get album content of a model. EG:

```
$output = $this
            ->SDKInstance
              ->getPerformerAlbum('PrivateObsession', ['type' => 'image', 'privacy' => 'exclusive']);
```

### getPerformerVideos

[](#getperformervideos)

Get video only content of model EG:

```
coming soon ...
```

### getAlbumItem

[](#getalbumitem)

Get Album content of model. EG:

```
$output = $this
            ->SDKInstance
              ->getAlbumItem('PrivateObsession', '5c897e0136b31ae756dc3afd');
```

### generalSearch

[](#generalsearch)

Search for models. EG:

```
$output = $this
            ->SDKInstance
              ->generalSearch('adeleB');
```

### getFilterList

[](#getfilterlist)

Get list of categories and filters EG:

```
$output = $this
            ->SDKInstance
              ->getFilterList();
```

### setLanguage

[](#setlanguage)

Change the language for data sent back EG:

```
$output = $this
            ->SDKInstance
              ->setLanguage('fr');
```

### refreshSession

[](#refreshsession)

Refresh and reuse an expired session. EG:

```
$output = $this
            ->SDKInstance
              ->refreshSession('');
```

### setSession

[](#setsession)

For requests where member sessions are required like the updateUser method you will have to set the session with what you get back from authenticateUser. EG:

```
$output = $this
            ->SDKInstance
             ->setSession('');
```

### getPerformerRecommendations

[](#getperformerrecommendations)

EG:

```
 $output = $this
            ->SDKInstance
              ->getPerformerRecommendations('girls');
```

### authenticateUser

[](#authenticateuser)

Authenticate user and get back a purchase URL. EG:

```
$output = $this
            ->SDKInstance
              ->authenticateUser(['partnerUserId' => '101', 'displayName' => 'John Doe', 'email' => 'test@test.com']);
```

### updateUser

[](#updateuser)

Update a member users profile. EG:

```
$output = $this
            ->SDKInstance
             ->updateUser(['partnerUserId' => '8689', 'displayName' => 'John Doe', 'email' => 'test@test.com']);
```

### getChatScript

[](#getchatscript)

EG:

```
  $response = $SDKInstance->getChatscript("AdeleBlake", "vid", 'g5679b10435a7ff3449c76e44aa1d27a1',
        $primaryButtonBg = null, $primaryButtonColor = null, $inputBg = null, $inputColor = null);
```

Run test
--------

[](#run-test)

- cd src
- $ cp tests/.env-example tests/.env (Change credentials)
- ./vendor/phpunit/phpunit/phpunit tests/test.php

TODO
----

[](#todo)

- Add puchase method
- Test user update
- Test session refresh
- Test getPerformerVideos
- Document getPerformerVideos

Support
-------

[](#support)

Incase you need help with the SDK please contact your account manager :)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8077713?v=4)[Edmond Mensah](/maintainers/eddymens)[@EDDYMENS](https://github.com/EDDYMENS)

---

Top Contributors

[![EDDYMENS](https://avatars.githubusercontent.com/u/8077713?v=4)](https://github.com/EDDYMENS "EDDYMENS (12 commits)")

### Embed Badge

![Health badge](/badges/awe-blacklabel/health.svg)

```
[![Health](https://phpackages.com/badges/awe-blacklabel/health.svg)](https://phpackages.com/packages/awe-blacklabel)
```

###  Alternatives

[wwwision/dcb-eventstore

Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini

2131.5k10](/packages/wwwision-dcb-eventstore)

PHPackages © 2026

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