asorasoft / helpers
Helper functions
v1.0.0
2021-11-21 04:42 UTC
Requires
- php: ^7.1
- illuminate/support: ^5.0 || ^6.0 || ^7.0 || ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-21 11:27:25 UTC
README
Helper functions
Installation
You can install the package via composer:
composer require asorasoft/helpers
Available Methods
message_error($message, $statusCode = 404)
returnIllumate\Http\Response
message_sucess($data)
returnIllumate\Http\Response
message_pagination($paginate, $number_per_page)
returnIllumate\Http\Response
to_khmer_number($str)
returnString
to_standard_number($str)
returnString
get_random_str()
returnString
in_development
returnBoolean
is_production
returnBoolean
get_phone_with_country_code($str)
returnString
get_phone_without_country_code($str)
returnString
my_logs($err, Exception $e)
Logging errors
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email mab@asorasoft.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.