netkod-bilisim / tr-string-str-facade-extend
Extended version of Turkish string package.
v1.0.0
2023-07-31 10:01 UTC
Requires
- php: >=7.4
- illuminate/support: >=5.5
- netkod-bilisim/tr-string: ^1
This package is auto-updated.
Last update: 2025-03-29 00:54:28 UTC
README
Introduction
Extended version of Turkish string package.
Requirements
- PHP >= 7.4
Install
composer require netkod-bilisim/tr-string-str-facade-extend:"^1"
Usage
use Illuminate\Support\Str; # Make a string uppercase echo Str::trUppercase('Pijamalı hasta yağız şoföre çabucak güvendi.') # Result: PİJAMALI HASTA YAĞIZ ŞOFÖRE ÇABUCAK GÜVENDİ. # Make a string lowercase echo Str::trLowercase('PİJAMALI HASTA YAĞIZ ŞOFÖRE ÇABUCAK GÜVENDİ.'); # Result: pijamalı hasta yağız şoföre çabucak güvendi. # Make a string's first character uppercase echo Str::trUppercaseFirst('pijamalı hasta yağız şoföre çabucak güvendi.'); # Result: Pijamalı hasta yağız şoföre çabucak güvendi. # Make a string's first character lowercase echo Str::trLowercaseFirst('Pijamalı hasta yağız şoföre çabucak güvendi.'); # Result: pijamalı hasta yağız şoföre çabucak güvendi. # Uppercase the first character of each word in a string echo Str::trUppercaseWords('Pijamalı hasta yağız şoföre çabucak güvendi.'); # Result: Pijamalı Hasta Yağız Şoföre Çabucak Güvendi.
License
This package is open source software licensed under the MIT License.