anurag / lara-global-helper
For string and array related operations
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/anurag/lara-global-helper
Requires
- php: ^7.0.0
- laravel/framework: >=5.6
This package is not auto-updated.
Last update: 2025-12-26 08:02:57 UTC
README
Installation
You can install the package via composer:
composer require anurag/lara-global-helper
Functions
- String slug generator
generateSlug($string) - Generate Hash String
hashString($string) - Clear String
cleanString($string) - Add string in existed string
addString($string) - Short the string
shortString($string) - String Serialization
serialize($string) - String Unserialization
unserialize($string) - Find String(word) position
strposition($string,$word) - Merge 2 arrays
array_merge($string,$str1) - Replace last element of string
str_replace_last($search, $replace, $subject) - Convert string to an array
array_wrap($string)
License
The MIT License (MIT). Please see License File for more information.