PHPackages                             yarest/yarest - 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. yarest/yarest

ActiveLibrary[API Development](/categories/api)

yarest/yarest
=============

Yarest is a RESTful Router Library

256PHP

Since Dec 8Pushed 12y ago1 watchersCompare

[ Source](https://github.com/IlanFrumer/Yarest)[ Packagist](https://packagist.org/packages/yarest/yarest)[ RSS](/packages/yarest-yarest/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Yarest
======

[](#yarest)

[![Build Status](https://camo.githubusercontent.com/d73484982f28ae3f026ee2257356669868180595a0d8b8e1dbd18aff9494b454/68747470733a2f2f7472617669732d63692e6f72672f496c616e4672756d65722f5961726573742e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/IlanFrumer/Yarest)

### Installaion

[](#installaion)

Install via [composer](http://getcomposer.org/):

composer require yarest/yarest

### System Requirements

[](#system-requirements)

- **PHP &gt;= 5.3.0**

### Basic usage

[](#basic-usage)

Require composer's autoloader

require\_once 'vendor/autoload.php';

Instantiate a Yarest application:

$app = new \\Yarest\\App();

Define a route:

$route = $app-&gt;route('/api/\*', 'Api');

Define route callbacks:

$route-&gt;before(function ($resource) {

});

$route-&gt;inject(function ($resource) {

});

$route-&gt;after(function ($resource) {

});

Dispatch the route:

$app-&gt;run()-&gt;headers()-&gt;body();

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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/9c72bfecbb3cdd56b1a7a17643413db8c5f39ba1f5623f099befb2aa99ae209e?d=identicon)[IlanFrumer](/maintainers/IlanFrumer)

---

Top Contributors

[![IlanFrumer](https://avatars.githubusercontent.com/u/3116399?v=4)](https://github.com/IlanFrumer "IlanFrumer (36 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/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.1M454](/packages/google-gax)

PHPackages © 2026

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