PHPackages                             prism-php/prism - 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. prism-php/prism

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

prism-php/prism
===============

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

v0.100.1(1mo ago)2.4k2.3M↑30.3%297[48 issues](https://github.com/prism-php/prism/issues)[57 PRs](https://github.com/prism-php/prism/pulls)20MITPHPPHP ^8.2CI passing

Since Oct 7Pushed 1mo ago30 watchersCompare

[ Source](https://github.com/prism-php/prism)[ Packagist](https://packagist.org/packages/prism-php/prism)[ GitHub Sponsors](https://github.com/sixlive)[ RSS](/packages/prism-php-prism/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (34)Versions (163)Used By (20)

 [![](assets/prism-logo.webp)](assets/prism-logo.webp)

 [ ![Total Downloads](https://camo.githubusercontent.com/83d61dd7b0d6a6630e9c8712c5209ebf654b8c7397f932f621d98c97ac28310f/68747470733a2f2f706f7365722e707567782e6f72672f707269736d2d7068702f707269736d2f642f746f74616c2e737667) ](https://packagist.org/packages/prism-php/prism) [ ![Latest Stable Version](https://camo.githubusercontent.com/cd4d28b80b07171ecb7bf18b3b808e65377b65858ad82f96ced51a122152b34a/68747470733a2f2f706f7365722e707567782e6f72672f707269736d2d7068702f707269736d2f762f737461626c652e737667) ](https://packagist.org/packages/prism-php/prism) [ ![License](https://camo.githubusercontent.com/24e0a9234868394e81d993d0e00693db872d27de2304ceed1d61e87ccf241f3f/68747470733a2f2f706f7365722e707567782e6f72672f707269736d2d7068702f707269736d2f6c6963656e73652e737667) ](https://packagist.org/packages/prism-php/prism)

Prism
=====

[](#prism)

Prism is a powerful Laravel package for integrating Large Language Models (LLMs) into your applications. It provides a fluent interface for generating text, handling multi-step conversations, and utilizing tools with various AI providers. This way, you can focus on developing outstanding AI applications for your users without getting lost in the technical intricacies.

Official Documentation
----------------------

[](#official-documentation)

Official documentation can be found on the [Prism website](https://prismphp.com).

Code of Conduct
---------------

[](#code-of-conduct)

While we aren't affiliated with Laravel, we follow the Laravel [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). We expect you to abide by these guidelines as well.

Authors
-------

[](#authors)

This library is created by [TJ Miller](https://tjmiller.me) with contributions from the [Open Source Community](https://github.com/prism-php/prism/graphs/contributors).

License
-------

[](#license)

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

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity72

Solid adoption and visibility

Community49

Growing community involvement

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~3 days

Total

150

Last Release

59d ago

PHP version history (3 changes)v0.1.0PHP ^8.3

v0.5.0PHP ^8.3|^8.4

v0.57.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5108034?v=4)[TJ Miller](/maintainers/sixlive)[@sixlive](https://github.com/sixlive)

---

Top Contributors

[![sixlive](https://avatars.githubusercontent.com/u/5108034?v=4)](https://github.com/sixlive "sixlive (217 commits)")[![ChrisB-TL](https://avatars.githubusercontent.com/u/101201552?v=4)](https://github.com/ChrisB-TL "ChrisB-TL (58 commits)")[![pushpak1300](https://avatars.githubusercontent.com/u/31663512?v=4)](https://github.com/pushpak1300 "pushpak1300 (30 commits)")[![kauffinger](https://avatars.githubusercontent.com/u/62616071?v=4)](https://github.com/kauffinger "kauffinger (16 commits)")[![patrickbrouwers](https://avatars.githubusercontent.com/u/7728097?v=4)](https://github.com/patrickbrouwers "patrickbrouwers (12 commits)")[![mattmcdev](https://avatars.githubusercontent.com/u/1255436?v=4)](https://github.com/mattmcdev "mattmcdev (10 commits)")[![aimeos](https://avatars.githubusercontent.com/u/8647429?v=4)](https://github.com/aimeos "aimeos (9 commits)")[![kargnas](https://avatars.githubusercontent.com/u/1438533?v=4)](https://github.com/kargnas "kargnas (8 commits)")[![pocketarc](https://avatars.githubusercontent.com/u/5393?v=4)](https://github.com/pocketarc "pocketarc (8 commits)")[![MrCrayon](https://avatars.githubusercontent.com/u/6875243?v=4)](https://github.com/MrCrayon "MrCrayon (7 commits)")[![roymckenzie](https://avatars.githubusercontent.com/u/1065321?v=4)](https://github.com/roymckenzie "roymckenzie (7 commits)")[![uchm4n](https://avatars.githubusercontent.com/u/1173405?v=4)](https://github.com/uchm4n "uchm4n (7 commits)")[![cutlope](https://avatars.githubusercontent.com/u/34349994?v=4)](https://github.com/cutlope "cutlope (6 commits)")[![hipig](https://avatars.githubusercontent.com/u/24596908?v=4)](https://github.com/hipig "hipig (6 commits)")[![vaishnavyogesh](https://avatars.githubusercontent.com/u/54815584?v=4)](https://github.com/vaishnavyogesh "vaishnavyogesh (6 commits)")[![vinitkadam03](https://avatars.githubusercontent.com/u/193695937?v=4)](https://github.com/vinitkadam03 "vinitkadam03 (6 commits)")[![cyppe](https://avatars.githubusercontent.com/u/591720?v=4)](https://github.com/cyppe "cyppe (3 commits)")[![markritterman](https://avatars.githubusercontent.com/u/151989364?v=4)](https://github.com/markritterman "markritterman (3 commits)")[![GALCF](https://avatars.githubusercontent.com/u/14803394?v=4)](https://github.com/GALCF "GALCF (3 commits)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (3 commits)")

---

Tags

aianthropicclaudehacktoberfestlaravelllmollamaopenaiphp

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/prism-php-prism/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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