PHPackages                             abefe/thedocs - 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. [CLI &amp; Console](/categories/cli)
4. /
5. abefe/thedocs

ActiveLibrary[CLI &amp; Console](/categories/cli)

abefe/thedocs
=============

A CLI tool to interact with TheDocs Rest API

00HTML

Since Jan 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Intellidevelopers/thedocs)[ Packagist](https://packagist.org/packages/abefe/thedocs)[ RSS](/packages/abefe-thedocs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

**TheDocs API**
===============

[](#thedocs-api)

**TheDocs API** is a simple and powerful PHP package that allows developers to interact with various endpoints to fetch random users, posts, and images. It's a convenient library to integrate into your PHP project for accessing predefined API endpoints.

**Installation**
----------------

[](#installation)

You can easily install **TheDocs API** via Composer.

composer require abefe/thedocs-cli

Usage

1. Fetch Random Users The API provides an endpoint to fetch a list of random users.

get(); // Output the response echo $response; 2. Fetch Random Posts The API also provides an endpoint to fetch a list of random posts. get(); // Output the response echo $response; 3. Fetch Random Images Additionally, you can fetch random images using the provided endpoint. get(); // Output the response echo $response; Example Here’s how you can combine all the features in a simple script: get(); // Fetch random posts $randomPosts = new RandomPosts(); $posts = $randomPosts-&gt;get(); // Fetch random images $randomImages = new RandomImages(); $images = $randomImages-&gt;get(); // Display data echo "Users: \\n"; print\_r($users); echo "\\nPosts: \\n"; print\_r($posts); echo "\\nImages: \\n"; print\_r($images); Methods RandomUsers: Fetches random user data from . RandomPosts: Fetches random post data from . RandomImages: Fetches random image data from . Each class has a get() method to fetch the data. Requirements PHP &gt;= 7.4 cURL (for making HTTP requests) Composer for installation License TheDocs API is licensed under the MIT License. See LICENSE for more details. Contributing We welcome contributions to TheDocs API. Feel free to fork the repository and submit pull requests with any bug fixes, improvements, or new features. Fork the repository. Create a new branch (git checkout -b feature-name). Make your changes and commit (git commit -am 'Add new feature'). Push to the branch (git push origin feature-name). Create a new pull request. # \*\*Author\*\* Adeagbo Josiah \[GitHub Profile\]() \*Role\*: Software Developer

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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/30e6ebb26ebafb763d14ef5cc41ba1262a19401eceee5a3eb5f3314df1e17bf2?d=identicon)[jtech12](/maintainers/jtech12)

---

Top Contributors

[![Intellidevelopers](https://avatars.githubusercontent.com/u/134317370?v=4)](https://github.com/Intellidevelopers "Intellidevelopers (6 commits)")

### Embed Badge

![Health badge](/badges/abefe-thedocs/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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