PHPackages                             enestelli/yii2-oyun-modul - 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. enestelli/yii2-oyun-modul

ActiveYii2-extension

enestelli/yii2-oyun-modul
=========================

Yii2 Oyun Modulu

11PHP

Since Jan 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/enestelli2000/yii2-oyun-modul)[ Packagist](https://packagist.org/packages/enestelli/yii2-oyun-modul)[ RSS](/packages/enestelli-yii2-oyun-modul/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Oyun Modülü - Enes Telli
=============================

[](#yii2-oyun-modülü---enes-telli)

Hakkında
--------

[](#hakkında)

Bu modül aracılığıyla türlerine göre oyunlar oluşturulabilir. Oluşturulacak olan oyunların görünürde dört özelliği bulunmaktadır. Bunlar; `isim`, `yayımcı`, `yayım yılı` ve `tür`'dür.

Kurulum
-------

[](#kurulum)

Öncelikle boş bir projeye sahip olmanız gerekmektedir. Bunun için composer kurulu kabul edilmiştir. Eğer sahip değilseniz [buradan](https://getcomposer.org/) indirebilirsiniz. Sonrasında aşağıdaki komut ile yeni bir proje oluşturabilirsiniz.

```
composer create-project --prefer-dist yiisoft/yii2-app-advanced advanced
```

Sonrasında projenizin ana dizinine gidiniz ve aşağıdaki komutu çalıştırarak modül kurulumunu gerçekleştiriniz.

```
composer require --prefer-dist enestelli/yii2-oyun-modul "dev-main"
```

Sonrasında `backend\config` dizinindeki `main.php` dosyasını düzenlemek için açınız. Aşağıda gösterildiği şekilde düzenlemeyi yaparak modülü ekleyiniz.

```
'modules' => [
    'Oyun' => [
        'class' => 'enestelli\Oyun\Module',
    ],
],

```

Modülün başarılı bir şekilde çalışması için migration işleminin yapılması şarttır. Aşağıdaki komut ile migration işlemi gerçekleştirilmelidir.

```
php yii migrate/up --migrationPath=@vendor/enestelli/yii2-oyun-modul/src/migrations
```

Bu adımı da tamamladıktan sonra modül çalışır vaziyettedir. Herhangi bir tarayıcıda aşağıdaki adrese gidildiğinde modül açılacaktır.

```
siteAdresi/backend/web/index.php?r=Oyun/oyun
```

Migrations
----------

[](#migrations)

Modül içerisindeki migration dosyasında `oyun` ve `oyuntur` adında 2 adet tablo bulunmaktadır. `oyun` tablosundaki `tur` özelliği, `oyuntur` tablosunun tek özelliği olan `tur`'den gelmektedir. Buradaki ilişki için foreign key kullanılmıştır ve gerekli indeksleme yapılmıştır.

Ekran Fotoğrafları
------------------

[](#ekran-fotoğrafları)

#### Tablolar Arası İlişki

[](#tablolar-arası-i̇lişki)

[![](https://user-images.githubusercontent.com/55920002/104820616-1d27c500-5847-11eb-88f0-b23171a6d24f.png)](https://user-images.githubusercontent.com/55920002/104820616-1d27c500-5847-11eb-88f0-b23171a6d24f.png)

#### Yeni Oyun Oluşturma

[](#yeni-oyun-oluşturma)

[![](https://user-images.githubusercontent.com/55920002/104820392-7131aa00-5845-11eb-800d-e33846e83b53.png)](https://user-images.githubusercontent.com/55920002/104820392-7131aa00-5845-11eb-800d-e33846e83b53.png)

#### Seçilebilecek Oyun Türleri

[](#seçilebilecek-oyun-türleri)

[![](https://user-images.githubusercontent.com/55920002/104820529-4b58d500-5846-11eb-9fb2-e060b6a9422b.png)](https://user-images.githubusercontent.com/55920002/104820529-4b58d500-5846-11eb-9fb2-e060b6a9422b.png)

#### Oluşturulan Oyunun Gösterilmesi

[](#oluşturulan-oyunun-gösterilmesi)

[![](https://user-images.githubusercontent.com/55920002/104820397-72fb6d80-5845-11eb-927e-6ed70115dc39.png)](https://user-images.githubusercontent.com/55920002/104820397-72fb6d80-5845-11eb-927e-6ed70115dc39.png)

#### Oluşturulan Bütün Oyunların Gösterilmesi

[](#oluşturulan-bütün-oyunların-gösterilmesi)

[![](https://user-images.githubusercontent.com/55920002/104820502-1056a180-5846-11eb-9e71-b1179e1d5543.png)](https://user-images.githubusercontent.com/55920002/104820502-1056a180-5846-11eb-9e71-b1179e1d5543.png)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4390de536409bb1ed89aeb990d359d648d059b1c606acb7b34b6ceabe0ba1ede?d=identicon)[enestelli](/maintainers/enestelli)

---

Top Contributors

[![enes-telli](https://avatars.githubusercontent.com/u/55920002?v=4)](https://github.com/enes-telli "enes-telli (8 commits)")

### Embed Badge

![Health badge](/badges/enestelli-yii2-oyun-modul/health.svg)

```
[![Health](https://phpackages.com/badges/enestelli-yii2-oyun-modul/health.svg)](https://phpackages.com/packages/enestelli-yii2-oyun-modul)
```

PHPackages © 2026

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