PHPackages                             cuneytyuksel/turkey-cities - 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. cuneytyuksel/turkey-cities

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

cuneytyuksel/turkey-cities
==========================

Turkey Cities and States - Türkiye İl ve İlçeler (PTT)

1.1.0(3y ago)251.8k4MITPHP

Since Apr 18Pushed 3y ago2 watchersCompare

[ Source](https://github.com/cuneytyuksel/turkey-cities)[ Packagist](https://packagist.org/packages/cuneytyuksel/turkey-cities)[ RSS](/packages/cuneytyuksel-turkey-cities/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

Türkiye İl, ilçe, semt, mahalle ve posta kodu
=============================================

[](#türkiye-i̇l-ilçe-semt-mahalle-ve-posta-kodu)

PTT tarafından sunulan il, ilçe ve mahalle bilgilerinin veritabanı modeli ve bilgilerini laravel paketi olarak ekleyip veritabanına kolayca uygulayabilirsiniz.

Install
-------

[](#install)

config/app.php içerisine service provider sınıfısımızı ekliyoruz.

```
composer require cuneytyuksel/turkey-cities

```

Service Provider
----------------

[](#service-provider)

config/app.php içerisine service provider sınıfısımızı ekliyoruz.

```
/*
 * Turkey Cities
 */
Turkey\Cities\Providers\TurkeyCitiesServiceProvider::class,
```

Vendor Publish
--------------

[](#vendor-publish)

Config dosyasını publish ederek gerekli değişikleri sağlayabilirsiniz. config/turkey-cities.php

```
php artisan vendor:publish --provider="Turkey\Cities\Providers\TurkeyCitiesServiceProvider"

```

Migration
---------

[](#migration)

Veritabanında tabloları oluşturması için migration işlemi uyguluyoruz.

```
php artisan migrate

```

Data Entegrasyonu
-----------------

[](#data-entegrasyonu)

PTT tarafından verilen .xlsx uzantılı doyasımız dahili olarak paket içerisine bulunmaktadır fakat isteğiniz doğrultusunda turkey-cities.php config dosyasından yolunu değişitrip düzenlemiş olduğunuz dosya yolunu gösterebilirsiniz. ()

```
php artisan turkey:cities

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% 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 ~278 days

Recently: every ~430 days

Total

8

Last Release

1365d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/73c9b2f8ee60fd8fb7408bee1f43dd09f56c7781cffe63bd6c55cd07b64446f5?d=identicon)[cuneytyuksel](/maintainers/cuneytyuksel)

---

Top Contributors

[![cuneytyuksel](https://avatars.githubusercontent.com/u/5342493?v=4)](https://github.com/cuneytyuksel "cuneytyuksel (14 commits)")[![murat](https://avatars.githubusercontent.com/u/1137480?v=4)](https://github.com/murat "murat (1 commits)")

---

Tags

laravelstatecityturkeyilceilTurkiyeptt

### Embed Badge

![Health badge](/badges/cuneytyuksel-turkey-cities/health.svg)

```
[![Health](https://phpackages.com/badges/cuneytyuksel-turkey-cities/health.svg)](https://phpackages.com/packages/cuneytyuksel-turkey-cities)
```

###  Alternatives

[sebdesign/laravel-state-machine

Winzou State Machine service provider for Laravel

3401.3M1](/packages/sebdesign-laravel-state-machine)[dougsisk/laravel-country-state

Country &amp; state helper for Laravel.

1681.7M](/packages/dougsisk-laravel-country-state)[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8230.8k](/packages/dipeshsukhia-laravel-country-state-city-data)[iben12/laravel-statable

Statable trait for Laravel Eloquent models

96299.8k1](/packages/iben12-laravel-statable)[epigra/trgeozones

Türkiye İl İlçe Semt Muhit Mahalle ve Posta Kodları Laravel Paketi. Adds Turkish Geographical Zones Support to your project including Cities, Districts and Countries in Turkish

8820.3k](/packages/epigra-trgeozones)[usamamuneerchaudhary/country-city-state

Country City State Data Provider for Laravel 12+

242.6k](/packages/usamamuneerchaudhary-country-city-state)

PHPackages © 2026

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