netkod-bilisim/tr-string
最新稳定版本:v1.0.0
Composer 安装命令:
composer require netkod-bilisim/tr-string
包简介
It provides functions to help with the problem of converting Turkish text to uppercase and lowercase in PHP.
关键字:
README 文档
README
Introduction
It provides functions to help with the problem of converting Turkish text to uppercase and lowercase in PHP.
Requirements
- PHP >= 7.4
- PHP mbstring extension
Install
composer require netkod-bilisim/tr-string
Usage
include "./vendor/autoload.php"; # Make a string uppercase dd( tr_strtoupper('Pijamalı hasta yağız şoföre çabucak güvendi.') ); # Result: PİJAMALI HASTA YAĞIZ ŞOFÖRE ÇABUCAK GÜVENDİ. # Make a string lowercase dd( tr_strtolower('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 dd( tr_uppercase_first('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 dd( tr_lowercase_first('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 dd( tr_ucwords('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.
统计信息
- 总下载量: 119
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-27