Skip to content

Conversation

@Ostico
Copy link

@Ostico Ostico commented Oct 17, 2025

Version 3.0.0

This repository is a fork of the original project, created because the original was no longer maintained. We use it in production and update it to ensure compatibility with PHP 8.3. We aim to preserve API compatibility where possible and welcome bug reports and pull requests. Unless stated otherwise, the original license applies.

Features

  • Support for PHP >= 8.1
  • Dropped support for previous PHP versions
  • Removed the "magical" way of inputting mask in DataCollections in favor of PHP 8 named arguments.
  • Removed use of 404/405 "routes" (deprecated in previous versions). Use $klein->onHttpError() instead.
  • Removed "magical" callback behavior in favor of PHP 8.3 named arguments. Now the function accepts an optional string path as the first parameter and a NOT optional callback.
  • Removed "magical" markdown behavior. Now the function accepts a string and an optional array of values.
  • Removed "magical" markdown behavior. Now the function accepts a string and an optional array of values.
  • Removed "magical" behavior of ServiceProvider::flash() method. Now the function accepts a string and an optional array of values.
  • Updated PHPUnit to version 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant