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

ActiveLibrary[API Development](/categories/api)

kargnas/prism
=============

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

01[6 PRs](https://github.com/kargnas/prism/pulls)PHPCI passing

Since Jul 17Pushed 1mo agoCompare

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

READMEChangelogDependenciesVersions (15)Used By (0)

 [![](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

25

—

LowBetter than 37% of packages

Maintenance59

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/728581edd89f77fbc41079c56d8942d3154c9cf9b8747a60bfb9b65825902f88?d=identicon)[kargnas](/maintainers/kargnas)

---

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)")[![kargnas](https://avatars.githubusercontent.com/u/1438533?v=4)](https://github.com/kargnas "kargnas (10 commits)")[![aimeos](https://avatars.githubusercontent.com/u/8647429?v=4)](https://github.com/aimeos "aimeos (9 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)")[![uchm4n](https://avatars.githubusercontent.com/u/1173405?v=4)](https://github.com/uchm4n "uchm4n (7 commits)")[![roymckenzie](https://avatars.githubusercontent.com/u/1065321?v=4)](https://github.com/roymckenzie "roymckenzie (7 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)")[![hipig](https://avatars.githubusercontent.com/u/24596908?v=4)](https://github.com/hipig "hipig (6 commits)")[![cutlope](https://avatars.githubusercontent.com/u/34349994?v=4)](https://github.com/cutlope "cutlope (6 commits)")[![GALCF](https://avatars.githubusercontent.com/u/14803394?v=4)](https://github.com/GALCF "GALCF (3 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)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (3 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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