asorasoft / helpers
Helper functions
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/asorasoft/helpers
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: 2025-10-21 13:33:47 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\Responsemessage_sucess($data)returnIllumate\Http\Responsemessage_pagination($paginate, $number_per_page)returnIllumate\Http\Responseto_khmer_number($str)returnStringto_standard_number($str)returnStringget_random_str()returnStringin_developmentreturnBooleanis_productionreturnBooleanget_phone_with_country_code($str)returnStringget_phone_without_country_code($str)returnStringmy_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.