PHPackages                             sandro.ruefenacht/phre-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. [Framework](/categories/framework)
4. /
5. sandro.ruefenacht/phre-api

ActiveProject[Framework](/categories/framework)

sandro.ruefenacht/phre-api
==========================

The PHP REST-API framework allows you to get a REST backend up and running in just minutes!

v0.1.0-alpha(4y ago)02[5 issues](https://github.com/Ruesa18/PhRe-API/issues)PHPPHP &gt;=7.4.0

Since Apr 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Ruesa18/PhRe-API)[ Packagist](https://packagist.org/packages/sandro.ruefenacht/phre-api)[ RSS](/packages/sandroruefenacht-phre-api/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

[![](documentation/media/logo.png)](documentation/media/logo.png)

[![Stable Badge](https://camo.githubusercontent.com/15870e7f6f15c42c5b766c8f7537469e88cd00678090b1edee2541509ffcf4b0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537461626c652f52656164795f666f725f70726f64756374696f6e2533462d4e6f2d7265642e737667)](https://shields.io/)[![GitHub release](https://camo.githubusercontent.com/e6b41c2afbc4dc767f2d0416e3970c3fdf93b425bb93e72f7582dd37eb17d317/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f527565736131382f506852652d4150492e737667)](https://github.com/Ruesa18/PhRe-API/releases/)[![GitHub latest commit](https://camo.githubusercontent.com/c81f3ef8e4db5b144f23013596a48e9c68766115a38012c3114e604081f5532b/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6173742d636f6d6d69742f527565736131382f506852652d415049)](https://github.com/Ruesa18/PhRe-API/commit/)[![Recommended PHP Version](https://camo.githubusercontent.com/1453f3ee0b83a8f39436464cc34bbde1689ef38548f8b12d1a3cb386efea5603/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5265636f6d6d656e6465645f5048505f56657273696f6e2d2533453d382e302d626c75652e737667)](https://shields.io/)

PhRe-API - PHP REST-API
=======================

[](#phre-api---php-rest-api)

Yet another PHP Backend Framework. The possibility that it will not bring any new features is pretty big. Soooo... Are you sure you want to take a look at this?

Well... Here we go then!

Documentation
=============

[](#documentation)

Installation
------------

[](#installation)

In order to have a configuration file copy the `.env.example` file and name it `.env`.

### Example API

[](#example-api)

If you wanna use the example API, you will need to import the `sql/db.sql` script in a MySQL environment. Don't forget to connect PhRe-API with your database by configuring the credentials inside the `.env` file.

Configuration
-------------

[](#configuration)

Inside of the `.env`-file there are a few settings you might wanna check. You can for example specify which kinds of messages will be outputted and which ones will be suppressed.

Error Messages and such
-----------------------

[](#error-messages-and-such)

To output error, debug and other useful messages please use the class `PHREAPI\kernel\utils\output\Logger`. This will also check in the `.env`-file if the message-level is even allowed to be printed out.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1421b5d84832316b7edd05ef87b9079263967b35ada35bc79a058a7c0d38e212?d=identicon)[Ruesa18](/maintainers/Ruesa18)

---

Top Contributors

[![Ruesa18](https://avatars.githubusercontent.com/u/63109944?v=4)](https://github.com/Ruesa18 "Ruesa18 (23 commits)")

---

Tags

frameworkhacktoberfestphpphp-framework

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sandroruefenacht-phre-api/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M255](/packages/laravel-dusk)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)[lion/bundle

Lion-framework configuration and initialization package

122.2k1](/packages/lion-bundle)

PHPackages © 2026

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