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 4d 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 32% 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

2421d 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

[srmklive/paypal

Laravel plugin For Processing Payments Through Paypal Express Checkout. Can Be Used Independently With Other Applications.

1.1k3.8M26](/packages/srmklive-paypal)[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)[quickbooks/v3-php-sdk

The Official PHP SDK for QuickBooks Online Accounting API

2729.4M29](/packages/quickbooks-v3-php-sdk)[php-http/guzzle7-adapter

Guzzle 7 HTTP Adapter

9057.1M555](/packages/php-http-guzzle7-adapter)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

916.4M49](/packages/graham-campbell-guzzle-factory)[codeception/module-phpbrowser

Codeception module for testing web application over HTTP

6529.8M508](/packages/codeception-module-phpbrowser)

PHPackages © 2026

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