PHPackages                             alphayax/rest - 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. alphayax/rest

ActiveLibrary[API Development](/categories/api)

alphayax/rest
=============

Tiny class to provide simple REST

1.1.3(9y ago)25211LGPL-2.1PHPPHP &gt;=5.5.0

Since Jun 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/alphayax/rest)[ Packagist](https://packagist.org/packages/alphayax/rest)[ RSS](/packages/alphayax-rest/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (7)Used By (1)

Rest
====

[](#rest)

[![Latest Stable Version](https://camo.githubusercontent.com/1aeca4c0014a7d7d7c4644559fbaf11826886119823394b3e56f00089721e345/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f726573742f762f737461626c65)](https://packagist.org/packages/alphayax/rest)[![Latest Unstable Version](https://camo.githubusercontent.com/bbefe8d98ed59012a107130ca9e3ffe9f871e3f03daba0dd1144008a9882ad07/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f726573742f762f756e737461626c65)](https://packagist.org/packages/alphayax/rest)[![pakagist](https://camo.githubusercontent.com/cffc1d071e8fd2c2f7110d4a7164c05825b81d9b4bf48604f3cc83a12206595b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c7068617961782f726573742e737667)](https://packagist.org/packages/alphayax/rest)

[![Code Coverage](https://camo.githubusercontent.com/496ae4843dd3ba3287e499edb2a4278ac54c53c195b9f94baf0d9ae2bb954c47/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f6434376131316139303433393437653861393161613330653630636162386662)](https://www.codacy.com/app/alphayax/rest?utm_source=github.com&utm_medium=referral&utm_content=alphayax/rest&utm_campaign=Badge_Coverage)[![Codacy Badge](https://camo.githubusercontent.com/fbe04e31bb598be7ceba28ddfe150a2e6310fea5b6eb3bcc34e3af02523cfe84/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6434376131316139303433393437653861393161613330653630636162386662)](https://www.codacy.com/app/alphayax/rest?utm_source=github.com&utm_medium=referral&utm_content=alphayax/rest&utm_campaign=Badge_Grade)

[![License](https://camo.githubusercontent.com/c2accfe660ab094a3c9df18cb72debcc70da63cf1a10488da42b9bfd23ade029/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f726573742f6c6963656e7365)](https://packagist.org/packages/alphayax/rest)[![Total Downloads](https://camo.githubusercontent.com/ec0537dd645d20dc112ecee0ee40edfb7a7c41e8c3a98105b3ed237c6908c80a/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617961782f726573742f646f776e6c6f616473)](https://packagist.org/packages/alphayax/rest)

A simple project using curl in object oriented style

Example
-------

[](#example)

Basic working example :

```
$rest = new \alphayax\rest\Rest( 'https://api.github.com/users/alphayax/repos');
$rest->addHeader( 'User-Agent', 'alphayax-rest');
$rest->GET();

print_r( $rest->getCurlResponse());
```

More examples can be found in the [exemple](example) directory.

Documentation
-------------

[](#documentation)

Public functions signatures can be found [here](docs/rest.md).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~58 days

Total

6

Last Release

3421d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7924417?v=4)[Yann Ponzoni](/maintainers/alphayax)[@alphayax](https://github.com/alphayax)

---

Top Contributors

[![alphayax](https://avatars.githubusercontent.com/u/7924417?v=4)](https://github.com/alphayax "alphayax (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alphayax-rest/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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