PHPackages                             haodt/rylai - 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. haodt/rylai

ActiveLibrary[API Development](/categories/api)

haodt/rylai
===========

PHP document export to JSON or import to specific API for distribution around the web

16PHP

Since May 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/haodt/rylai)[ Packagist](https://packagist.org/packages/haodt/rylai)[ RSS](/packages/haodt-rylai/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

RYLAI
=====

[](#rylai)

PHP's document support library. Provide an application to build a complete and full featured document generator app.

### Installation

[](#installation)

```
composer require haodt/rylai
```

### Usage

[](#usage)

- Take a look at `rylai.php`, that script is used to build this library document
- Clone the script to your project, change paths to suit your need. Each path represent a repository.
- Path's key should be your root namespace defined in composer.json . Take a look at this library's composer.json file for detail

```
require_once __DIR__ . "/vendor/autoload.php";

use Rylai\Analyzers\Docblock;
use Rylai\Runner\AbstractRunner;
use Rylai\Stores\Local;

class Runner extends AbstractRunner
{
    public function getPaths()
    {
        return [
            "Rylai" => __DIR__ . "/src/",
        ];
    }

    public function getAnalyzers()
    {
        return [
            new Docblock,
        ];
    }

    public function getStores()
    {
        return [
            new Local([
                "views" => __DIR__ . "/views",
                "store" => __DIR__ . "/docs",
            ]),
        ];
    }
}

$runner = new Runner();
$runner->run();

```

### How it works?

[](#how-it-works)

- Analyzer will read file and provide back a report for that file
- Store will collect reports then save it to backend (html,nosql,sql ... )

### Notes

[](#notes)

- In order to parse your files, rylai must be able to load all files and execute it. This will result in extension class might have some issues
- This library is tested under psr 4 standard files and folders, if you use other coding standards, please write more tests for it.
- There are issues with resolving Types alias like Rylai\\Fixtures\\Items\\Courier for Courier inside tags so you have to compare it with namespaces aliases
- Constants wont be able to have docblock so far
- Local store will use key - value paths as in key is your root namespace, in this project case you can see composer.json load Rylai\\ point to src folder

### Todo

[](#todo)

- Elasticstore will be implemeted in near future
- Replace `?` mark as value of properties because there is some issues around private properties that blocking parser to read the value
- Add few more analyzers

### Development

[](#development)

- Run tests

```
php vendor/phpunit/phpunit/phpunit
```

- Pull requests are welcome :)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/37c85bfab3acb68e6438a0b2aeb8b7a67f0bd88665bdeca73a3d5076bc2b7cfd?d=identicon)[haodt](/maintainers/haodt)

---

Top Contributors

[![haodt](https://avatars.githubusercontent.com/u/4253314?v=4)](https://github.com/haodt "haodt (9 commits)")

---

Tags

analyzerapigeneratorphp-documentweb

### Embed Badge

![Health badge](/badges/haodt-rylai/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

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