Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Latest commit

 

History

History

php-restful-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

PHP RESTful API server setup

  1. Copy to own folder
  2. Make sure you have Composer installed. (For those without Composer, see below)
  3. Run (sudo) composer install
  4. Change your config in bootstrap.php and require any other dependencies
  5. Set up your routes in index.php

Installing Composer

Google it…

Or try this (easiest because you already have Homebrew)

  1. In Terminal, run brew tap josegonzalez/homebrew-php
  2. Run brew install josegonzalez/php/composer
  3. Running composer install in your project folder will know work