PHPackages                             sawyes/sawyes - 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. sawyes/sawyes

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

sawyes/sawyes
=============

laravel project to log every daily

v1.1.7(8y ago)1207MITPHPPHP &gt;=5.4.0

Since Oct 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sawyes/sawyes)[ Packagist](https://packagist.org/packages/sawyes/sawyes)[ Docs](https://github.com/sawyes/sawyes)[ RSS](/packages/sawyes-sawyes/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

Some libary for dev in laravel 5.\*
===================================

[](#some-libary-for-dev-in-laravel-5)

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

[](#installation)

```
composer require sawyes/sawyes

```

Basic Usage
-----------

[](#basic-usage)

#### 1.LoggerHelper

[](#1loggerhelper)

- import namespace in your program

```
use Sawyes\Log\LoggerHelper;

```

- usage

```
// write('message', array(), 'log-file-name');
LoggerHelper::write('Login info:', ['username'=>'Admin', 'password'], 'logger');

```

then you can find log file

> path/to/project/storage/log/logger-2017-10-12.log

```
[2017-10-12 14:22:54] local.DEBUG: file: web.php line: 16 message: Login info: {"username":"Admin","0":"password"}

```

#### 2.Log SQL Service Provider

[](#2log-sql-service-provider)

- add provider services in config/app.php

> laravel &gt;=5.5 skip this step .

```
'providers' => [
    ...
    Sawyes\LogSqlServiceProvider::class,
    ...
    ]

```

- publishes config to enable log

&lt;= 5.4

```
php artisan vendor:publish --tag='Sawyes\LogSqlServiceProvider'

```

> 5.4 check package php artisan package:discover , then run below command choice Sawyes\\LogSqlServiceProvider

```
php artisan vendor:publish

```

- configure env file write APP\_DEBUG\_LOG=true in your .env file

now your can find log file in your storage path!

#### 3. schedule run lists

[](#3-schedule-run-lists)

- add provider services in config/app.php

> laravel &gt;=5.5 skip this step .

```
'providers' => [
    ...
    Sawyes\SchedulelistServiceProvider::class,
    ...
    ]

```

- show schedule list

```
php artisan schedule:detail

```

- publishes config to enable log

> you can skip thie step, it's save schedule:detail in database using config file

&lt;= 5.4

```
php artisan vendor:publish --tag='Sawyes\SchedulelistServiceProvider'

```

> 5.4 check package php artisan package:discover , then run below command choice Sawyes\\LogSqlServiceProvider

```
php artisan vendor:publish

```

you need to determine connection name, schedule list table, schedule detail list table

run below command save schedule list when end of day.

```
schedule:detail --database=true --start=tomorrow

```

happy hacking!

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

2968d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13681127?v=4)[sawyes](/maintainers/sawyes)[@sawyes](https://github.com/sawyes)

---

Tags

laravel log daily

### Embed Badge

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

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[spatie/flare-client-php

Send PHP errors to Flare

177156.9M21](/packages/spatie-flare-client-php)[laravel/nightwatch

The official Laravel Nightwatch package.

3618.7M33](/packages/laravel-nightwatch)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k58](/packages/open-dxp-opendxp)

PHPackages © 2026

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