PHPackages                             raysulkobir/logs-laravel - 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. raysulkobir/logs-laravel

ActiveLibrary

raysulkobir/logs-laravel
========================

A basic but lovely log generator for the Laravel package

1.0.0(2y ago)261MITPHPPHP ^8.1

Since Mar 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/raysulkobir/logs-laravel)[ Packagist](https://packagist.org/packages/raysulkobir/logs-laravel)[ RSS](/packages/raysulkobir-logs-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel log generator
---------------------

[](#laravel-log-generator)

A basic but lovely log generator for the Laravel package.

**Requires:** Laravel &gt;= 10.0

**License:** MIT

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

[](#installation)

Begin by installing this package through Composer. Just run following command to terminal-

```
composer require raysulkobir/logs-laravel

```

Configuration
-------------

[](#configuration)

Service Provider Registration In config/app.php, add in providers array -

```
   'providers' => [
          // .........................
          Raysulkobir\LogsLaravel\LogsServiceProvider::class,
   ]

```

Database migration
------------------

[](#database-migration)

```
   php artisan migrate

```

Use from Controller
-------------------

[](#use-from-controller)

Import first the UniqueSlug facade

```
   use Raysulkobir\LogsLaravel\Logger\Logger;

```

Example
-------

[](#example)

// 1st parameter is string table\_name // 2nd parameter is string response // 3rd parameter is integer table\_id default

// This line has been added for clarification

### Logger::logDb('type', \['a', 'b', 'c'\], 100);

[](#loggerlogdbtype-a-b-c-100)

// 1st parameter is string response

#### Logger::logFile('{"Envelope":{"Body":{"Fault":{"faultcode":"soap:Server","detail":{"source":{"errorcode":"protocol.http.TooBigBody"}},"faultstring":"Body buffer overflow","faultactor":{}}},"encodingStyle":""}');

[](#loggerlogfileenvelopebodyfaultfaultcodesoapserverdetailsourceerrorcodeprotocolhttptoobigbodyfaultstringbody-buffer-overflowfaultactorencodingstylehttpschemasxmlsoaporgsoapencoding)

### This logDb

[](#this-logdb)

[![Screenshot_1](https://private-user-images.githubusercontent.com/86109661/316319409-59a1f6d8-8b4d-46ca-8e0e-d878645bfdaf.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyMTQ4NTYsIm5iZiI6MTc3NTIxNDU1NiwicGF0aCI6Ii84NjEwOTY2MS8zMTYzMTk0MDktNTlhMWY2ZDgtOGI0ZC00NmNhLThlMGUtZDg3ODY0NWJmZGFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAzVDExMDkxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2Y2UwZjc1NGMwM2UzZTU0ZjgyOWRhM2UzMzI0YmI5MDIyZjQxN2VjNTA5NDI5MWYyMGM2MzY4ZGMxNjU1NTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yNhnEEaeLbpfcXrq7goMlZE5kFhN1K8Ulyry-BVomVM)](https://private-user-images.githubusercontent.com/86109661/316319409-59a1f6d8-8b4d-46ca-8e0e-d878645bfdaf.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyMTQ4NTYsIm5iZiI6MTc3NTIxNDU1NiwicGF0aCI6Ii84NjEwOTY2MS8zMTYzMTk0MDktNTlhMWY2ZDgtOGI0ZC00NmNhLThlMGUtZDg3ODY0NWJmZGFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAzVDExMDkxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2Y2UwZjc1NGMwM2UzZTU0ZjgyOWRhM2UzMzI0YmI5MDIyZjQxN2VjNTA5NDI5MWYyMGM2MzY4ZGMxNjU1NTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yNhnEEaeLbpfcXrq7goMlZE5kFhN1K8Ulyry-BVomVM)

### This logFile

[](#this-logfile)

[![fileupload](https://private-user-images.githubusercontent.com/86109661/316224243-2bbe6862-f19f-491c-970b-e8c961dce0f7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyMTQ4NTYsIm5iZiI6MTc3NTIxNDU1NiwicGF0aCI6Ii84NjEwOTY2MS8zMTYyMjQyNDMtMmJiZTY4NjItZjE5Zi00OTFjLTk3MGItZThjOTYxZGNlMGY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAzVDExMDkxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiM2MzMDhlOGRkZDk4Njc1ZjkxMDc0ODkwOGVjMDI1NDNiZTc2NDgyYWRlMDAwNGU0Y2JmYTA0MDIyNTc3M2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PlsPV0DWMN5_-XshQDm7m7saapKCkC-Figvafkp16Nk)](https://private-user-images.githubusercontent.com/86109661/316224243-2bbe6862-f19f-491c-970b-e8c961dce0f7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyMTQ4NTYsIm5iZiI6MTc3NTIxNDU1NiwicGF0aCI6Ii84NjEwOTY2MS8zMTYyMjQyNDMtMmJiZTY4NjItZjE5Zi00OTFjLTk3MGItZThjOTYxZGNlMGY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAzVDExMDkxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiM2MzMDhlOGRkZDk4Njc1ZjkxMDc0ODkwOGVjMDI1NDNiZTc2NDgyYWRlMDAwNGU0Y2JmYTA0MDIyNTc3M2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PlsPV0DWMN5_-XshQDm7m7saapKCkC-Figvafkp16Nk)

### Security

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

777d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d491f191128be8f21a03ab25c7893bc66664abe80595316b029ae35dfa59ecc?d=identicon)[Md.Raysul kobir](/maintainers/Md.Raysul%20kobir)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/raysulkobir-logs-laravel/health.svg)

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

PHPackages © 2026

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