jawira/the-lost-functions
Collection of convenience functions.
Maintainers
v1.8.0
2026-01-16 22:34 UTC
Requires
- php: ^8.2
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT eda63129bab2f668dc38ca81c4664247c50ca36a
- Jawira Portugal <dev.woop@tugal.be>
README
Collection of convenience functions for PHP.
👁 pipeline status
👁 coverage report
Functions
- array_find() - Search an element using a callback.
- get_short_class() - Get the short name of an object.
- str_bytes() - Get string length in bytes.
- temp_file(): - Create temporary file.
- throw_unless() - Throws an exception if an assertion is false.
- year() - Returns current year.
- year_range() - Range between start year and current year.
How to install
composer require jawira/the-lost-functions
Contributing
If you liked this project, ⭐ star it on GitLab.
License
This library is licensed under the MIT license.
