kuridza/api-starter

There is no license information available for the latest version (1.0.0) of this package.

Simple silex api.

1.0.0 2017-08-22 22:45 UTC

This package is not auto-updated.

Last update: 2024-05-07 15:16:16 UTC


README

Simple silex api.

Setup

  • clone or download
  • get dependencies:
$ composer install
  • setup web server to run on index.php or run php build-in web server:
$ php -S localhost:8000
  • open in browser localhost:8000 for routes list
  • run tests:
$ php tests.php

OR

open tests.php in browser. Note that build-in server can't handle multiple request so run another instance and try tests on localhost:8001/tests.php