Skip to content

Installation

ReactMVC edited this page Aug 2, 2023 · 2 revisions

Important notes:

You need Composer, if you don't have it, install it from https://getcomposer.org.

The main root is not defined, and your roots must be defined with a specified path, for example: /user or /api/user.

Getting Started

To get started with API-Monster, you can use Composer to create a new project. Simply run the following command:

composer create-project darkphp/apimonster myapp
  1. Navigate to the repository directory using the following command:
cd myapp
  1. Start php app using the following command:
php -S localhost:8000

Once you have a web server installed and running, you can navigate to localhost:8000/api in your web browser to see the first test.

Clone this wiki locally