Skip to content

Releases: llwebsol/rAPId

Version 3

11 Jul 15:35
Compare
Choose a tag to compare
  • Docker template
  • Minimum php version now set to 7.1
  • changes to how bootstrapping works
    • addeed rAPId_bootstrap() helper function
    • consumers now required to load the composer autoloader, then call rAPId_bootstrap()
  • Added default Docerfile and docker-compose.yml
  • Docker files are copied on composer update if they do not already exist
  • app doesn't die when .env file not supplied

Bug Fix : Display errors in dev environment only

09 Jul 17:53
Compare
Choose a tag to compare

is_dev() was being called before loading the env vars.
it will always return true when that is the case... so as a result ini_set('display_errors', 1) was always getting called.
Also, the default server log was never being activated

Initialization Scripts

24 Apr 14:53
Compare
Choose a tag to compare

If the file initialize.php exists in your root directory, it will be run before index.php

Allow Default Parameters

15 Mar 19:32
Compare
Choose a tag to compare

Default controller parameters were being set to null if not explicitely passed via request args or url path args

Handle Generators Returned From Controllers

15 Mar 18:13
Compare
Choose a tag to compare

You can now return generators from controllers without any extra logic

Environments and Debugging Updates

14 Mar 14:46
Compare
Choose a tag to compare
  • ENVIRONMENT variable added to .env.example
  • improvements to pr() function
    • output only visible in development environment
    • <pre> tags removed since HTML is not rendered with Json/XML headers
    • Debug Output class added for handling pr() formatting
    • pr() now supports second argument ( 'identifier' ) to make your debug output even prettier
    • added is_dev() helper function to helpers.php

Config Refactoring and DB bug fixes

12 Mar 21:06
Compare
Choose a tag to compare
  • Initialize Dotenv package to load the .env vars
  • remove database_listeres config and combine with database.php
  • moved all config loading logic from index to bootstrap.php

Database Functionality

28 Feb 22:12
Compare
Choose a tag to compare

Added EasyDB for simple database interactions

Initial Release

29 Jan 21:57
Compare
Choose a tag to compare
v1.0.0

Added .travs.yml