Skip to content

Commit c199f4c

Browse files
committed
updated the README
1 parent 22f63e2 commit c199f4c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@
88
Safe PHP
99
========
1010

11+
# This project is deprecated
12+
13+
14+
15+
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.
16+
17+
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.
18+
19+
So the only solution I see is to create a new project: [Safe8](https://github.com/thecodingmachine/safe8/).
20+
21+
The old safe library will stay on Packagist, but it won't be updated anymore.
22+
23+
1124
**Work in progress**
1225

1326
A set of core PHP functions rewritten to throw exceptions instead of returning `false` when an error is encountered.

0 commit comments

Comments
 (0)