PHPackages                             ermirshehaj/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. [API Development](/categories/api)
4. /
5. ermirshehaj/prism

ActiveLibrary[API Development](/categories/api)

ermirshehaj/prism
=================

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

12PHP

Since Apr 6Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![](assets/prism-banner.webp)](assets/prism-banner.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

17

—

LowBetter than 6% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/98a677cf9f03b06c890523ed57bf5b31edc9d59890da0f3fa47c277a11b95ded?d=identicon)[ermiri](/maintainers/ermiri)

---

Top Contributors

[![sixlive](https://avatars.githubusercontent.com/u/5108034?v=4)](https://github.com/sixlive "sixlive (94 commits)")[![ChrisB-TL](https://avatars.githubusercontent.com/u/101201552?v=4)](https://github.com/ChrisB-TL "ChrisB-TL (37 commits)")[![pushpak1300](https://avatars.githubusercontent.com/u/31663512?v=4)](https://github.com/pushpak1300 "pushpak1300 (16 commits)")[![mattmcdev](https://avatars.githubusercontent.com/u/1255436?v=4)](https://github.com/mattmcdev "mattmcdev (7 commits)")[![uchm4n](https://avatars.githubusercontent.com/u/1173405?v=4)](https://github.com/uchm4n "uchm4n (3 commits)")[![xHeaven](https://avatars.githubusercontent.com/u/14284867?v=4)](https://github.com/xHeaven "xHeaven (2 commits)")[![cord](https://avatars.githubusercontent.com/u/158588?v=4)](https://github.com/cord "cord (2 commits)")[![ermiri](https://avatars.githubusercontent.com/u/5099870?v=4)](https://github.com/ermiri "ermiri (2 commits)")[![GregoireGaonach](https://avatars.githubusercontent.com/u/26883777?v=4)](https://github.com/GregoireGaonach "GregoireGaonach (2 commits)")[![LarsWiegers](https://avatars.githubusercontent.com/u/20204608?v=4)](https://github.com/LarsWiegers "LarsWiegers (2 commits)")[![ianfortier](https://avatars.githubusercontent.com/u/2520657?v=4)](https://github.com/ianfortier "ianfortier (1 commits)")[![JoeyMckenzie](https://avatars.githubusercontent.com/u/16873254?v=4)](https://github.com/JoeyMckenzie "JoeyMckenzie (1 commits)")[![kauffinger](https://avatars.githubusercontent.com/u/62616071?v=4)](https://github.com/kauffinger "kauffinger (1 commits)")[![kyranb](https://avatars.githubusercontent.com/u/5426926?v=4)](https://github.com/kyranb "kyranb (1 commits)")[![cosmastech](https://avatars.githubusercontent.com/u/42181698?v=4)](https://github.com/cosmastech "cosmastech (1 commits)")[![laundy](https://avatars.githubusercontent.com/u/15380131?v=4)](https://github.com/laundy "laundy (1 commits)")[![lucianotonet](https://avatars.githubusercontent.com/u/2693019?v=4)](https://github.com/lucianotonet "lucianotonet (1 commits)")[![EthanBarlo](https://avatars.githubusercontent.com/u/65189904?v=4)](https://github.com/EthanBarlo "EthanBarlo (1 commits)")[![Perturbatio](https://avatars.githubusercontent.com/u/1007702?v=4)](https://github.com/Perturbatio "Perturbatio (1 commits)")[![peterramsing](https://avatars.githubusercontent.com/u/3523268?v=4)](https://github.com/peterramsing "peterramsing (1 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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