Skip to content
/ PhRe-API Public template

Another PHP Backend Framework. It's my first attempt at building my own framework. So don't expect too much.

License

Notifications You must be signed in to change notification settings

Ruesa18/PhRe-API

Repository files navigation

Stable Badge GitHub release GitHub latest commit Recommended PHP Version

PhRe-API - PHP REST-API

Yet another PHP Backend Framework. The possibility that it will not bring any new features is pretty big. Soooo... Are you sure you want to take a look at this?

Well... Here we go then!

Documentation

Installation

In order to have a configuration file copy the .env.example file and name it .env.

Example API

If you wanna use the example API, you will need to import the sql/db.sql script in a MySQL environment. Don't forget to connect PhRe-API with your database by configuring the credentials inside the .env file.

Configuration

Inside of the .env-file there are a few settings you might wanna check. You can for example specify which kinds of messages will be outputted and which ones will be suppressed.

Error Messages and such

To output error, debug and other useful messages please use the class PHREAPI\kernel\utils\output\Logger. This will also check in the .env-file if the message-level is even allowed to be printed out.

About

Another PHP Backend Framework. It's my first attempt at building my own framework. So don't expect too much.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published