Skip to content

HELMAB/helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helpers for Laravel

Helper functions

Installation

You can install the package via composer:

composer require asorasoft/helpers

Available Methods

  • message_error($message, $statusCode = 404) return Illumate\Http\Response
  • message_sucess($data) return Illumate\Http\Response
  • message_pagination($paginate, $number_per_page) return Illumate\Http\Response
  • to_khmer_number($str) return String
  • to_standard_number($str) return String
  • get_random_str() return String
  • in_development return Boolean
  • is_production return Boolean
  • get_phone_with_country_code($str) return String
  • get_phone_without_country_code($str) return String
  • 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.