adapi
1.0.0
$ composer install
$ composer build
All requests go to ./public/index.php
.
Example of setting up redirection for apache2 server:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA, L]
$ php -S 127.0.0.1:8080 -t public
./config/config.default.php
- default settings
./config/config.local.php
- add local settings file instead of default settings
Full documentation here.
Installation and configuration.
Description of the application.
API protocol.
Tests.
To test the application. Specify the path to api api_base_url
in ./phpunit.xml
for phpunit tests.
Run tests
$ composer test