Created September 25, 2010
Updated July 31, 2012
This is the official Slim framework roadmap working draft. This is a living document that may very well change in the future.
Slim uses the same Git workflow as described at http://nvie.com/posts/a-successful-git-branching-model/. The
master branch will always represent the latest production-ready point release. The
develop branch will contain the latest features pending the next point release; the
develop branch is not guaranteed to be stable, but it will more than likely work since new features are developed locally on separate Git branches and only merged into the
develop branch when thought to be stable.
These are not assigned to a specific version, but they will likely be included sometime in the future. These are not assigned to a specific upcoming version release because they are under active discussion to determine the best approach for implementation. Do not submit pull requests for these features until you have discussed implementation plans with Josh Lockhart (the project creator/maintainer).
Slim_Routerhandle route dispatching
E_NOTICEif session already started
slim.afterhook, even after halt, etc.
Slim_Routeinject custom parameter values
Slim_Routerreturn current route in middleware
Slim_Routeruse internal iteration
Slim_Routerexpose current route with
applyHookmethod pass argument(s) to each registered callback
Slim_Http_Requestparse request body only if body is a string and URL encoded
Slim_Middleware_SessionCookiefile locking for high-traffic Slim applications
Slim_Environment, trim whitespace from values
set_exception_handleruntil after Slim instantiation
See upgrade notes at http://www.slimframework.com/documentation/upgrade_to_150.
Upgrading from 1.2 to 1.3 should be a straight-forward process. Just replace your
Slim/ directory with the latest version. The only potential gotchas you should watch out for are:
$_SESSION data is now stored in signed, encrypted Cookies using Slim's own Session handler. If your
$_SESSION data will be larger than 4Kb, you should revert to PHP's default Session handler like this:
Slim::init(array( 'session.handler' => null ));
Sessions are started automatically by Slim. You do not need to call
Session IDs are regenerated on each request for additional security .
To invoke a hook in 1.3 (unlike prior versions), you now call
Slim::applyHook('name.of.hook'). Assigning callables to a hook remains the same with
To keep the core repository as light-weight as possible, all custom Views have moved to a separate repository at:
This release marks the most important changes to-date within the Slim PHP 5 micro framework. All class names are updated so that Slim can use the industry-standard class autoloader (see link below). The class names in this release are final and will not be changed again in the future.