Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 940 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 940 Bytes

Environments

Helpers: env() isWin() isUnix()

Production

Helpers: prod()

Production environment ./www/index.php is default unprotected/public entry point for your app. Framework automatically takes care of disabling error display, optionally register rollbar exception manager and register error output handler.

Development

Helpers: dev() implicitDev()

Development environment ./www/dev.php is only accessable from IPs listed in pckg.framework.dev config. All errors are shown by default, whoops exception handler is registered with PrettyPageHandler for quicker and easier debugging and debugbar is shown on frontend and backend. Development environment includes basically everything for developer needs.

Console

Helpers: console()

Console handler ./console is only accessable from bash. Errors are also shown by default and whoops exception handler is registered with PlainTextHandler handler.