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

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

backstage/laravel-ai
====================

This is my package ai

v4.0.1(1mo ago)01.3k↓46.4%[1 PRs](https://github.com/backstagephp/laravel-ai/pulls)2MITPHPPHP ^8.2CI passing

Since Nov 21Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (27)Versions (225)Used By (2)

This is my package ai
=====================

[](#this-is-my-package-ai)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5cb6a35b2c6b66dd5f2e5aa36b7c37c1aafb7d0d8b29066a03e15f4a554753af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261636b73746167652f6c61726176656c2d61692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backstage/laravel-ai)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a2d3710cc67667500576be0592425395c3ba6abae13845e6754d044eac05a104/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6261636b73746167657068702f6c61726176656c2d61692f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/backstagephp/laravel-ai/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/61129e6d91360c2b58aa4491f524fe5de159482a1334c1ef40376b6a38c933c1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6261636b73746167657068702f6c61726176656c2d61692f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/backstagephp/laravel-ai/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/ac80dd5549c52919473c1474c016c74efde8c57601589be0a90071b14948ea15/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261636b73746167652f6c61726176656c2d61692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/backstage/laravel-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/laravel-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"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

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

Usage
-----

[](#usage)

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

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Manoj Hortulanus](https://github.com/backstagephp)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

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

175

Last Release

46d ago

Major Versions

v1.1.52 → v2.0.0-beta152026-01-12

v1.1.53 → v2.0.0-beta162026-01-13

v1.1.54 → v2.0.0-beta232026-01-21

v1.0 → v2.0.0-beta732026-01-30

v2.1.0 → v4.0.12026-03-25

### Community

Maintainers

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

---

Top Contributors

[![mhortulanus](https://avatars.githubusercontent.com/u/91618246?v=4)](https://github.com/mhortulanus "mhortulanus (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![markvaneijk](https://avatars.githubusercontent.com/u/1925388?v=4)](https://github.com/markvaneijk "markvaneijk (1 commits)")

---

Tags

laravelaibackstage

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[maestroerror/laragent

Power of AI Agents in your Laravel project

630106.4k](/packages/maestroerror-laragent)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[spatie/laravel-url-ai-transformer

Transform URLs and their content using AI

265.3k](/packages/spatie-laravel-url-ai-transformer)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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