romanzaycev / valuehash
There is no license information available for the latest version (0.1.0) of this package.
0.1.0
2022-12-05 09:53 UTC
Requires
- php: >= 8.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Summary
The library is designed to calculate SHA-256 hash of the passed value.
The hash of only the values is calculated. Meta information about the class (such as the class name) will be ignored.
For the passed stdClass
object and an instance of another class, the same hash will be calculated if the data in the public fields is the same.
Supported types
- Scalars
- Arrays
- StdClass
- Objects
- and custom
Hashable
interface implementations