diff --git a/README.md b/README.md index a3d84e1b..a371da08 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,19 @@ Safe PHP ======== +# This project is deprecated + + + +Because of how this project needs to be in sync with the official PHP documentation, maintaining a set of functions for PHP 7 is simply too difficult, which means we have to drop support for versions below PHP 8. + +On the other hand, because this project is used in other libraries, I cannot actually change the PHP dependency in composer.json to ^8.0 without risking some huge versions conflicts. + +So the only solution I see is to create a new project: [Safe8](https://github.com/thecodingmachine/safe8/). + +The old safe library will stay on Packagist, but it won't be updated anymore. + + **Work in progress** A set of core PHP functions rewritten to throw exceptions instead of returning `false` when an error is encountered.