PHPackages                             codedefective/quake-turkey - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. codedefective/quake-turkey

ActiveLibrary[HTTP &amp; Networking](/categories/http)

codedefective/quake-turkey
==========================

Latest quake information for Turkey

1.0.0(6y ago)34MITPHPPHP &gt;=7.2

Since Sep 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/codedefective/quake-turkey)[ Packagist](https://packagist.org/packages/codedefective/quake-turkey)[ Docs](https://erdemakbulut.com.tr/quakeTurkey)[ RSS](/packages/codedefective-quake-turkey/feed)WikiDiscussions master Synced 3w ago

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

Codedefective, QuakeTurkey API
==============================

[](#codedefective-quaketurkey-api)

"QuakeTurkey" you can follow the recent earthquake in Turkey and filter data.

- Data are collected from **Boğaziçi University Kandilli Observatory AND Earthquake Research Institute**.
- You can list up to 500 data.
- You can set the data limit.
- You can group data by Date and Location.
- You can adjust the data by date, location and size.

Installing QuakeTurkey
----------------------

[](#installing-quaketurkey)

The recommended way to install QuakeTurkey is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of QuakeTurkey:

```
php composer.phar require codedefective/quakeTurkey
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update QuakeTurkey using composer:

```
php composer.phar update
```

### Quake Turkey on Using

[](#quake-turkey-on-using)

```
require 'vendor/autoload.php';

//if you're working with the clone you should add this
require 'inc.php';
use codedefective\quakeTurkey;

$quakes = new quakeTurkey();

//All data (max 500)
$quakes->getList();

//Limited data (ex:15)
$quakes->limit(15);

//To group by location;
$quakes->groupByLocation()->getList();
//json response;
$quakes->groupByLocation()->toJson()->getList();

//To group by date;
$quakes->groupByDate()->getList();
//json response;
$quakes->groupByDate()->toJson()->getList();

//To sort by date;
$quakes->sortByDate()->getList();
//json response;
$quakes->sortByDate()->toJson()->getList();

//To sort by location;
$quakes->sortByLocation()->getList();
//json response;
$quakes->sortByLocation()->toJson()->getList();

//To sort by size;
$type = 'ml'; // default type ml (ml, md,mw)
$quakes->sortBySize($type)->getList();
//json response;
$quakes->sortBySize()->toJson()->getList();

//graph (experimental)
$quakes->limit(6)->createGraphic();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2468d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42773632?v=4)[Erdem AKBULUT](/maintainers/codedefective)[@codedefective](https://github.com/codedefective)

---

Top Contributors

[![codedefective](https://avatars.githubusercontent.com/u/42773632?v=4)](https://github.com/codedefective "codedefective (1 commits)")

---

Tags

httpturkeyquakedeprem

### Embed Badge

![Health badge](/badges/codedefective-quake-turkey/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[quickbooks/v3-php-sdk

The Official PHP SDK for QuickBooks Online Accounting API

28210.6M33](/packages/quickbooks-v3-php-sdk)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

927.0M55](/packages/graham-campbell-guzzle-factory)

PHPackages © 2026

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