PHPackages                             oliver/remserver - 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. oliver/remserver

ActiveLibrary[Framework](/categories/framework)

oliver/remserver
================

Anax remserver module.

2.0.0(7y ago)06MITPHPPHP &gt;=7.2

Since Nov 27Pushed 7y agoCompare

[ Source](https://github.com/OllieJohnsson/remserver)[ Packagist](https://packagist.org/packages/oliver/remserver)[ Docs](https://dbwebb.se/anax)[ RSS](/packages/oliver-remserver/feed)WikiDiscussions master Synced 3d ago

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

Anax REM server (remserver)
===========================

[](#anax-rem-server-remserver)

[![Latest Stable Version](https://camo.githubusercontent.com/b24a0f296ebaff2fedb9bf4343d2d6bb9206d84890ae90e7029ec853caa2e2ec/68747470733a2f2f706f7365722e707567782e6f72672f616e61782f72656d7365727665722f762f737461626c65)](https://packagist.org/packages/anax/remserver)[![Join the chat at https://gitter.im/canax/remserver](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/canax/remserver/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://camo.githubusercontent.com/de5a7143ec69d265a7ab39e34ab43ba8ffc68eb56db5594ff20dd7e1c3c157af/68747470733a2f2f7472617669732d63692e6f72672f63616e61782f72656d7365727665722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/canax/remserver)[![CircleCI](https://camo.githubusercontent.com/b7f0e5c6d5aea682ba80851a823a68f6e26cd161dec2a57034ff49f79c3bc0e8/68747470733a2f2f636972636c6563692e636f6d2f67682f63616e61782f72656d7365727665722e7376673f7374796c653d737667)](https://circleci.com/gh/canax/remserver)

[![Build Status](https://camo.githubusercontent.com/806771b89759feae905ba6d6f876915f12835dffa964a024a74b1326e23e746f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63616e61782f72656d7365727665722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/canax/remserver/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9a9792c5de7f257ceec70e20a4116ecbf745eec4a2f0c845608e80a59ecec1d0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63616e61782f72656d7365727665722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/canax/remserver/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/c511b8b8139287a85de72532b55ac482a069555163e5d546ad6c3303891ff412/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63616e61782f72656d7365727665722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/canax/remserver/?branch=master)

[![Maintainability](https://camo.githubusercontent.com/46db8d155daba222640aabcefaee59976c33f4d32a4eb7419b1136090836969e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34376637373536626164313865326166626437312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/canax/remserver/maintainability)[![Codacy Badge](https://camo.githubusercontent.com/5452cda94f6715303304d1d15d842d258cbca371bd51ba6521718c980bde8b31/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3265653135356532353136663432663362373635333362633636376236643031)](https://www.codacy.com/app/mosbth/remserver?utm_source=github.com&utm_medium=referral&utm_content=canax/remserver&utm_campaign=Badge_Grade)

Anax REM server (remserver) module implements a REM server. A REM server is a REST Mockup API, useful for development and test of REST clients.

You can use this module, together with an Anax installation, to enable a scaffolded REM server, useful for test, development and prototyping.

This remserver can be used with various HTTP methods to use CRUD operations on predefined datasets.

The data is stored in the session and can therefore not be shared between users and browsers.

Table of content
----------------

[](#table-of-content)

- [Install as Anax module](#Install-as-Anax-module)
- [Install using scaffold postprocessing file](#Install-using-scaffold-postprocessing-file)
- [Install and setup Anax](#Install-and-setup-Anax)
- [Dependency](#Dependency)
- [License](#License)

You can also read this [documentation online](https://canax.github.io/remserver/).

Install as Anax module
----------------------

[](#install-as-anax-module)

This is how you install the module into an existing Anax installation.

Install using composer.

```
composer require anax/remserver

```

Copy the needed configuration and setup the remserver as a route handler for the route `remserver`.

```
rsync -av vendor/anax/remserver/config ./

```

The remserver is now active on the route `remserver/` according to the API documentation. You may try it out on the route `remserver/users` to get the default dataset `users`.

Optionally you may copy the API documentation.

```
rsync -av vendor/anax/remserver/content/index.md content/remserver-api.md

```

The API documentation is now available through the route `remserver-api`.

Install using scaffold postprocessing file
------------------------------------------

[](#install-using-scaffold-postprocessing-file)

The module supports a postprocessing installation script, to be used with Anax scaffolding. The script executes the default installation, as outlined above.

```
bash vendor/anax/remserver/.anax/scaffold/postprocess.d/700_remserver.bash

```

The postprocessing script should be run after the `composer require` is done.

Install and setup Anax
----------------------

[](#install-and-setup-anax)

You need a Anax installation, before you can use this module. You can create a sample Anax installation, using the scaffolding utility [`anax-cli`](https://github.com/canax/anax-cli).

Scaffold a sample Anax installation `anax-site-develop` into the directory `rem`.

```
$ anax create rem anax-site-develop
$ cd rem

```

Point your webserver to `rem/htdocs` and Anax should display a Home-page.

Dependency
----------

[](#dependency)

This is a Anax modulen and primarly intended to be used together with the Anax framework.

License
-------

[](#license)

This software carries a MIT license. See [LICENSE.txt](LICENSE.txt) for details.

```
 .
..:  Copyright (c) 2017 - 2018 Mikael Roos (mos@dbwebb.se)

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2726d ago

### Community

Maintainers

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

---

Top Contributors

[![OllieJohnsson](https://avatars.githubusercontent.com/u/31138806?v=4)](https://github.com/OllieJohnsson "OllieJohnsson (6 commits)")

---

Tags

frameworkmicromvcboilerplateeducation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oliver-remserver/health.svg)

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

PHPackages © 2026

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