Skip to content

ShortName is a simple function built in PHP to generate lowercase hyphenated strings in PHP for IDs or URLs

Notifications You must be signed in to change notification settings

danielkwood/ShortName

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ShortName

ShortName is a simple function built in PHP to generate lowercase hyphenated strings in PHP for IDs or URLs Simply add the ShortName function to your PHP code and pass your original string in to the function when calling it. The function takes only one argument - the original string, and returns only one value - the lowercase hyphenated version of the string with special characters removed (suitable for use in URLs, file names, or as record IDs in a database).

About

ShortName is a simple function built in PHP to generate lowercase hyphenated strings in PHP for IDs or URLs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages