0.3.0
v0.3.0
brings improvements to autoloading, models & views and a major feature to the service container. Also written a lot of readme's which are destined to be made more concise and informative.
Changelog:
- Readme files
- Autoloader script (
autoloader.php
) - Improvements to
Autoloader
class - Minor and cosmetic improvements to
Request
andResponse
classes Response
accepts arrays as content to be sent as JSON- Implemented
Model::toArray()
,Model::toJson()
and some useful interfaces - Implemented
SmartyView
- Routes accept objects as default controllers
- Respond to a request directly from a
Router
usingRouter::respond
- Implemented service container reflection so function or class constructor
parameters can be resolved usingContainer::call
orContainer::create
if
the type-hinted classes or interfaces are registered with the container