PHPackages                             subhashladumor1/laravel-ai-guard - 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. subhashladumor1/laravel-ai-guard

ActiveLibrary

subhashladumor1/laravel-ai-guard
================================

Laravel AI Guard 🛡️ — AI cost &amp; budget control for Laravel AI SDK. Track token usage, control OpenAI &amp; LLM spending, enforce AI budgets, and prevent unexpected billing spikes.

1.0.2(3mo ago)2436↓50%MITPHP ^8.1

Since Feb 8Compare

[ Source](https://github.com/subhashladumor1/laravel-ai-guard)[ Packagist](https://packagist.org/packages/subhashladumor1/laravel-ai-guard)[ RSS](/packages/subhashladumor1-laravel-ai-guard/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (8)Versions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/subhashladumor1/laravel-ai-guard).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance82

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

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

3

Last Release

92d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f38ba994870f0b2c8855e3f4614b1a8ecfecda7114fa4a8d261b9c6bb192b20b?d=identicon)[subhashladumor1](/maintainers/subhashladumor1)

---

Top Contributors

[![subhashladumor1](https://avatars.githubusercontent.com/u/79623012?v=4)](https://github.com/subhashladumor1 "subhashladumor1 (14 commits)")

---

Tags

laravellaravel-packageopenaillmlaravel-ai-sdkphp ailaravel-aitoken-usageai-cost-controlai-budget-managementai-billingai-cost-optimizationlaravel-saasai-guardai-monitoringai-budgetai-spending-control

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6115.6k](/packages/sbsaga-toon)

PHPackages © 2026

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