PHPackages                             x-laravel/str-tr-extend - 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. x-laravel/str-tr-extend

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

x-laravel/str-tr-extend
=======================

Extends Laravel Str Facade with X-Adam/string package.

v1.0.0(5y ago)0431MITPHPPHP &gt;=7.0

Since Dec 16Pushed 5y agoCompare

[ Source](https://github.com/X-Laravel/str-tr-extend)[ Packagist](https://packagist.org/packages/x-laravel/str-tr-extend)[ RSS](/packages/x-laravel-str-tr-extend/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

Laravel Str Facade TR Extend
============================

[](#laravel-str-facade-tr-extend)

[![Latest Stable Version](https://camo.githubusercontent.com/272f1daf2a1b28c7064a7e6a64b521d49a3b801ea1e3324f2a1731a1210f8bdd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f582d4c61726176656c2f7374722d74722d657874656e64)](https://packagist.org/packages/X-Laravel/str-tr-extend)[![Total Downloads](https://camo.githubusercontent.com/0a8db0e6196cfb1ee5b63da6987822ef9fb48c1e755b301e6cd93568ac174182/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f582d4c61726176656c2f7374722d74722d657874656e64)](https://packagist.org/packages/X-Laravel/str-tr-extend)[![Dependents](https://camo.githubusercontent.com/f7a121e28266c17ac2843e530b3567a3a123a61b2d7775524e064d1999040cab/68747470733a2f2f706f7365722e707567782e6f72672f582d4c61726176656c2f7374722d74722d657874656e642f646570656e64656e74732e737667)](https://packagist.org/packages/X-Laravel/str-tr-extend)[![License](https://camo.githubusercontent.com/f9d1012038c2dbcea111f13c5b4f47fe36fe4901157cc2cf586ae05392d0e65e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f582d4c61726176656c2f7374722d74722d657874656e64)](https://packagist.org/packages/X-Laravel/str-tr-extend)

[![](https://camo.githubusercontent.com/16d661ebaeb4dd6d1ae4012c23f03af28a1c91e75509c000a4fa5440e68e8bd9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f582d4c61726176656c2f7374722d74722d657874656e642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572 "Scrutinizer Code Quality")](https://scrutinizer-ci.com/g/X-Laravel/str-tr-extend/build-status/master)[![StyleCI](https://camo.githubusercontent.com/b58f31d7a01cbf3844b1e28fe3ca824d63ff1fa27a6747fae5a2676018a9e76d/68747470733a2f2f7374796c6563692e696f2f7265706f732f3332323030313033342f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/322001034)

Introduction
------------

[](#introduction)

Extends Laravel Str Facade with X-Adam/string package.

It provides auxiliary functions to solve the problem of Turkish characters when converting text to lowercase and uppercase in php.

Requirements
------------

[](#requirements)

PHP &gt;=7.0. Other than that, this library has no requirements.

Install
-------

[](#install)

```
$ composer require x-laravel/str-tr-extend
```

Example Usage
-------------

[](#example-usage)

```
# Make a string uppercase
echo Str::trUpper('Yalnızlık insanlara çok şey öğretirmiş. Ama sen gitme cahil kalayım.');
# Result: YALNIZLIK İNSANLARA ÇOK ŞEY ÖĞRETİRMİŞ. AMA SEN GİTME CAHİL KALAYIM.

# Make a string lowercase
echo Str::trLower('YALNIZLIK İNSANLARA ÇOK ŞEY ÖĞRETİRMİŞ. AMA SEN GİTME CAHİL KALAYIM.');
# Result: yalnızlık insanlara çok şey öğretirmiş. ama sen gitme cahil kalayım.

# Make a string's first character uppercase
echo Str::trUcFirst('yalnızlık insanlara çok şey öğretirmiş. ama sen gitme cahil kalayım.');
# Result: Yalnızlık insanlara çok şey öğretirmiş. ama sen gitme cahil kalayım.

# Make a string's first character lowercase
echo Str::trLcFirst('Yalnızlık insanlara çok şey öğretirmiş. ama sen gitme cahil kalayım.');
# Result: yalnızlık insanlara çok şey öğretirmiş. ama sen gitme cahil kalayım.

# Uppercase the first character of each word in a string
echo Str::trUcWords('yalnızlık insanlara çok şey öğretirmiş. ama sen gitme cahil kalayım.');
# Result: Yalnızlık İnsanlara Çok Şey Öğretirmiş. Ama Sen Gitme Cahil Kalayım.
```

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Every ~0 days

Total

2

Last Release

1973d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bdb64c6c087c331b8bd5906bb1aa7eb06bc83af3654a48ba8ab9da365976651?d=identicon)[X-Adam](/maintainers/X-Adam)

---

Top Contributors

[![X-Adam](https://avatars.githubusercontent.com/u/60411758?v=4)](https://github.com/X-Adam "X-Adam (2 commits)")

### Embed Badge

![Health badge](/badges/x-laravel-str-tr-extend/health.svg)

```
[![Health](https://phpackages.com/badges/x-laravel-str-tr-extend/health.svg)](https://phpackages.com/packages/x-laravel-str-tr-extend)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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