PHPackages                             netkod-bilisim/tr-string - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. netkod-bilisim/tr-string

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

netkod-bilisim/tr-string
========================

It provides functions to help with the problem of converting Turkish text to uppercase and lowercase in PHP.

v1.0.0(2y ago)01192MITPHPPHP &gt;=7.4

Since Jul 27Pushed 2y agoCompare

[ Source](https://github.com/netkod-bilisim/tr-string)[ Packagist](https://packagist.org/packages/netkod-bilisim/tr-string)[ RSS](/packages/netkod-bilisim-tr-string/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (2)

Tr String
=========

[](#tr-string)

[ ![Latest Stable Version](https://camo.githubusercontent.com/7c8c972004bcf125cf3eef0dbee9e187ec961d57e91d0a544f129800278e521f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65746b6f642d62696c6973696d2f74722d737472696e67)](https://packagist.org/packages/netkod-bilisim/tr-string)[ ![Total Downloads](https://camo.githubusercontent.com/19c1acfb8cf3aa4adeef2a62cc544cb1810bfcac2baf8443dfdc0a1863ed0a5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e65746b6f642d62696c6973696d2f74722d737472696e67)](https://packagist.org/packages/netkod-bilisim/tr-string)[ ![Dependents](https://camo.githubusercontent.com/030b2ee02faadedc7e02c8b8ed51d5e65b45c5646070d45ce19008711344e90e/68747470733a2f2f706f7365722e707567782e6f72672f6e65746b6f642d62696c6973696d2f74722d737472696e672f646570656e64656e74732e737667)](https://packagist.org/packages/netkod-bilisim/tr-string)[ ![License](https://camo.githubusercontent.com/13befc07dd62103b5c8f7a011f2569f6eca4fda72afaf2892db41d04323b7150/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e65746b6f642d62696c6973696d2f74722d737472696e67)](https://packagist.org/packages/netkod-bilisim/tr-string)

[ ![License](https://camo.githubusercontent.com/778e444ba92c399a914425b22369007e2fb0cf8033bd8f4df81ec78843272994/687474703a2f2f706f7365722e707567782e6f72672f6e65746b6f642d62696c6973696d2f74722d737472696e672f726571756972652f706870)](https://packagist.org/packages/netkod-bilisim/tr-string)[ ![License](https://camo.githubusercontent.com/a4ce5db47baa90ad961ee7171de93c1de7fc37c57304d14bc9c21b09121ab389/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e65746b6f642d62696c6973696d2f74722d737472696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/netkod-bilisim/tr-string/badges/quality-score.png?b=master)[ ![StyleCI](https://camo.githubusercontent.com/8ddb1cb1f41a3c0864e17392accffede279e5f9fd67c56fa9f4cda6899d6d419/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3637313530393339322f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/671509392?branch=master)

[![](public/assets/images/presentation.png)](public/assets/images/presentation.png) Introduction
------------------------------------------------------------------------------------------------

[](#-introduction)

It provides functions to help with the problem of converting Turkish text to uppercase and lowercase in PHP.

[![](public/assets/images/requirement.png)](public/assets/images/requirement.png) Requirements
----------------------------------------------------------------------------------------------

[](#-requirements)

- PHP &gt;= 7.4
- PHP mbstring extension

[![](public/assets/images/inbox.png)](public/assets/images/inbox.png) Install
-----------------------------------------------------------------------------

[](#-install)

```
composer require netkod-bilisim/tr-string
```

[![](public/assets/images/web-coding.png)](public/assets/images/web-coding.png) Usage
-------------------------------------------------------------------------------------

[](#-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.
```

[![](public/assets/images/licensing.png)](public/assets/images/licensing.png) License
-------------------------------------------------------------------------------------

[](#-license)

This package is open source software licensed under the [MIT License](https://opensource.org/license/mit/).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1017d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3573f5d94edf2edfbdedc4417d5625faba485df8070886fc88a0188a21384791?d=identicon)[remzidalyan](/maintainers/remzidalyan)

---

Top Contributors

[![remzidalyan](https://avatars.githubusercontent.com/u/22560065?v=4)](https://github.com/remzidalyan "remzidalyan (5 commits)")

---

Tags

phpconvertstringlowercaseuppercaseTurkishConvertiontrconvertion turkishconvertion turkish string

### Embed Badge

![Health badge](/badges/netkod-bilisim-tr-string/health.svg)

```
[![Health](https://phpackages.com/badges/netkod-bilisim-tr-string/health.svg)](https://phpackages.com/packages/netkod-bilisim-tr-string)
```

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.4k855.8M711](/packages/doctrine-inflector)[coduo/php-to-string

Simple library that converts PHP value into strings

27112.7M10](/packages/coduo-php-to-string)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
