Skip to content
Daniel Opitz edited this page Jul 18, 2024 · 26 revisions

Status: Draft / Planning

Slim 5 Issues: https://github.com/slimphp/Slim/issues?q=is%3Aissue+is%3Aopen+label%3A%22Slim+5%22

New Features

  • Provide FIFO middleware support
  • Provide integrated basePath middleware

Changes

  • Require >= PHP 8.2
  • PSR-7 and PSR-15 compliance: Require at least psr/http-message 2.0.
  • PSR-11 compliance: Require at least psr/container 2.0.
  • PSR-3 compliance: Require at least psr/log 3.0
  • Dependency Injection (DI): Improve DI container integration. Require a PSR-11 package.
  • Improved Error Handling

Documentation and Community

  • Update and expand the official documentation to cover new features and best practices.
  • Provide updated tutorials and example applications to help developers get started with Slim 5.
  • Add migration guide

Cleanup

  • TBD

Remove

  • TBD

Testing

  • Require PHPUnit 11.
  • Optimize tests. Avoid mocking where possible.
  • Use Mockery for all new tests which require mocking. Drop prophecy?

Final Release

  • Release Candidate: Prepare and release the Slim 5 release candidate for final testing.
  • Official Release: Launch Slim 5 with complete documentation and migration guides.
Clone this wiki locally