Download the PHP package gregkos/greek-strings without Composer
On this page you can find all versions of the php package gregkos/greek-strings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gregkos/greek-strings
More information about gregkos/greek-strings
Files in gregkos/greek-strings
Package greek-strings
Short Description A manipulation library for Greek strings
License MIT
Homepage https://github.com/gregkos/greek-strings
Informations about the package greek-strings
A manipulation library for Greek strings
A library to cover all your Greek string conversion needs.
Currently:
- Transliteration of Greek strings
- Uppercase / lowercase conversions
Planned:
- Open to feature requests! :)
Wishlist:
- Reverse transliteration
- Accent guesstimates
Installation
You can install the package via composer:
Usage
You can create a new string by calling the constructor:
You can transliterate any greek letters in the string like so:
You can convert the string to UPPERCASE
...
...or convert it to lowercase
Keep in mind that conversions remove the accent unless you explicitly pass a parameter:
However, there is no efficient way to add an accent that was not there before:
Method Reference
The following methods are available on any GreekString instance:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Spatie for the package skeleton
- multipetros for the inspiration and parts of the code
- GregKos
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of greek-strings with dependencies
ext-mbstring Version *