LazyLib is a small library designed to help programmers save time and effort by providing simple functions for common tasks. You don't need to reinvent the wheel - just import and use.
composer require minhkhoablieu/iamlazy
use iAmLazy\HelpMe;
HelpMe::isOdd(5)
use iAmLazy\HelpMe;
HelpMe::isEven(8)
use iAmLazy\HelpMe;
HelpMe::isJson('{"name":"abc", "email": "[email protected]"}')
use iAmLazy\HelpMe;
HelpMe::flatten([[1, 2], [2, 3]])
use iAmLazy\HelpMe;
HelpMe::isPrime(7)
If you have suggestions or would like to contribute to the library, please open an issue or create a pull request on GitHub.
This library is released under the MIT License. See the LICENSE file for more details.