PHPackages                             kyprss/ai-docs - 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. kyprss/ai-docs

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

kyprss/ai-docs
==============

An easy tool to download the latest documentation from a git repository

v1.0.0-alpha15(10mo ago)02.3k↓92.3%MITPHPPHP ^8.3

Since Aug 3Pushed 10mo agoCompare

[ Source](https://github.com/kyprss/ai-docs)[ Packagist](https://packagist.org/packages/kyprss/ai-docs)[ RSS](/packages/kyprss-ai-docs/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (5)Versions (14)Used By (0)

AI Docs
=======

[](#ai-docs)

AI Docs is an easy tool to download the latest documentation from a git repository. It creates a reference file which you can use in your AI guidelines.

Installation
------------

[](#installation)

Install via Composer:

```
composer require kyprss/ai-docs
```

Usage
-----

[](#usage)

```
/vendor/bin/ai-docs

```

### Initialization

[](#initialization)

```
/vendor/bin/ai-docs init

```

On the first run a config file `ai-docs.json` will be created in the root directory of your project.

The file will be look like this:

```
{
    "config": {
        "target_path": ".ai/docs/"
    },
    "sources": {
        "laravel": {
            "type": "repository",
            "url": "git@github.com:laravel/docs.git",
            'branch' => '12.x',
            "files": ["*.md"]
        },
        "plentyone-rest-api": {
            "type": "openapi3",
            "url": "https://raw.githubusercontent.com/plentymarkets/api-doc/refs/heads/master/plentymarkets/openApiV3/openApiV3WithExamples.json"
        }
    }
}

```

### Sync

[](#sync)

```
/vendor/bin/ai-docs sync

```

This command will sync all given sources by doing the following steps:

- downloading the latest files from the git repo to temp directory
- matching all files with the given patterns
- copy the found files to `{target_path}/{name}/`

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance53

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

13

Last Release

327d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1622e1867371768b44f8ee8261d60c7dc8039ecba7c1407e3f6a1913044c7693?d=identicon)[kyprss](/maintainers/kyprss)

---

Top Contributors

[![mvenghaus](https://avatars.githubusercontent.com/u/6408081?v=4)](https://github.com/mvenghaus "mvenghaus (19 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/kyprss-ai-docs/health.svg)

```
[![Health](https://phpackages.com/badges/kyprss-ai-docs/health.svg)](https://phpackages.com/packages/kyprss-ai-docs)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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