PHPackages                             apicrumbs/framework - 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. apicrumbs/framework

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

apicrumbs/framework
===================

High-signal RAG context for PHP AI agents.

v1.0.26(1mo ago)043↓90%[7 issues](https://github.com/apicrumbs/framework/issues)MITPHPPHP ^8.0.1

Since Mar 25Pushed 1mo agoCompare

[ Source](https://github.com/apicrumbs/framework)[ Packagist](https://packagist.org/packages/apicrumbs/framework)[ GitHub Sponsors](https://github.com/apicrumbs)[ RSS](/packages/apicrumbs-framework/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (26)Used By (0)

🍪 ApiCrumbs Framework

The Wikipedia of Context for the PHP Ecosystem.

ApiCrumbs is a community-driven Data Logistics Layer. It solves the "Dirty Data" problem by refining messy APIs, 500MB+ CSVs, and web scrapes into High-Signal Markdown "Crumbs" designed specifically for LLM context windows.

Our mission: 10,000 community-maintained Crumbs to ground AI reasoning in reality.

---

🚀 Quick Start (XAMPP 8.2 Optimized)

ApiCrumbs is built for local-first development. It natively solves the "cURL Error 60" SSL handshake issue on Windows using the Native CA Store.

1\. Installation

bash

```
composer require apicrumbs/framework

```

2\. Initialize the Framework

php

```
require 'vendor/autoload.php';

use ApiCrumbs\Framework\ApiCrumbs;
use ApiCrumbs\Crumbs\Geo\PostcodeCrumb;
use ApiCrumbs\Crumbs\Finance\HmrcCrumb;

$engine = new ApiCrumbs();

// Register your "Senses"
$engine->withCrumbs([
    new PostcodeCrumb(),
    new HmrcCrumb()
]);

// Stitch a multi-source data trail (The "Grand Stitch")
$context = $engine->stitch("SW1A1AA");

echo $context; // Token-optimized Markdown ready for your LLM

```

---

🛠️ The Foundry CLI (`php crumb`)

The `crumb` binary is your cockpit for managing the data supply chain.

🔍 Diagnose &amp; Verify

Check your SSL health, PHP environment, and local Crumb code quality.

bash

```
php vendor/bin/crumb doctor

```

📦 Install from the Global Registry

Download any connector from the 10,000-strong Wikipedia of Context.

bash

```
php vendor/bin/crumb install:crumb finance/hmrc-spending

```

🛠️ Scaffold a New Crumb

Create a new API or high-volume CSV connector instantly.

bash

```
# Standard API Crumb
php vendor/bin/crumb make VatCheck finance

# Memory-lean CSV Streamer (XAMPP Safe)
php vendor/bin/crumb make GovtSpending finance --csv

```

📊 Bench &amp; Trace

Prove your Token ROI and visualize the data lineage of a stitch.

bash

```
# See how much money you save on LLM tokens
php vendor/bin/crumb bench finance/hmrc "01234567"

# Trace the "Silent Anchors" (Source/Info tags)
php vendor/bin/crumb trace "geo/postcode,weather/meteo" "SW1A1AA"

```

---

🤝 Join the 10,000 Crumb Mission

We don't just want users; we want Librarians of Context.

💡 Suggest a New Crumb

Got an idea for a connector? Push it directly to the Global Roadmap from your terminal.

bash

```
php vendor/bin/crumb suggest "Companies House Officers" finance "Need to trace director relationships"

```

🚀 Submit Your Code

Finished a local Crumb? Submit it to the public registry and see your GitHub Avatar in the Hall of Senses.

bash

```
php vendor/bin/crumb submit MyNewCrumb finance

```

---

💎 Sponsoware Model

The data and code is Free. The Roadmap is Sponsored.

- Roadmap Sponsor ($250/mo): Frequency: Daily Data Freshness Access: Public GitHub Shards Requests: Custom Sector Requests

🚀 The "Request-a-Shard" Feature Top-tier sponsors don't just watch the Foundry; they direct it. Request specialized recipes (e.g., "Deep-Dive Social Care Audit" or "SME Supply Chain Health") for any UK town or sector. We print the books; you get the edge.

Sponsor the Mission on [GitHub →](https://github.com/apicrumbs)

---

🏗️ Technical Pillars

- Token Refinement: Reduces raw JSON noise by ~90% using the `transform()` logic.
- Silent Grounding: Injects reference `Source` tags to reduce LLM hallucinations.
- Memory Safety: Uses PHP Generators for "Big Data" CSV processing on standard laptops.
- Native SSL: Zero-config cURL verification for Windows/XAMPP environments.

Ground your AI. Build the trail. Follow the crumbs.

---

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance90

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Total

25

Last Release

48d ago

### Community

Maintainers

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

---

Top Contributors

[![KanxPHP](https://avatars.githubusercontent.com/u/70859732?v=4)](https://github.com/KanxPHP "KanxPHP (30 commits)")

### Embed Badge

![Health badge](/badges/apicrumbs-framework/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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