PHPackages                             lemurengine/lemurbot - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lemurengine/lemurbot

ActiveProject[Utility &amp; Helpers](/categories/utility)

lemurengine/lemurbot
====================

An AIML chatbot and admin portal written for the Laravel framework

9.1.0(2y ago)10390[2 issues](https://github.com/lemurengine/lemurbot/issues)1MITPHPPHP ^8.0.2

Since Oct 19Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/lemurengine/lemurbot)[ Packagist](https://packagist.org/packages/lemurengine/lemurbot)[ RSS](/packages/lemurengine-lemurbot/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (5)Dependencies (16)Versions (10)Used By (1)

[![](https://camo.githubusercontent.com/8f71e6dab073c0c50aecf4dd11b9226bae4aac57a7da305036af5b69c73f8988/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f6c656d75722d6d65642e706e67)](https://docs.lemurengine.com/assets/images/lemur-med.png)

lemurengine/lemurbot
====================

[](#lemurenginelemurbot)

An AIML chatbot written for the Laravel Framework. Add a bot to your website and administer it from the portal.

### Demo

[](#demo)

### Docs

[](#docs)

### Screenshots

[](#screenshots)

#### Frontend Animated Widget

[](#frontend-animated-widget)

[![](https://camo.githubusercontent.com/dbdd32697a7802cf04129ae5cb30b5e6decdd02a2f115e43adb14b3cfffd0c1a/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f64656d6f312e706e67)](https://docs.lemurengine.com/assets/images/screenshots/demo1.png)

#### Frontend Popup Widget

[](#frontend-popup-widget)

[![](https://camo.githubusercontent.com/7af531307b94e0ddd1f7d2440318e93fa79b551562931394fb9350afcbecbd2a/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f64656d6f322e706e67)](https://docs.lemurengine.com/assets/images/screenshots/demo2.png)

#### Admin Dashboard

[](#admin-dashboard)

[![](https://camo.githubusercontent.com/ce3f4396b2df20c71f1896bd0374f33cd6390de8703da19431fbe3fc41ced232/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f64617368626f6172642e706e67)](https://docs.lemurengine.com/assets/images/screenshots/dashboard.png)

#### Admin Portal Chat

[](#admin-portal-chat)

[![](https://camo.githubusercontent.com/8484736aba8e9114979937374ce04e0c05194821258d45451ad0a8138a2106ae/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f706f7274616c636861742e706e67)](https://docs.lemurengine.com/assets/images/screenshots/portalchat.png)

#### Admin Bot Properties

[](#admin-bot-properties)

[![](https://camo.githubusercontent.com/023a662fb3b90630473ad96077b90f23079442df13d7e6fcc6f3f54ae3729173/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f70726f706572746965732e706e67)](https://docs.lemurengine.com/assets/images/screenshots/properties.png)

#### Admin Link Bot Knowledge

[](#admin-link-bot-knowledge)

[![](https://camo.githubusercontent.com/e99fe5ad536c5f8b08e5291074f2f06f7bfa61ee9cba9200410ab9cbd1d6bfbd/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f6b6e6f776c656467652e706e67)](https://docs.lemurengine.com/assets/images/screenshots/knowledge.png)

#### Admin Create Bot Knowledge

[](#admin-create-bot-knowledge)

[![](https://camo.githubusercontent.com/03a019c8497470fad347ee24ac645d96c162f8bb4811485f735ebb7b837b4128/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f61646463617465676f72792e706e67)](https://docs.lemurengine.com/assets/images/screenshots/addcategory.png)

#### Admin Bot Stats

[](#admin-bot-stats)

[![](https://camo.githubusercontent.com/b162d6bb0a7058ec7401bb8c1ac4e325913de8d273920ae9e4c7a170ef998c6b/68747470733a2f2f646f63732e6c656d7572656e67696e652e636f6d2f6173736574732f696d616765732f73637265656e73686f74732f73746174732e706e67)](https://docs.lemurengine.com/assets/images/screenshots/stats.png)

Versioning
----------

[](#versioning)

This package is built for Laravel 9.x
Compatible Laravel versions are reflected in the LemurBot versions.
LemurBot 9.x versions are compatible with Laravel 9.x versions

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

[](#prerequisites)

This has been developed for PHP8.0

TL/DR Fresh Installation Steps
------------------------------

[](#tldr-fresh-installation-steps)

If you do not want to read what the commands actually do and you just want run them then here they are. Only use these command on a FRESH installation of laravel.

```
php artisan vendor:publish --tag=lemurbot-template --force
php artisan vendor:publish --tag=lemurbot-auth --force
php artisan vendor:publish --tag=lemurbot-assets
php artisan vendor:publish --tag=lemurbot-widgets
php artisan vendor:publish --tag=lemurbot-config
php artisan vendor:publish --tag=datatables
php artisan vendor:publish --tag=datatables-buttons
php artisan vendor:publish --tag=datatables-html
php artisan vendor:publish --tag=datatables-fractal
php artisan vendor:publish --tag=lemurbot-examples
php artisan vendor:publish --tag=lemurbot-migrations
php artisan migrate
php artisan storage:link
php artisan lemur:install-all --admin=admin@lemurengine.local --bot=mybot --data=max
```

Full Fresh Installation Steps
-----------------------------

[](#full-fresh-installation-steps)

LemurEngine LemurBots is written for the Laravel framework.
The first step is to install and setup your version of Laravel.
For more information on how to install Laravel check out: Use the --with-all-dependencies flag to update any conflicting packages the first time its run

### Install with Lemur Engine with composer

[](#install-with-lemur-engine-with-composer)

```
composer require lemurengine/lemurbot dev-develop --with-all-dependencies
```

### Publish Template (recommended)

[](#publish-template-recommended)

This will create the default layout for the portal.
If you are installing the Lemur Engine into a fresh application then run this command.
If you already have a layout then you might want to skip this step
As it will overwrite your existing layouts/app.blade.php, auth templates and homepage\\

```
php artisan vendor:publish --tag=lemurbot-template --force
```

### Publish Auth Templates/Controllers (recommended)

[](#publish-auth-templatescontrollers-recommended)

This will create the customized authentication layout for the portal.
If you are installing the Lemur Engine into a fresh application then run this command.
If you already have created your authentication layouts/controllers then you might want to skip this step
As it will overwrite your existing resources/views/auth and app/Http/Controllers/Auth

```
php artisan vendor:publish --tag=lemurbot-auth --force
```

### Publish Public Assets (required)

[](#publish-public-assets-required)

This will copy the required asset files to your public folder
This is required to make forms and validation features to work correctly

```
php artisan vendor:publish --tag=lemurbot-assets
```

### Publish Public Widgets (required)

[](#publish-public-widgets-required)

This will copy the widgets to the public widgets' folder \\

```
php artisan vendor:publish --tag=lemurbot-widgets
```

### Publish Config (required)

[](#publish-config-required)

This will copy the lemur bot config files to config/lemurbot

- config/lemurbot/lemur.php
- config/lemurbot/properties.php

```
php artisan vendor:publish --tag=lemurbot-config
```

### Publish Datatables Config And Assets (required)

[](#publish-datatables-config-and-assets-required)

This application uses the Yajra datatables plugin.

If you need to publish the config fun the following command

```
php artisan vendor:publish --tag=datatables
php artisan vendor:publish --tag=datatables-buttons
php artisan vendor:publish --tag=datatables-html
php artisan vendor:publish --tag=datatables-fractal
```

### Publish Example Tags and Plugins (optional)

[](#publish-example-tags-and-plugins-optional)

This will copy the example HelloWorldTag and EchoTag to the App\\LemurTag folder
And will copy the example MaintainMode and ShoutBack to the App\\LemurPlugin folder \\

```
php artisan vendor:publish --tag=lemurbot-examples
```

### Publish Database Migrations (optional)

[](#publish-database-migrations-optional)

This will copy the lemur engine migration files to database/migration/lemurbot
You don't really need to do this.
But you can if you want to.

```
php artisan vendor:publish --tag=lemurbot-migrations
```

### Run the database migrations (required)

[](#run-the-database-migrations-required)

The following command will create or update your existing database table schema.

```
php artisan migrate
```

### Symlink public folders (required)

[](#symlink-public-folders-required)

The following command will create or update your existing database table schema.

```
php artisan storage:link
```

### Run the command to install a user, a bot and the AIML data

[](#run-the-command-to-install-a-user-a-bot-and-the-aiml-data)

If you are migrating or already have this data you probably will not need to run this (see section at top of page about migrating)

```
php artisan lemur:install-all --admin=[admin_email] --bot=[bot_name] --data=[none|min|max]
```

example:

```
php artisan lemur:install-all --admin=admin@lemurengine.local --bot=mybot --data=max
```

-`admin_email` is the email address you will log in with. Your password will be 'password' which you should change immediately.

-`bot_name` is the name of the bot you will create

-`data` choose either none|min|all. This will instruct the installer to install either

- none - no data
- min - 4 datasets (testing, hello, the critical and rating)
- max - all available datasets

You do not have to install a user or bot, you can do these things at a later date, but we recommend you do this now.
If your user already exists it will be given bot admin privileges and will be linked to your bot.

Start the Application
---------------------

[](#start-the-application)

You can start the application now and log in using the username you entered above and the password 'password'.
Don't forget to change your password.

```
php artisan serve
```

Use
---

[](#use)

Talk to your bot here:

Log in to admin your bot here:

Migrating From theramenrobotdiscocode/lemur-engine
--------------------------------------------------

[](#migrating-from-theramenrobotdiscocodelemur-engine)

The original version of this library was released as an entire application which included a checked in version of Laravel 7.
It is easy to migrate your original version of theramenrobotdiscocode/lemur-engine to this version.
There are NO database schema changes just some minor data changes and file location changes.
We suggest you install new fresh copy of Laravel 9 and configure it to connect to your existing database.
You will need to still follow the fresh installation instructions below.
And anyway "Additional Upgrade Steps" as well.

### Additional Upgrade Step: Custom Tag

[](#additional-upgrade-step-custom-tag)

Only do this is you are migrating from the old project
Move any custom tags which you have created to a folder called in the main app folder called LemurTag like so.

app/
├── LemurTag/
│ ├── YourTag.php
│ ├── HelloWorldTag.php
└── Models/

You will need to change the namespace of your custom tags to `namespace App\LemurTag;`
Please look at the HelloWorldTag for an example

### Additional Upgrade Step: Run the command to update a few filenames in the migrations folder

[](#additional-upgrade-step-run-the-command-to-update-a-few-filenames-in-the-migrations-folder)

Only do this is you are migrating from the old project
There are 4 filenames in the migration table which need reverting to their original Laravel Migration filenames
Run this command to update the 4 filenames in the migrations table before you move onto the next step

```
php artisan lemur:upgrade 9.0.0
```

### Additional Upgrade Step: Run the command to update the user to an admin user

[](#additional-upgrade-step-run-the-command-to-update-the-user-to-an-admin-user)

Only do this is you are migrating from the old project
If you have existing data and want to give a user bot\_admin privileges you can run this command.

```
php artisan lemur:install-admin --admin=[admin_email]
```

### More information

[](#more-information)

Check out the docs for more information about how to use the portal and talk to the bot.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance40

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~48 days

Recently: every ~59 days

Total

6

Last Release

1059d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2837230495e1d102dd4abcb852751f7309913d96edfa05c7437f68c89dc3fbba?d=identicon)[elizaibeth](/maintainers/elizaibeth)

---

Top Contributors

[![elizaibeth](https://avatars.githubusercontent.com/u/36248419?v=4)](https://github.com/elizaibeth "elizaibeth (176 commits)")

---

Tags

aichatbotchat botaimlprogram-oprogramolemur engine

### Embed Badge

![Health badge](/badges/lemurengine-lemurbot/health.svg)

```
[![Health](https://phpackages.com/badges/lemurengine-lemurbot/health.svg)](https://phpackages.com/packages/lemurengine-lemurbot)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[eveseat/web

SeAT Web Interface

2723.2k135](/packages/eveseat-web)[ronasit/laravel-helpers

Provided helpers function and some helper class.

1475.7k13](/packages/ronasit-laravel-helpers)

PHPackages © 2026

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