netkod-bilisim/tr-string 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Stable Version Total Downloads Dependents License License License StyleCI

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-27