Slim 3 Beta 2
We have now released the second beta of Slim 3 following excellent and useful feedback to the release of beta 1.
#Key changes in 3.0.0-beta2:
- #1425 - Slim 3 now requires PHP 5.5 or higher
- #1393, #1369 & #1354 - Various updates to our PSR-7 implementation, including a fix to allow the request body to be read more than once.
- #1345 - New
foundHandlerto change the signature of the route callable. By default the handler is
RequestResponsewhich creates callables with a signature of
function($request, $response, $args), but we also supply a
RequestResponseArgshandler with a callable signature of
function($request, $response, $routeParam1, $routeParam2).
- #1343 - Ability to set default attributes on a route which can then be accessed within the route callable.
- #1362 - None of the factories in the container need to return a new instance to make it fully compatible with container-interop.
The full list of changes is here
For details on the what’s new in Slim 3, please see this article about 3.0 beta 1.
We really want Slim 3 to be a stable and easy to use framework. Please test it and report all issues that you find. Also note that while we hope that we won’t need to change any function signatures, we aren’t promising that we’ll keep BC before the stable version of 3.0 is released.
To get started, you can follow the installation instructions or use Rob Allen’s skeleton application.
We are continuing to work on stability and bug fixes for Slim 3 along with writing the documentation. When we are happy, we will release the first stable version of 3.0.