3. Configuration - lefuturiste/urlshortener GitHub Wiki

Configuration

Use .env file for set the configuation.

APP_DEBUG => true/false => enable debug mode (if this enabled, the details of slim application error will be showed)

BASE_REDIRECT_URL => http://example.com => The url will be redirect for fallback

API_AUTH => username:password => Authentification storage for api

MYSQL_HOST => Host for mysql

MYSQL_USERNAME => The username of mysql

MYSQL_PASSWORD => The username of mysql

MUYSQL_DATABASE => The database of mysql