PHPackages                             ibagayoko/rc\_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. ibagayoko/rc\_sdk\_php

ActiveLibrary

ibagayoko/rc\_sdk\_php
======================

A PHP version of th SDK for the development of custom actions for Rasa Core.

0.1.0(7y ago)013Apache-2.0PHPPHP &gt;=7.1

Since Dec 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ibagayoko/rc_sdk_php)[ Packagist](https://packagist.org/packages/ibagayoko/rc_sdk_php)[ Docs](https://github.com/ibagayoko/rc_sdk_php)[ RSS](/packages/ibagayoko-rc-sdk-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Rasa PHP-SDK
============

[](#rasa-php-sdk)

PHP SDK for the development of custom actions for Rasa Core.

Compatibility
-------------

[](#compatibility)

SDK versioncompatible Rasa Core version`0.1.x``>=0.12.x`Installation
------------

[](#installation)

To install the SDK run

```
composer require ibagayoko/rc_sdk_php
```

Usage
-----

[](#usage)

Can find detailed instructions about [Custom Actions](https://rasa.com/docs/core/customactions) in the Rasa Core Documentation. [Custom Actions](https://rasa.com/docs/core/customactions). In your acion endpoint config file put:

```
action_endpoint:
  url: http://path-to.php/webhook
```

Simple PHP app

```
require "vendor/autoload.php";

use IBagayoko\RasaCoreSdk\Endpoint;
use IBagayoko\RasaCoreSdk\Action;
use IBagayoko\RasaCoreSdk\Events;

class PhpAction extends Action
{
    public function name()
    {
        return "action_php";
    }
    public function run($dispatcher, $tracker, $domain)
    {
        $dispatcher->utter_message("Hello From Php");
        return [Events::SlotSet("php", "up")];
    }
}

// create a new endpoint with an array of customs actions
$endpoint = new Endpoint([PhpAction::class]);

switch ($_SERVER["PATH_INFO"]) {
    case '/health':
        $endpoint->health();
        break;
    case '/webhook':
        $endpoint->webhook();
    default:
        break;
}
```

Laravel Usage
-------------

[](#laravel-usage)

```
use IBagayoko\RasaCoreSdk\Endpoint;
use IBagayoko\RasaCoreSdk\Action;
use IBagayoko\RasaCoreSdk\Events;

class PhpAction extends Action
{
    public function name()
    {
        return "action_php";
    }
    public function run($dispatcher, $tracker, $domain)
    {
        $dispatcher->utter_message("Hello From Php");
        return [Events::SlotSet("php", "up")];
    }
}

// create a new endpoint with an array of customs actions
$endpoint = new Endpoint([PhpAction::class]);

Route::get('/health', function () use($endpoint)
{
	  return $endpoint->health();
});

Route::post('/webhook', function () use($endpoint)
{
	 return $endp->webhook();
});
```

License
-------

[](#license)

Licensed under the Apache License, Version 2.0. [Copy of the license](LICENSE).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% 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

Unknown

Total

1

Last Release

2688d ago

### Community

Maintainers

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

---

Top Contributors

[![ismobaga](https://avatars.githubusercontent.com/u/8527925?v=4)](https://github.com/ismobaga "ismobaga (13 commits)")[![ibagayoko](https://avatars.githubusercontent.com/u/46138891?v=4)](https://github.com/ibagayoko "ibagayoko (1 commits)")

---

Tags

composer-libraryphprasa-coreRasa Core SDK

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ibagayoko-rc-sdk-php/health.svg)

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

PHPackages © 2026

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