PHPackages                             fadyandrawes/siteguard-logger - 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. fadyandrawes/siteguard-logger

ActiveLibrary

fadyandrawes/siteguard-logger
=============================

Logger for Siteguard integration

1.0.x-dev(today)03↑2900%MITPHPPHP ^8.3

Since Jul 30Pushed todayCompare

[ Source](https://github.com/fadyelgendy/siteguard-logger)[ Packagist](https://packagist.org/packages/fadyandrawes/siteguard-logger)[ Docs](https://github.com/fadyandrawes/siteguard-logger)[ RSS](/packages/fadyandrawes-siteguard-logger/feed)WikiDiscussions 1.0 Synced today

READMEChangelogDependencies (9)Versions (3)Used By (0)

Siteguard Logger
================

[](#siteguard-logger)

 [![Packagist](https://camo.githubusercontent.com/1356358daa67f4ef230c81f905e3f4aa645b634862a7b7b6cf2e5d2a0348dd37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66616479616e6472617765732f7369746567756172642d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fadyandrawes/siteguard-logger) [![PHP from Packagist](https://camo.githubusercontent.com/c09cdd937850ee556f8c88c34c9de65f80b05fe964b2254282ce8407286cb3a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f66616479616e6472617765732f7369746567756172642d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fadyandrawes/siteguard-logger) [![Laravel versions](https://camo.githubusercontent.com/a879a75452fce799148e2895df42e9faa5a7adeba74e2d3371b4ae36e2012f82/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f66616479616e6472617765732f7369746567756172642d6c6f676765723f7374796c653d666c6174)](https://packagist.org/packages/fadyandrawes/siteguard-logger) [![GitHub Workflow Status (main)](https://camo.githubusercontent.com/b81651057b12bc1a06e78cb73b174c028cd8b5494f378dd8a7b10230cb869acf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f66616479616e6472617765732f7369746567756172642d6c6f676765722f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473267374796c653d666c61742d737175617265)](https://github.com/fadyandrawes/siteguard-logger/actions) [![Total Downloads](https://camo.githubusercontent.com/7555d7b7ba0a49e540ecd6c8f9f267acb4fbbe5bda6ff36e60500307683cbc3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66616479616e6472617765732f7369746567756172642d6c6f676765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fadyandrawes/siteguard-logger)

Logger for Siteguard integration

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require fadyandrawes/siteguard-logger
```

You may publish all of the package's resources at once:

```
php artisan vendor:publish --tag="siteguard-logger"
```

Or, you may publish each resource individually:

### Publishing the Configuration File

[](#publishing-the-configuration-file)

```
php artisan vendor:publish --tag="siteguard-logger-config"
```

Usage
-----

[](#usage)

The package registers a `siteguard` log channel that ships log records to your Siteguard API endpoint. Configure it through environment variables:

```
SITEGUARD_API_KEY=your-secret-api-key
SITEGUARD_ENDPOINT=https://your-siteguard-instance.test/api/logs
SITEGUARD_LEVEL=debug
```

Send logs to the channel explicitly:

```
use Illuminate\Support\Facades\Log;

Log::channel('siteguard')->info('User signed in', ['user' => 42]);
```

Or make it the default channel by setting `LOG_CHANNEL=siteguard` in your application's `.env`, after which `Log::info(...)`, Laravel's exception handler, and all framework logging will flow to Siteguard.

> The handler ships records asynchronously with a short timeout and silently falls back to `error_log()` if the API is unreachable, so logging never breaks your application.

Contributing
------------

[](#contributing)

Thank you for considering contributing to Siteguard Logger! Please review our [contributing guide](.github/CONTRIBUTING.md) to get started.

Credits
-------

[](#credits)

- [Fady G Andrawes](https://github.com/fadyandrawes)
- [All Contributors](../../contributors)

License
-------

[](#license)

Siteguard Logger is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~0 days

Total

2

Last Release

0d ago

Major Versions

v0.0.1.x-dev → 1.0.x-dev2026-07-30

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35309913?v=4)[Fady Gendy Andrawes](/maintainers/fadyelgendy)[@fadyelgendy](https://github.com/fadyelgendy)

---

Top Contributors

[![joetannenbaum](https://avatars.githubusercontent.com/u/2702148?v=4)](https://github.com/joetannenbaum "joetannenbaum (57 commits)")[![WendellAdriel](https://avatars.githubusercontent.com/u/11641518?v=4)](https://github.com/WendellAdriel "WendellAdriel (47 commits)")[![fadyelgendy](https://avatars.githubusercontent.com/u/35309913?v=4)](https://github.com/fadyelgendy "fadyelgendy (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (4 commits)")[![wilsenhc](https://avatars.githubusercontent.com/u/13445515?v=4)](https://github.com/wilsenhc "wilsenhc (1 commits)")[![jackbayliss](https://avatars.githubusercontent.com/u/13621738?v=4)](https://github.com/jackbayliss "jackbayliss (1 commits)")[![pushpak1300](https://avatars.githubusercontent.com/u/31663512?v=4)](https://github.com/pushpak1300 "pushpak1300 (1 commits)")[![Button99](https://avatars.githubusercontent.com/u/56029580?v=4)](https://github.com/Button99 "Button99 (1 commits)")

---

Tags

laravelfadyandrawessiteguard-logger

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/fadyandrawes-siteguard-logger/health.svg)

```
[![Health](https://phpackages.com/badges/fadyandrawes-siteguard-logger/health.svg)](https://phpackages.com/packages/fadyandrawes-siteguard-logger)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M348](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)

PHPackages © 2026

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