REST API IN SLIM PHP

Example of REST API with Slim PHP micro framework.

alt text

This simple RESTful API made in Slim version 3, allows CRUD operations to manage resources like: Users, Tasks and Notes.

Build Status Test Coverage Code Quality Quality Gate Status

QUICK INSTALL:

Pre Requisite:

  • Git.
  • Composer.
  • PHP.
  • MySQL/MariaDB.

Run commands:

In your terminal execute this commands:

$ git clone https://github.com/maurobonfietti/rest-api-slim-php.git && cd rest-api-slim-php
$ cp .env.example .env
$ composer install
$ composer database
$ composer start

Installation:

More Info:

You can find more info about this project in my repository: rest-api-slim-php.

I implemented this API in this project. It’s a todo list web app developed in Angular.

Give it a try:

Check it out to this live demo hosted on Heroku.