PHPackages                             lok0613/alchemyapi - 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. lok0613/alchemyapi

ActiveLibrary[API Development](/categories/api)

lok0613/alchemyapi
==================

AlchempyApi PHP Wrapper

v1.0(9y ago)018MITPHPPHP ^5.3.3 || ^7.0

Since Nov 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lok0613/alchemyapi-php)[ Packagist](https://packagist.org/packages/lok0613/alchemyapi)[ RSS](/packages/lok0613-alchemyapi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Usage
=====

[](#usage)

For example, in order to get the result for "Emotion Analysis", [http://www.ibm.com/watson/developercloud/alchemy-language/api/v1/?curl#emotion\_analysis](http://www.ibm.com/watson/developercloud/alchemy-language/api/v1/?curl#emotion_analysis). Select the input type, then you can find these at right hand side.

```
POST /text/TextGetEmotion

```

Implementation as below,

```
use Lok0613\AlchemyApi\AlchemyApi;

$alchemyApi = new AlchemyApi('api-key');
$res = $alchemyApi->getEmotion('text', [
	'text' => 'I go to school by bus',
]);
```

the return will be,

```
{
    "status": "OK",
    "usage": "By accessing AlchemyAPI or using information generated by AlchemyAPI, you are agreeing to be bound by the AlchemyAPI Terms of Use: http://www.alchemyapi.com/company/terms.html",
    "totalTransactions": "1",
    "language": "english",
    "docEmotions": {
        "anger": "0.196838",
        "disgust": "0.088342",
        "fear": "0.491799",
        "joy": "0.069452",
        "sadness": "0.222289"
    }
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3452d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fbb9ef559e96b07c55920a30e51f58a3092723731e2d360c736d921fcff3838?d=identicon)[lok0613](/maintainers/lok0613)

---

Top Contributors

[![lok0613](https://avatars.githubusercontent.com/u/6286158?v=4)](https://github.com/lok0613 "lok0613 (3 commits)")

---

Tags

ibmalchemybluemixalchemyapialchemy api

### Embed Badge

![Health badge](/badges/lok0613-alchemyapi/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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