# laya-php

A PHP SDK that sorts text into typed answers in more than 100 languages, on your own server and without paying for an LLM API.

It sends text to laya-serve, the HTTP server of the Laya decision engine, which you run yourself. Answers come back as typed enums, ints and bools, each with a confidence score. A built-in fake lets you test without a server.

- Made by: [Marc Reichel](https://github.com/marcreichel)
- Shipped: 26/09/2026
- Date from: [release](https://github.com/marcreichel/laya-php/releases/tag/0.0.1)
- Source: [github.com/marcreichel/laya-php](https://github.com/marcreichel/laya-php)
- Install: `composer require marcreichel/laya-php`
- Licence: Apache-2.0
- Stack: plain PHP
- Topics: AI, Self-hosted
- Checked: 30/10/2026
- Added: 31/10/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/laya-php/)
```

See more at [phplives.dev](https://phplives.dev)
