PHPackages                             goodjun/azure-luis-php-sdk - 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. goodjun/azure-luis-php-sdk

ActiveLibrary

goodjun/azure-luis-php-sdk
==========================

Microsoft Azure LUIS PHP SDK for REST API

1.0.1(5y ago)067MITPHPPHP &gt;=5.6

Since Sep 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/goodjun/azure-luis-php-sdk)[ Packagist](https://packagist.org/packages/goodjun/azure-luis-php-sdk)[ RSS](/packages/goodjun-azure-luis-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Microsoft Azure LUIS PHP SDK
============================

[](#microsoft-azure-luis-php-sdk)

[![Build Status](https://camo.githubusercontent.com/cae47caddbbe37c158dfb646bc9f1f75105b62a296b353535f7fb76f19e396ad/68747470733a2f2f7472617669732d63692e636f6d2f676f6f646a756e2f617a7572652d6c7569732d7068702d73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/goodjun/azure-luis-php-sdk)[![Coverage Status](https://camo.githubusercontent.com/812b8cdaca67493fbd189d31e4c1d05a15ddd90974abbe205478846ec330819b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f676f6f646a756e2f617a7572652d6c7569732d7068702d73646b2f62616467652e7376673f6272616e63683d6d6173746572266b696c6c5f63616368653d31)](https://coveralls.io/github/goodjun/azure-luis-php-sdk?branch=master)[![Packagist Version](https://camo.githubusercontent.com/dedad89ea66e8dcb81b339fe1533b6430df700a55036bc51c200569aa0f09506/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676f6f646a756e2f617a7572652d6c7569732d7068702d73646b)](https://packagist.org/packages/goodjun/azure-luis-php-sdk)[![Packagist Downloads](https://camo.githubusercontent.com/7d181138650058e50dd51039339b580230de45b2056d5f2d2ccce92ff1112e62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f676f6f646a756e2f617a7572652d6c7569732d7068702d73646b)](https://packagist.org/packages/goodjun/azure-luis-php-sdk)[![GitHub](https://camo.githubusercontent.com/e306969940337e803d44222f0276e7c6a4e95f4a4b83e7c19550dc3b355bd95d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676f6f646a756e2f617a7572652d6c7569732d7068702d73646b)](https://github.com/goodjun/azure-luis-php-sdk)[![GitHub issues](https://camo.githubusercontent.com/22671ea371be815109a97cca93bb6bd93ec8b2657e1b1061a736387ac8afa26b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f676f6f646a756e2f617a7572652d6c7569732d7068702d73646b)](https://github.com/goodjun/azure-luis-php-sdk)

**Welcome to Microsoft Azure LUIS PHP SDK**. This repository contains Azure LUIS PHP SDK and samples for REST API.

How to use?
-----------

[](#how-to-use)

```
// from LUIS Profile -> Settings -> Authoring Resources
$primaryKey = '00000000-0000-0000-0000-000000000000';
$location = 'westus';

// Luis Client
$luisClient = new LuisClient($primaryKey, $location);

// create app
$app = new App();
$app->setName('app name')->setDescription('app description');
$appId = $luisClient->createApp($app);

// update app
$luisClient->app($appId)->update('new name','new description');

// delete app
$luisClient->app($appId)->delete();
```

Prerequisites
-------------

[](#prerequisites)

- PHP 5.5+.
- cURL &amp; JSON extension.

Run a unit test
---------------

[](#run-a-unit-test)

- Run `composer install`
- Set the environment variable. ```
    export LUIS_LOCATION=luis-location
    export LUIS_PRIMARY_KEY=luis-primary
    export LUIS_APP_ID=app-id

    ```
- Run `php vendor/bin/phpunit`

License
-------

[](#license)

- MIT

LUIS Documentation
------------------

[](#luis-documentation)

- [What is Language Understanding (LUIS)?](https://docs.microsoft.com/zh-cn/azure/cognitive-services/luis/what-is-luis)
- [LUIS Programmatic APIs v2.0](https://westus.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/5890b47c39e2bb052c5b9c2f).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.4% 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 ~0 days

Total

2

Last Release

2055d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be897760624b68f07bc07e0697e865920ed9cffddfb1ab88a8c121603cec1520?d=identicon)[goodjun](/maintainers/goodjun)

---

Top Contributors

[![goodjun](https://avatars.githubusercontent.com/u/18377597?v=4)](https://github.com/goodjun "goodjun (43 commits)")[![sjfood-tom](https://avatars.githubusercontent.com/u/33740017?v=4)](https://github.com/sjfood-tom "sjfood-tom (14 commits)")

---

Tags

azureluisphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/goodjun-azure-luis-php-sdk/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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