Download the PHP package anax/remserver without Composer

On this page you can find all versions of the php package anax/remserver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package remserver

Anax REM server (anax/remserver)

Latest Stable Version Join the chat at https://gitter.im/canax/remserver

Build Status CircleCI

Build Status Scrutinizer Code Quality Code Coverage

Maintainability Codacy Badge

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 quickly 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. You can add and supply your own JSON datasets which will be loaded by configuration.

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

Use REM server as a web service

This module is bundled together with an Anax website in the repo "Anax REM server website" which is hosted at https://rem.dbwebb.se.

There you can read the documentation on how to use the REM service and try it out.

Install as an Anax module

This is how you install the module into an existing Anax installation, for example an installation of [anax/anax](https://github.com/canax/anax).

There are two steps in the installation procedure, 1) first install the module using composer and then 2) integrate it into you Anax base installation.

Step 1, install using composer.

Install the module using composer.

Step 2, integrate into your Anax base

You can review the module configuration file in the directory vendor/anax/remserver/config. It consists of the following parts.

File Description
di/remserver.php Add "remserver" as a di service to make it easy to use from the controller, this is implemented by the model class RemServer.
remserver/dataset These datasets are loaded upon start, when the "remserver" gets activated as a di service. You may add your own dataset to extend the server.
remserver/config.php The configuration file read by the di service "remserver" when it is activated. Here you decide what datasets to load into.
remserver/README.md Short explanation on how to add new datasets.
router/700_remserver.php The routes supported for the REM server API. All routes are implemented by the RemServerController class.

You may copy all the module configuration files with the following command.

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

Optionally you may copy the API documentation as Markdown content. Do this only if you have support for Flat File Content from the content/ directory.

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

You can now use the REM server module as an integrated part of you Anax installation.

Dependency

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

You can install an instance on anax/anax and run this module inside it, to try it out for test and development.

The repo "Anax REM server website" is an example of how that can be done.


All versions of remserver with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
anax/commons Version ^2.0.14
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package anax/remserver contains the following files

Loading the files please wait ....