Skip to main content

Slim 3.8.0 released

· One min read
Slim Framework Team
PHP Micro Framework

It's been a few months since the last release, so Slim 3.8.0 has a few more things in it. This version updates Slim to be compatible with PSR-11 containers so that you can now use a PSR-11 container with it.

Slim 3.7.0 released

· One min read
Slim Framework Team
PHP Micro Framework

Slim 3.7.0 is a small release containing a one bug fixes and a new feature: we now pass the Exception into the NotFoundHandler so that custom handlers have access to this additional information. If you work with cookies, then you'll be glad to know that we have fixed a bug in our cookie parser so that commas are handled properly!

Slim 3.6.0 released

· One min read
Slim Framework Team
PHP Micro Framework

Slim 3.6.0 is a small release containing a few bug fixes and a new method. A particularly useful bug fix is that the Response's withJson() method now correctly removes any data currently in the body before inserting its own data. We also have a new convenience method on Request: getServerParam() allows access to a single parameter from $_SERVER.

Slim 3.5.0 released

· One min read
Slim Framework Team
PHP Micro Framework

A few useful bug fixes in this release including the ability to read the 'Authorization' header without tweaking .htaccess files or manually looking in getallheaders()!

Slim 3.4.0 released

· 2 min read
Slim Framework Team
PHP Micro Framework

This release add a number of new features and improvements. Firstly, we now support media type structured suffixes (+json & +xml) for our Request's body parser and error response output. Routing has also seen some improvements with two new methods: removeNamedRoute() and setPattern() and you can now cache the parsed FastRoute route information to a cache file with the routerCacheFile setting.

Slim 3.3.0 released

· One min read
Slim Framework Team
PHP Micro Framework

This release tidies up a few issues found in our PSR-7 implementation around the Request's body and uploaded files. In particular, we now handle file input elements with names containing nested arrays correctly.

Slim 3.2.1 released

· One min read
Slim Framework Team
PHP Micro Framework

Shortly after releasing version 3.2.0, we discovered that we had inadvertently made life very difficult for people who write their own invocation strategies as it was now impossible to inspect the actual callable passed to the strategy. Obviously we don't like to break people's working applications, so version 3.2.1 resolves this issue (#1785).