PHPackages                             isamarin/alisa - 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. isamarin/alisa

ArchivedLibrary[API Development](/categories/api)

isamarin/alisa
==============

YandexAlisa PHP Bot

1.0.2(6y ago)5104MITPHPPHP ^7.1CI passing

Since Aug 4Pushed 1w ago1 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (45)Used By (0)

yandex-alice-php (`isamarin/alisa`)
===================================

[](#yandex-alice-php-isamarinalisa)

PHP-фреймворк для навыков **Яндекс.Алисы** (Dialogs webhook): триггеры, распознавание фраз, кнопки, сессии.

[![CI](https://github.com/isamarin/yandex-alice-php/actions/workflows/ci.yml/badge.svg)](https://github.com/isamarin/yandex-alice-php/actions/workflows/ci.yml)

Status: archived (maintenance snapshot)
---------------------------------------

[](#status-archived-maintenance-snapshot)

**State****Archived** on GitHub — read-only history + last green CI**Last meaningful work**2026: PHP 8.1+, protocol fixup (`end_session`, `url`, `application_id`, `session_state`), tests**Core idea**2019 rule-based skill runtime (token groups ≈ bag-of-words / lemmas)### Good for

[](#good-for)

- Tiny **closed-set** skills (десяток команд, keyword intents)
- Learning the shape of an Alice webhook in PHP
- Historical / portfolio context

### Not for (2026+)

[](#not-for-2026)

- Production multi-turn NLU or “understanding”
- Serverless-first skills (file sessions are legacy)
- New products — prefer Dialogs built-in NLU / thin webhook + your own state machine / LLM where it fits

**BoW here answers “which keywords appeared?”, not “what does the user want?”.**
Morphology and Damerau–Levenshtein only normalize or rank surface forms; they are not a language model.

No further feature work planned. Fork if you need evolution; issues on this repo are closed with the archive.

---

Install
-------

[](#install)

```
composer require isamarin/alisa
```

Опционально:

```
# морфология (MorphyRecognition «как раньше»)
composer require nqxcode/phpmorphy

# HTTP-hop для substituteTriggerTo()
composer require guzzlehttp/guzzle
```

Словари phpMorphy (русский):

Quick start
-----------

[](#quick-start)

```
