There is no argument, that PHP can sometimes be a bit inconsistent about naming stuff and maintaining order of parameters for related functions. Also, in some cases it is not strict and allows you to use the language and the functions in a wrong way. Sometimes you get false as a return value where an exception would be appropriate.
[...] Consistence provides opinionated strict wrappers with better error handling and consistent naming and consistent parameters order.
The remainder of the post goes through some of the functionality the package provides including:
- Enums for better type safety
- [Using] ObjectPrototype to disable magic methods
- Consistent array manipulation functions
- [Working with] Regular expressions
As a related piece he's also created PHPStan static analysis rules for the library to ensure it's being used correctly.