Note: This framework is not stable yet.
This application is a useful starting point for projects that use the Aphiria framework. Check out this repository, and get started building your own REST API.
Aphiria can be installed using Composer:
composer create-project aphiria/app --prefer-dist --stability dev
You can run your app locally (defaults to http://localhost:8080):
php aphiria app:serve
This app comes with a simple demo that can store, retrieve, and authenticate users from a local SQLite database. It uses Phinx to manage database migrations and seeding, which can be executed with the following commands, respectively:
vendor/bin/phinx migrate
vendor/bin/phinx seed:run
Phinx-specific configuration settings, eg the paths to migration and seed files, are located in phinx.php.
To learn more about how to use Aphiria, read its documentation.