PHPackages                             aiphilos/api-sdk-php - 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. aiphilos/api-sdk-php

ActiveLibrary[API Development](/categories/api)

aiphilos/api-sdk-php
====================

SDK for api.aiphilos.com

1.2.0(5y ago)51272[3 issues](https://github.com/aiphilos/api-sdk-php/issues)Apache-2.0PHPPHP ^5.3 || ^7.0CI failing

Since Apr 5Pushed 5y ago3 watchersCompare

[ Source](https://github.com/aiphilos/api-sdk-php)[ Packagist](https://packagist.org/packages/aiphilos/api-sdk-php)[ RSS](/packages/aiphilos-api-sdk-php/feed)WikiDiscussions master Synced 4w ago

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

aiPhilos - Artificial Intelligence as a Service
===============================================

[](#aiphilos---artificial-intelligence-as-a-service)

[![Build Status](https://camo.githubusercontent.com/e983130012cc333be4dcb3aefd233b873913914060d27cf7d8ba472f8edce6b3/68747470733a2f2f7472617669732d63692e6f72672f61697068696c6f732f6170692d73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aiphilos/api-sdk-php) [![Latest Stable Version](https://camo.githubusercontent.com/4a6b8ddbfd1f4988d415c8a1baa757dd6182a01a5dcae6d1a0193c62d991ffb7/68747470733a2f2f706f7365722e707567782e6f72672f61697068696c6f732f6170692d73646b2d7068702f762f737461626c65)](https://packagist.org/packages/aiphilos/api-sdk-php) [![Total Downloads](https://camo.githubusercontent.com/13c78187a5915ed376d3cb05c1f32804ad40c09ad90329bd0015f620e65d0ceb/68747470733a2f2f706f7365722e707567782e6f72672f61697068696c6f732f6170692d73646b2d7068702f646f776e6c6f616473)](https://packagist.org/packages/aiphilos/api-sdk-php) [![Latest Unstable Version](https://camo.githubusercontent.com/c2a82cd0750fe99fd7df7f6080c889ae15a077b00886081f4c4463dc2aeffcd4/68747470733a2f2f706f7365722e707567782e6f72672f61697068696c6f732f6170692d73646b2d7068702f762f756e737461626c65)](https://packagist.org/packages/aiphilos/api-sdk-php) [![License](https://camo.githubusercontent.com/3e5527af80638974ad579c20497300c577aa20f957fddd5ed4f77771c231815a/68747470733a2f2f706f7365722e707567782e6f72672f61697068696c6f732f6170692d73646b2d7068702f6c6963656e7365)](https://packagist.org/packages/aiphilos/api-sdk-php)

**aiPhilos** provides natural language processing capabilities including advanced semantical and lexicographical analysis based on recent advancements in Artificial Intelligence technology.

Currently, **aiPhilos** provides two sets of APIs:

- **items** provides a real-time database and search engine using the **semantics** API (see below) improving search results and indexing through understanding natural language, adding natural language analysis and Artificial Intelligence as a component to understand your data set
- **semantics** can split natural human language input into machine-readable chunks and attach additional information usable to deepen natural language understanding in your application (tokenization, part of speech tagging, word classes and categories, named entity recognition, lexicographical data, synonyms/hypernyms/hyponyms, similarity and sentiment data, and learned knowledge)

For more, visit [aiphilos.com](https://aiphilos.com).

For documentation, see [docs.aiphilos.com](https://docs.aiphilos.com).

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

[](#installation)

The easiest way to install this library is to use [composer](https://getcomposer.org/).

```
{
    "require": {
        "aiphilos/api-sdk-php": "1.*"
    }
}
```

Usage
-----

[](#usage)

### Semantics (Semantic analysis of natural language input)

[](#semantics-semantic-analysis-of-natural-language-input)

#### Creating and configuring the client

[](#creating-and-configuring-the-client)

```
// Create client
$client = new Aiphilos\Api\Semantics\Client();

// Configure client
$client->setAuthCredentials('user', 'pass');
$client->setDefaultLanguage('de-de');
```

#### Parsing a single string

[](#parsing-a-single-string)

```
$res = $client->parseString('Ordner');
```

#### Parsing multiple strings

[](#parsing-multiple-strings)

```
$res = $client->parseStrings(array('Ordner leitz', 'tastatur'));

// Alternative
$res = $client->parseStrings(array('example_1' => 'Ordner leitz', 'example_2' => 'tastatur'));
```

#### Using custom implementations for Lexemes and Synsets

[](#using-custom-implementations-for-lexemes-and-synsets)

```
Aiphilos\Api\Semantics\LexemeFactory::setDefaultClass('My\Namespace\And\Classname'); // Instance of Aiphilos\Api\Semantics\LexemeInterface
Aiphilos\Api\Semantics\SynsetFactory::setDefaultClass('My\Namespace\And\Classname'); // Instance of Aiphilos\Api\Semantics\SynsetInterface
```

### Items (Database and search engine)

[](#items-database-and-search-engine)

**TBD**

License
-------

[](#license)

This library is available under the [Apache 2.0 License](LICENSE).

Contact
-------

[](#contact)

Want to get in touch? Contact: [aiphilos.com](https://aiphilos.com/kontakt/).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 95.7% 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 ~315 days

Total

4

Last Release

2064d ago

### Community

Maintainers

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

---

Top Contributors

[![schwaen](https://avatars.githubusercontent.com/u/8160276?v=4)](https://github.com/schwaen "schwaen (44 commits)")[![mhilbrunner](https://avatars.githubusercontent.com/u/1654763?v=4)](https://github.com/mhilbrunner "mhilbrunner (2 commits)")

---

Tags

apiclientsdkaiephilosaiphilos

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aiphilos-api-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/aiphilos-api-sdk-php/health.svg)](https://phpackages.com/packages/aiphilos-api-sdk-php)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

46688.8k5](/packages/deepseek-php-deepseek-php-client)[gemini-api-php/client

API client for Google's Gemini API

225274.6k5](/packages/gemini-api-php-client)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

73287.1k1](/packages/mozex-anthropic-laravel)[mozex/anthropic-php

PHP client for the Anthropic API: messages, streaming, tool use, thinking, web search, code execution, batches, and more.

49552.5k16](/packages/mozex-anthropic-php)[gemini-api-php/laravel

Gemini API client for Laravel

8916.9k](/packages/gemini-api-php-laravel)[qwen-php/qwen-php-client

robust and community-driven PHP SDK library for seamless integration with the qwen AI API, offering efficient access to advanced AI and data processing capabilities

203.2k1](/packages/qwen-php-qwen-php-client)

PHPackages © 2026

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