Skip to content

aphiria/app

1.x
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Note: This library 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.

Installation

Aphiria can be installed using Composer:

composer create-project aphiria/app --prefer-dist --stability dev

Running Locally

You can run your app locally (defaults to http://localhost:8080):

php aphiria app:serve

Demo

This app comes with an extremely simple demo that can store and retrieve users from local file storage. It should not be used in production - it is simply a demo of some Aphiria features. The demo routes can be found as PHP attributes in src/Demo/Api/Controllers/UserController.php.

Removing Demo Code

To remove the built-in demo code, simply delete the src/Demo and tests/Integration/Demo directories, and remove the DemoModule from src/GlobalModule.php.

Learn More

To learn more about how to use Aphiria, read its documentation.

About

Skeleton application for Aphiria

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages