PHPackages                             torchline/frest - 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. torchline/frest

ActiveLibrary

torchline/frest
===============

1.0-beta(12y ago)138PHPPHP &gt;=5.3.0

Since Oct 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/torchline/frest)[ Packagist](https://packagist.org/packages/torchline/frest)[ RSS](/packages/torchline-frest/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Introduction
============

[](#introduction)

This framework automatically fits a facade layer around your SQL tables and provides very configurable and powerful API endpoints. Just specify the desired behavior in a json file for each resource and you're ready to go.

Define what is possible to be read back, what is read back by default, how it will look, etc.

Features
========

[](#features)

- URL routing for resources
- CRUD operations
- unlimited related resource nesting in a single request
- functions on resources for custom behavior
- type checking
- pagination
- conditional searching (&gt;, &lt;, LIKE, etc.)

Installation
============

[](#installation)

Require this package with [composer](https://getcomposer.org/):

`composer require torchline/frest`

Querying
========

[](#querying)

Function names: **gt**, **gte**, **lt**, **lte**, **in**, **like**

```
		?username=like(FullMetal~) - starts with
		?money=gt(50) - greater than
		?hair=in(blonde,black,red) - is one of

```

Partial objects:

```
		?fields=id,username,email - read only these fields back
		?fields=* - read all fields back
		(if no fields specified, it goes to default)

		?fields=name,owner(id, firstName, lastName) - do partial reads on child objects

```

Miscellaneous:

```
	suppress_http_error_codes=true - make request always return 200 with actual http code embeded in response

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.2% 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

4594d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64e99b9e9f0ced09a6d441c4ae49aab101368faa483147d781d49b983f498341?d=identicon)[torchline](/maintainers/torchline)

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

---

Top Contributors

[![walkingbrad](https://avatars.githubusercontent.com/u/5247616?v=4)](https://github.com/walkingbrad "walkingbrad (54 commits)")[![brandonlilly](https://avatars.githubusercontent.com/u/9450681?v=4)](https://github.com/brandonlilly "brandonlilly (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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