kuridza / api-starter
Simple silex api.
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kuridza/api-starter
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-10-21 22:29:52 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