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

ActiveLibrary

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 2d 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 54% 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

2921d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e29f97e83aa01ee78a15dc3179cb5eb48f5399fb68ae9b1fe6bcf8d9833082c7?d=identicon)[sawyes](/maintainers/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

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[laravel/octane

Supercharge your Laravel application's performance.

4.0k21.5M159](/packages/laravel-octane)[laravel/nightwatch

The official Laravel Nightwatch package.

3486.1M13](/packages/laravel-nightwatch)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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