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

ActiveLibrary[API Development](/categories/api)

nasirinezhad/just-rest
======================

php rest server

v1.1.0(3y ago)03MITPHP

Since Dec 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Nasirinezhad/JUST-REST)[ Packagist](https://packagist.org/packages/nasirinezhad/just-rest)[ Docs](https://github.com/Nasirinezhad/JUST-REST)[ RSS](/packages/nasirinezhad-just-rest/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

JUST-REST
=========

[](#just-rest)

This is a PHP library to building RESTful webservices.

Deploy your controller class e.g

```
class Test {
    public function index($request)
    {
        return [];
    }
    public function find($request)
    {
        return [];
    }
    public function insert($request)
    {
        return [];
    }
    public function save($request)
    {
        return [];
    }
    public function remove($request)
    {
        return [];
    }
}

```

Bind your controller class to Router

```
    Router::Bind('test', Test::class);

```

Or add Routes one by one

```
    Router::Get('test', [Test::class, 'index']);
    Router::Get('test/{id}', [Test::class, 'find']);
    Router::Post('test', [Test::class, 'insert']);
    Router::Put('test', [Test::class, 'save']);

```

Usage
=====

[](#usage)

you just can clone repo and include src/ files to your project

or use packagist `composer require nasirinezhad/just-rest`

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1293d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0616069cde0d22fb9ef05779fa9fc0f19942ad37069053db64e730230c07f6fb?d=identicon)[raya](/maintainers/raya)

---

Top Contributors

[![Nasirinezhad](https://avatars.githubusercontent.com/u/17901154?v=4)](https://github.com/Nasirinezhad "Nasirinezhad (26 commits)")

---

Tags

restfulphprest

### Embed Badge

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

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

###  Alternatives

[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3141.6M10](/packages/api-ecosystem-for-laravel-dingo-api)[light/yii2-swagger

swagger intergation with yii2

153835.2k4](/packages/light-yii2-swagger)[slince/shopify-api-php

Shopify API Client for PHP

132244.5k1](/packages/slince-shopify-api-php)[phpexperts/simple-dto

A quick and easy DTO package.

501.1M7](/packages/phpexperts-simple-dto)[nezamy/route

Route - Fast, flexible routing for PHP, enabling you to quickly and easily build RESTful web applications.

21437.8k5](/packages/nezamy-route)[obiefy/api-response

Simple Laravel package to return Json responses.

17324.9k](/packages/obiefy-api-response)

PHPackages © 2026

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