PHPackages                             sistemtakip/sdk - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. sistemtakip/sdk

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

sistemtakip/sdk
===============

SistemTakip PHP SDK — Projelerinizden log ve bildirim gönderin

0.1.0(3mo ago)0143↓27.3%MITPHPPHP ^8.1

Since Mar 25Pushed 3mo agoCompare

[ Source](https://github.com/Pariette-Inc/sistemtakip.php.sdk)[ Packagist](https://packagist.org/packages/sistemtakip/sdk)[ RSS](/packages/sistemtakip-sdk/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

sistemtakip/sdk
===============

[](#sistemtakipsdk)

SistemTakip PHP SDK. Laravel ve vanilla PHP projelerinizden log, uyarı ve bildirim gönderin.

Kurulum
-------

[](#kurulum)

```
composer require sistemtakip/sdk
```

Laravel Kurulumu
----------------

[](#laravel-kurulumu)

Paket, Laravel'in **package auto-discovery** özelliği ile otomatik olarak kayıt edilir. Ekstra yapılandırma gerekmez.

Config dosyasını yayınlamak için:

```
php artisan vendor:publish --tag=sistemtakip-config
```

`.env` dosyanıza API anahtarınızı ekleyin:

```
SISTEMTAKIP_API_KEY=st_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

Kullanım — Laravel (Facade)
---------------------------

[](#kullanım--laravel-facade)

```
use SistemTakip\Sdk\Facades\SistemTakip;

// Bilgi
SistemTakip::info('Kullanıcı kaydı', 'Yeni kullanıcı oluşturuldu: ahmet@ornek.com');

// Uyarı
SistemTakip::warn('Disk doluluk', 'Disk kullanımı %85 seviyesine ulaştı');

// Hata
SistemTakip::error('DB Hatası', 'MySQL bağlantısı kurulamadı');

// Kritik (sesli + yüksek öncelikli push)
SistemTakip::critical('Servis Çöktü', 'Ödeme servisi yanıt vermiyor');

// Onay / Başarı
SistemTakip::confirm('Deploy Tamamlandı', 'v2.1.0 canlı ortama alındı');

// Debug
SistemTakip::debug('Cache Miss', 'Ürün listesi cache\'de bulunamadı');

// Özel seviye
SistemTakip::send('Özel Başlık', 'Mesaj', 'warn');
```

Kullanım — Laravel (Dependency Injection)
-----------------------------------------

[](#kullanım--laravel-dependency-injection)

```
use SistemTakip\Sdk\SistemTakip;

class OrderController extends Controller
{
    public function __construct(private SistemTakip $st) {}

    public function store(Request $request)
    {
        // ... sipariş işlemleri

        $this->st->confirm('Yeni Sipariş', "Sipariş #{$order->id} oluşturuldu");
    }
}
```

Kullanım — Vanilla PHP
----------------------

[](#kullanım--vanilla-php)

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

use SistemTakip\Sdk\SistemTakip;

$st = new SistemTakip('st_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');

$st->error('Kritik Hata', 'Sunucu belleği doldu');
$st->confirm('Yedek Tamamlandı', 'Veritabanı yedeği başarıyla alındı');
```

Gerçek Dünya Örnekleri
----------------------

[](#gerçek-dünya-örnekleri)

### Exception Handler (Laravel)

[](#exception-handler-laravel)

```
// app/Exceptions/Handler.php
use SistemTakip\Sdk\Facades\SistemTakip;

public function register(): void
{
    $this->reportable(function (Throwable $e) {
        if ($this->shouldReport($e)) {
            SistemTakip::error(
                get_class($e),
                $e->getMessage() . ' — ' . $e->getFile() . ':' . $e->getLine()
            );
        }
    });
}
```

### Queue Job Başarı/Başarısız

[](#queue-job-başarıbaşarısız)

```
use SistemTakip\Sdk\Facades\SistemTakip;

class ProcessPaymentJob implements ShouldQueue
{
    public function handle(): void
    {
        // ... ödeme işlemi
        SistemTakip::confirm('Ödeme İşlendi', "Sipariş #{$this->orderId} ödeme başarılı");
    }

    public function failed(Throwable $e): void
    {
        SistemTakip::critical('Ödeme Başarısız', "Sipariş #{$this->orderId}: {$e->getMessage()}");
    }
}
```

### Scheduled Task Takibi

[](#scheduled-task-takibi)

```
// routes/console.php
use SistemTakip\Sdk\Facades\SistemTakip;

Schedule::call(function () {
    // ... görev
    SistemTakip::info('Cron Çalıştı', 'Günlük rapor oluşturuldu');
})->daily();
```

Log Seviyeleri
--------------

[](#log-seviyeleri)

SeviyeKullanımPush Önceliği`info`Bilgilendirme, başarı loglarıNormal`warn`Dikkat gerektiren durumlarNormal`error`Hatalar, başarısız işlemlerYüksek`critical`Sistem çöküşleri, acil durumlarKritik (sesli)`confirm`Onay, tamamlama bildirimleriNormal`debug`Geliştirme amaçlı loglarNormalHata Yönetimi
-------------

[](#hata-yönetimi)

```
use SistemTakip\Sdk\SistemTakipException;

try {
    SistemTakip::error('Test', 'Mesaj');
} catch (SistemTakipException $e) {
    echo $e->getMessage();    // API hata mesajı
    echo $e->statusCode;      // HTTP durum kodu
    var_dump($e->details);    // API yanıt detayları
}
```

Gereksinimler
-------------

[](#gereksinimler)

- PHP 8.1+
- guzzlehttp/guzzle ^7.0

Lisans
------

[](#lisans)

MIT

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance82

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

93d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36ee6bd5f3f50759bc87a02fe8d91ecf67f75f60758bbd7bd5f1798d4d72ee43?d=identicon)[Pariette](/maintainers/Pariette)

---

Top Contributors

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

---

Tags

laravelloggingmonitoringsdknotificationalertsistemtakip

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sistemtakip-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/sistemtakip-sdk/health.svg)](https://phpackages.com/packages/sistemtakip-sdk)
```

###  Alternatives

[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

26927.9k](/packages/saasscaleup-laravel-log-alarm)[osa-eg/laravel-teams-notification

A Laravel package to send notifications to Microsoft Teams

71302.1k4](/packages/osa-eg-laravel-teams-notification)

PHPackages © 2026

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