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 3w 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 36% 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

3498d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6286158?v=4)[Lok Chun Wai](/maintainers/lok0613)[@lok0613](https://github.com/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

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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