- Fixed references to Pecee framework.
- Fixed variables not being initialised before usage.
- Cleaned up duplicate checks.
- Other small optimisations and bugfixes.
- Changed Middleware to interface - as it's easier to inherit and use in
other frameworks/projects.
- RouterController now loads method based on request-method.
- Changed references to old Middleware abstract class.
- Middleware must now be instance of IMiddleware instead of Middleware
class.
- When no parameter is recieved, router now returns null instead of empty
string.
- json method in Response class now stops response after execution.
- Updated composer.json with correct autoload.
- Added functionality to CsrfToken class.
- Added header support to Request class.
- Added option to set BaseCsrfVerifier class in RouterBase and
SimpleRouter.
- Added support for alias on RouterRoute.
- Added typo in resource (renamed class from Ressource to Resource).
- Added optional settings parameter in most of the methods in the
SimpleRouter class.