PHPackages                             farzinft/flog - 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. farzinft/flog

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

farzinft/flog
=============

Customizing Laravel Log

116PHP

Since Dec 15Pushed 8y agoCompare

[ Source](https://github.com/farzinft/flog)[ Packagist](https://packagist.org/packages/farzinft/flog)[ RSS](/packages/farzinft-flog/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

flog
====

[](#flog)

easy way to Customizing laravel log. you can log with custom name, custom format and custom time.

Usage
=====

[](#usage)

Add package to your project

```
composer require farzinft/flog:"dev-master"

```

add service provider:

```
Flog\FlogServiceProvider::class

```

then publish config file

```
php artisan vendor:publish --provider='Flog\FlogServiceProvider'

```

now in flog.php config file you can customize laravel logger and when

you attempt to use log such as Log::info() the logger work as you expect parameters in flog.php configuration file.

```

return [

    /**
     * Log Path
     */
    'log_path' => storage_path('logs/' . kebab_case(config('app.name')) . '.log'),

    /**
     * Log Format
     */
    'log_format' => "%datetime% [%level_name%] (%channel%): %message% %context%\n",

    /**
     * Daily Log Max Files
     */
    'max_files' => 5,

    /**
     * set jalali Date //for persian date
     */
    'jalali_date' => false
];

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7bd93b593dba197ea128bba25fe750f90163d3a6fd2775be66d0828342fe5f14?d=identicon)[farzinft](/maintainers/farzinft)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M263](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M317](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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