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 2mo 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 14% 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://www.gravatar.com/avatar/a2eb7723ab906c827f346eed5dd1d440d52e18a669c8121ce7d65d6ccd494daf?d=identicon)[xdbas](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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