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

13

—

LowBetter than 1% of packages

Maintenance30

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://avatars.githubusercontent.com/u/101853645?v=4)[jtech12](/maintainers/jtech12)[@jtech12](https://github.com/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

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)[thettler/laravel-console-toolkit

This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.

324.1k](/packages/thettler-laravel-console-toolkit)

PHPackages © 2026

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