Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/epigra/trstringhelper
PHP Türkçe Karakter String Kütüphanesi
https://github.com/epigra/trstringhelper
Last synced: 2 months ago
JSON representation
PHP Türkçe Karakter String Kütüphanesi
- Host: GitHub
- URL: https://github.com/epigra/trstringhelper
- Owner: epigra
- License: mit
- Created: 2016-02-19T10:39:53.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-20T03:35:52.000Z (4 months ago)
- Last Synced: 2024-10-02T08:45:46.630Z (3 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 24
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome - epigra/trstringhelper - PHP Türkçe Karakter String Kütüphanesi (PHP)
README
# PHP Türkçe Karakter Destekli String Fonksiyonları (toupper,tolower,ucfirst,ucwords) Kütüphanesi
## Yükleme
Composer ile yükleyebilirsiniz:
```
composer require epigra/trstringhelper
````## Kullanım
```php
use Epigra\TRStringHelper;$w = new TRStringHelper("dEneMe. çĞıŞöİÜ");
echo $w->toLower()->result(); // deneme. çğışöiü$x = (new TRStringHelper())->withString("dEneMe. çĞıŞöİÜ")->toUpper()->result();
echo $x; // DENEME. ÇĞIŞÖİÜ$y = (new TRStringHelper("dEneMe. çĞıŞöİÜ"))->ucFirst()->result();
echo $y; // Deneme. çğışöiü$z = (new TRStringHelper())->withString("dEneMe. çĞıŞöİÜ")->ucWords()->result();
echo $z; // Deneme. Çğışöiü
```## With Pangram (*)
```php
$p = (new TRStringHelper())->withPangram()->toUpper()->result();
echo $p;
```## Random Pangram (*)
```php
$rp = TRStringHelper::pangram();
echo $rp;
```https://tr.wikipedia.org/wiki/Pangram
http://www.afilifilintalar.com/pangramlar