PHPackages                             backstage/ai - 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. backstage/ai

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

backstage/ai
============

Add a generative and assisting AI to your Filament app forms and fields.

v5.1.1(1mo ago)12991MITPHPPHP ^8.1CI failing

Since Apr 23Pushed 2w ago2 watchersCompare

[ Source](https://github.com/backstagephp/ai)[ Packagist](https://packagist.org/packages/backstage/ai)[ Docs](https://github.com/backstagephp/ai)[ GitHub Sponsors](https://github.com/backstagephp)[ RSS](/packages/backstage-ai/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (69)Versions (355)Used By (1)

Add a generative and assisting AI to your Filament app forms and fields.
========================================================================

[](#add-a-generative-and-assisting-ai-to-your-filament-app-forms-and-fields)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ebc339692810e9990b6455cb53a7c0282ef10e58b2e2638059c1dd5a2393e7e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261636b73746167657068702f61692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backstagephp/ai)[![GitHub Tests Action Status](https://camo.githubusercontent.com/da01c388c331b253336215fdf651b84770b49d7f0185294826018335ac75041f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6261636b73746167657068702f61692f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/backstagephp/ai/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/1bff875471680f42625ad73d4af358ea6376151b26c7a8e5b81e4b688801aeab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6261636b73746167657068702f61692f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/backstagephp/ai/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/a670181e7f5474ac2c0195c1a526d292f10126b476de5849417fc3aacc8c00f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261636b73746167657068702f61692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backstagephp/ai)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require backstagephp/ai
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="ai-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="ai-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="ai-views"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$filamentAI = new Backstage\AI();
echo $filamentAI->echoPhrase('Hello, backstagephp!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Mark van Eijk](https://github.com/markvaneijk)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance93

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~1 days

Total

231

Last Release

57d ago

Major Versions

v1.1.32 → v2.0.0-beta872026-01-30

v1.0 → v2.0.02026-01-30

v2.0.11 → v4.0.32026-03-13

v2.0.29 → v4.0.02026-03-13

v4.2.5 → v5.0.202026-05-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c6a425dc8645907a118a007438172d58c2016773f54ab3a834beff172632f13?d=identicon)[ux](/maintainers/ux)

---

Top Contributors

[![Baspa](https://avatars.githubusercontent.com/u/10845460?v=4)](https://github.com/Baspa "Baspa (6 commits)")[![mhortulanus](https://avatars.githubusercontent.com/u/91618246?v=4)](https://github.com/mhortulanus "mhortulanus (2 commits)")

---

Tags

laravelaibackstage

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/backstage-ai/health.svg)

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

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[awcodes/richer-editor

A collection of extensions and tools to enhance the Filament Rich Editor field.

3912.9k9](/packages/awcodes-richer-editor)[rawilk/filament-password-input

Enhanced password input component for filament.

52263.4k14](/packages/rawilk-filament-password-input)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

34226.4k13](/packages/schmeits-filament-character-counter)[biostate/filament-menu-builder

An Elegant Menu Builder for FilamentPHP

6528.1k2](/packages/biostate-filament-menu-builder)[codebar-ag/laravel-filament-json-field

A Laravel Filament JSON Field integration with CodeMirror support

1126.6k](/packages/codebar-ag-laravel-filament-json-field)

PHPackages © 2026

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