particle-academy/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications. Actively maintained fork of prism-php/prism.
5,615 6
Install
composer require particle-academy/prism
Latest Version:v0.130.0
PHP:^8.2
License:MIT
Last Updated:Sep 24, 2026
Links: GitHub  ·  Packagist
Maintainer: wishborn

Prism

[!IMPORTANT] This is the actively maintained Particle Academy fork of prism-php/prism. Upstream has been unmaintained since March 2026; this fork continues development, absorbing the community's outstanding fixes and features. The package is published as particle-academy/prism (the Prism\Prism namespace is unchanged, so it is a drop-in replacement):

composer require particle-academy/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.

Working on this package? Read AGENTS.md first — the boundary this package has to hold, the gates that must be green, and the traps that have already caught someone. @link AGENTS.md

Official Documentation

Official documentation can be found at ai.particle.academy.

Code of Conduct

While we aren't affiliated with Laravel, we follow the Laravel Code of Conduct. We expect you to abide by these guidelines as well.

Authors

This library is created by TJ Miller with contributions from the Open Source Community.

License

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

634,760,849 9,707
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

493,838,477 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

408,553,772 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658