PHPackages                             restjs/php-rest-api - 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. restjs/php-rest-api

ActivePackage[API Development](/categories/api)

restjs/php-rest-api
===================

Minimalistic RESTful API with Modular Structure

3.0.2(9mo ago)0661MITPHPPHP &gt;=8.2

Since Jan 13Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/fullstackondemand/php-rest-api)[ Packagist](https://packagist.org/packages/restjs/php-rest-api)[ Docs](https://github.com/fullstackondemand/php-rest-api)[ RSS](/packages/restjs-php-rest-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (8)Versions (7)Used By (1)

Minimalistic RESTful API with Modular Structure
===============================================

[](#minimalistic-restful-api-with-modular-structure)

[![License](https://camo.githubusercontent.com/355f8a4f5c52ce73bb414501c0092080c04055f23f5b829dc445f46b8b0c7e05/687474703a2f2f706f7365722e707567782e6f72672f726573746a732f7068702d726573742d6170692f6c6963656e7365)](https://packagist.org/packages/restjs/php-rest-api)[![Latest Stable Version](https://camo.githubusercontent.com/5dad9a44b6d4d37ffba45d8ed1ba714624b33063c7e095338f3ee2b8d4c7f696/687474703a2f2f706f7365722e707567782e6f72672f726573746a732f7068702d726573742d6170692f76)](https://packagist.org/packages/restjs/php-rest-api)[![PHP Version Require](https://camo.githubusercontent.com/830dcac997d1615aa0bc8b24d7e29b143f00296de4cb8c453ffff0c545f7aacb/687474703a2f2f706f7365722e707567782e6f72672f726573746a732f7068702d726573742d6170692f726571756972652f706870)](https://packagist.org/packages/restjs/php-rest-api)

A lightweight, fast, and easy-to-use RESTful API built with native PHP and MySQL. Perfect for small-scale projects, learning purposes, or when you want to avoid frameworks.

Features
--------

[](#features)

✅ Slim Framework 4 for lightweight routing
✅ Doctrine ORM integration for MySQL
✅ JWT Authentication for secure token-based auth
✅ Dotenv for environment configuration
✅ File Upload Handling
✅ Modular OOP structure

### License

[](#license)

MIT License. © 2025 [FullStackOnDemand](https://github.com/fullstackondemand)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance56

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Recently: every ~48 days

Total

6

Last Release

296d ago

Major Versions

v1.x-dev → v2.0.02025-01-14

v2.x-dev → 3.0.02025-07-01

PHP version history (2 changes)v1.5.0PHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.0.\*|8.1.\*

3.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2f9e533ebd0256fb2b12a6a8828721d523293fb6b5e8e46e697d36f310532f0?d=identicon)[fullstackondemand](/maintainers/fullstackondemand)

---

Top Contributors

[![fullstackondemand](https://avatars.githubusercontent.com/u/42427914?v=4)](https://github.com/fullstackondemand "fullstackondemand (98 commits)")

---

Tags

composerdoctrine-ormdotenvfile-uploadfirebase-php-jwtjwt-authenticationmiddlewares-trailing-slashmongodbmy-sqlpackagephpphp-di-containerrest-apislim-frameworksymfony-cacheweb-servicesphpcomposerslimREST APIweb servicesfile-uploaddoctrine-ormsymfony-cachejwt-authenticationmy-sqlphp-di-containermiddlewares-trailing-slashfirebase-php-jwt

### Embed Badge

![Health badge](/badges/restjs-php-rest-api/health.svg)

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

###  Alternatives

[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[maurobonfietti/rest-api-slim-php

Example of REST API with Slim PHP Framework.

3061.7k](/packages/maurobonfietti-rest-api-slim-php)[maurobonfietti/slim4-api-skeleton

Useful skeleton for RESTful API development, using PHP and Slim 4.

1392.3k](/packages/maurobonfietti-slim4-api-skeleton)

PHPackages © 2026

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