{
 "schema_version": 1,
 "generated": "2026-10-20",
 "repo": "marcreichel/laya-php",
 "name": "laya-php",
 "owner": "marcreichel",
 "slug": "marcreichel-laya-php",
 "github": "https://github.com/marcreichel/laya-php",
 "what": "A PHP SDK for classifying text with Laya, a self-hosted multilingual decision engine that returns typed enums, ints and bools without an LLM API bill.",
 "why": "",
 "language": "PHP",
 "requirements": [
  "PHP 8.4+ and Composer",
  "A PSR-18 HTTP client such as Guzzle or Symfony HttpClient",
  "Docker, to run laya-serve from the repo's compose.yaml",
  "Laravel 13+ for the Laravel steps (service provider, artisan commands, validation rule, cast)"
 ],
 "audience_note": "PHP and Laravel developers who need to route, score or flag text on their own server without per-token LLM fees.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Work and operations",
 "url": "https://dedupedai.com/use-cases/marcreichel-laya-php/",
 "use_case_count": 4,
 "use_cases": [
  {
   "id": "marcreichel-laya-php--route-support-tickets",
   "title": "Route support tickets by department, urgency and churn risk",
   "best": true,
   "url": "https://dedupedai.com/use-cases/marcreichel-laya-php/route-support-tickets/",
   "json": "https://dedupedai.com/use-cases/u/marcreichel-laya-php/route-support-tickets.json"
  },
  {
   "id": "marcreichel-laya-php--gate-user-content-in-forms",
   "title": "Block abusive or spam text in Laravel form submissions",
   "best": false,
   "url": "https://dedupedai.com/use-cases/marcreichel-laya-php/gate-user-content-in-forms/",
   "json": "https://dedupedai.com/use-cases/u/marcreichel-laya-php/gate-user-content-in-forms.json"
  },
  {
   "id": "marcreichel-laya-php--unit-test-classification-code",
   "title": "Unit-test classification code without a running server",
   "best": false,
   "url": "https://dedupedai.com/use-cases/marcreichel-laya-php/unit-test-classification-code/",
   "json": "https://dedupedai.com/use-cases/u/marcreichel-laya-php/unit-test-classification-code.json"
  },
  {
   "id": "marcreichel-laya-php--store-decisions-in-json-column",
   "title": "Save typed decisions in an Eloquent JSON column",
   "best": false,
   "url": "https://dedupedai.com/use-cases/marcreichel-laya-php/store-decisions-in-json-column/",
   "json": "https://dedupedai.com/use-cases/u/marcreichel-laya-php/store-decisions-in-json-column.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
