Releases: llwebsol/rAPId
Releases · llwebsol/rAPId
Version 3
- 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
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
If the file initialize.php
exists in your root directory, it will be run before index.php
Allow Default Parameters
Default controller parameters were being set to null if not explicitely passed via request args or url path args
Handle Generators Returned From Controllers
You can now return generators from controllers without any extra logic
Environments and Debugging Updates
- 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
- 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
Added EasyDB for simple database interactions
Initial Release
v1.0.0 Added .travs.yml