PHPackages                             xdbas/restwork - 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. xdbas/restwork

ActiveLibrary[API Development](/categories/api)

xdbas/restwork
==============

PHP RESTFull webservice

06PHP

Since May 18Pushed 13y ago3 watchersCompare

[ Source](https://github.com/xdbas/RESTWork)[ Packagist](https://packagist.org/packages/xdbas/restwork)[ RSS](/packages/xdbas-restwork/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RESTWork
========

[](#restwork)

Simple REST system to build small webservices without a huge framework or system for easy development.

[![Build Status](https://camo.githubusercontent.com/a99c04bd25d57ca97672de3508d3bc221036177acad43182f6512cc6f0c5f069/68747470733a2f2f7472617669732d63692e6f72672f78646261732f52455354576f726b2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/xdbas/RESTWork)

SYSTEM
======

[](#system)

Here is a brief explanation of how certain processes are set-up and called throughout the framework initialization.

1. Enter framework via .htaccess index.php

Will handle the incoming request and will set up some globals for all paths. It will attempt to call the application.

2. Application::Run() The main method of the application gets called to intialize and run the system
3. Check system paths, Setup Error handlers and init autoloader Self explanatory
4. Initialize the config handler and load config files
5. Call bootstrap and call all methods prefixed with '\_' in standard order

    5a. \_beforeRequest gets called Execute user code before the request will be fetched

    5b. \_gatherRequest Fetch / Gather the HTTP Request send from browser or other client

    ```
     - Initialize URI class to handle the Request URI

    ```

    5c \_beforeRoute Execute user code before the uri will be analysed to fit an added route

    5d \_analyzeRoute Matches the uri to a Route and saves the data

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97% 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://avatars.githubusercontent.com/u/1324923?v=4)[Bas](/maintainers/xdbas)[@xdbas](https://github.com/xdbas)

---

Top Contributors

[![xdbas](https://avatars.githubusercontent.com/u/1324923?v=4)](https://github.com/xdbas "xdbas (32 commits)")[![mjanssen](https://avatars.githubusercontent.com/u/1145427?v=4)](https://github.com/mjanssen "mjanssen (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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