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
Requires
- php: >=5.5.9
- basster/silex-simple-swagger-provider: 2.0
- doctrine/dbal: ^2.5
- guzzlehttp/guzzle: ^6.3
- silex/silex: ^2.2
This package is not auto-updated.
Last update: 2025-03-11 19:28:06 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