finwo / punycode
Installs: 97
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/finwo/punycode
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2025-09-24 06:38:32 UTC
README
Non-length-limited punycode en-/decoder
Usage
Encoding a string
$encodedString = Punycode::encode( $stringToEncode );
Decoding a string
$decodedString = Punycode::decode( $encodedString );
Checking if a string is valid punycode
$isValid = Punycode::isPunycode( $stringToTest );
Contributing
After checking the Github issues and confirming that your request isn't already being worked on, feel free to spawn a new fork and send in a pull request.