PHPackages                             spresnac/logcrawler-client - 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. spresnac/logcrawler-client

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

spresnac/logcrawler-client
==========================

Client for logcrawler.de for laravel up to 9.x

3.0.2(1y ago)32.2k2[1 issues](https://github.com/spresnac/logcrawler-client/issues)[1 PRs](https://github.com/spresnac/logcrawler-client/pulls)1MITPHPPHP ^8.1 || ^8.2 || ^8.3

Since Sep 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/spresnac/logcrawler-client)[ Packagist](https://packagist.org/packages/spresnac/logcrawler-client)[ Docs](https://logcrawler.de)[ GitHub Sponsors](https://github.com/sponsors/spresnac)[ Fund](https://www.buymeacoffee.com/spresnac)[ RSS](/packages/spresnac-logcrawler-client/feed)WikiDiscussions release\_2.x Synced today

READMEChangelog (6)Dependencies (5)Versions (33)Used By (1)

Laravel Logcrawler Client
=========================

[](#laravel-logcrawler-client)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![PHP from Packagist](https://camo.githubusercontent.com/4021e73aff51cfe882b032fb2ff4b051508713cfc91f09a04f7ddcc7742258cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73707265736e61632f6c6f67637261776c65722d636c69656e742e737667)](https://camo.githubusercontent.com/4021e73aff51cfe882b032fb2ff4b051508713cfc91f09a04f7ddcc7742258cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73707265736e61632f6c6f67637261776c65722d636c69656e742e737667)[![Downloads](https://camo.githubusercontent.com/6b7ce958b03f471b3292a0945d71201ea362c70a6d686522fdef96252b4a4336/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73707265736e61632f6c6f67637261776c65722d636c69656e742e737667)](https://camo.githubusercontent.com/6b7ce958b03f471b3292a0945d71201ea362c70a6d686522fdef96252b4a4336/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73707265736e61632f6c6f67637261776c65722d636c69656e742e737667)[![StyleCI](https://camo.githubusercontent.com/890ecf39d807a2967a09576ad26206d98d339bc45292ec075787a7b76b353b1b/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3230373235373130342f736869656c64)](https://camo.githubusercontent.com/890ecf39d807a2967a09576ad26206d98d339bc45292ec075787a7b76b353b1b/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3230373235373130342f736869656c64)

Requirement
-----------

[](#requirement)

You will need a free account on [Logcrawler Server](https://logcrawler.de "Logcrawler Server") to be able to use your logcrawler-key here 😉

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

[](#installation)

First things first, require the package

```
composer require spresnac/logcrawler-client

```

Second, publish the default config file

```
php artisan vendor:publish --tag=logcrawlerclient-config

```

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

[](#configuration)

Next, edit your `.env` so you can put your Logcrawler project key

```
LOG_CRAWLER_KEY="place_your_key_here"

```

After this, edit your `/config/logging` and append this at `channels`:

Laravel up to 5.7 (including):

```
'channels' => [
    //...
    'logcrawler' => [
        'driver' => 'monolog',
        'level' => 'debug',
        'handler' => LogCrawler::class,
        'handler_with' => [
            'host' => config('logcrawler.url'),
            'key' => config('logcrawler.key'),
        ],
    ],
    //...
],
```

Laravel 5.8+ and 6.x:

```
'channels' => [
    //...
    'logcrawler' => [
        'driver' => 'monolog',
        'level' => 'debug',
        'handler' => LogCrawler::class,
        'with' => [
            'host' => config('logcrawler.url'),
            'key' => config('logcrawler.key'),
        ],
    ],
    //...
],
```

Last thing, add the `logcrawler` channel to your selected channel, example:

```
'stack' => [
    'driver' => 'stack',
    'channels' => ['daily', 'logcrawler'],
    'ignore_exceptions' => false,
],
```

Sending PHP and laravel version to your server (v2.1.0+ client and server)
--------------------------------------------------------------------------

[](#sending-php-and-laravel-version-to-your-server-v210-client-and-server)

To have an oversight of your installed version, logcrawler-client can send this information to your server. Both must have at least v2.1.0 or higher!

By default, sending this information is set to `false`, you can set each option by itself in your `.env`:

`LOGCRAWLER_INFO_PHP` =&gt; (bool, default false) Send PHP version to your server?

`LOGCRAWLER_INFO_LARAVEL` =&gt; (bool, default false) Send laravel version to your server?

Now, you can run the command or shedule it (once a week or so) as you like in your app.

`php artisan logcrawler:client:sendversions`

Finally
-------

[](#finally)

Now, your logging to Logcrawler is enabled and you can watch your logs. Have fun 😎

Options
-------

[](#options)

### force\_threshold

[](#force_threshold)

By default, logcrawler sends its logs when your php process exits and for default, that is preventing logcrawler from slowing down your app process. In some circumstances, you may wish to like "force sending" logs, i.e. when running in a queue. In this case, you can enable a threshold in your `.env` with

```
LOG_CRAWLER_THRESHOLD=

```

When not present or set to 0 (default), logcrawler only sends reports when your php exits.
All other integer values are your threshold for sending the logs!
Notice: A number too small can slow down your app - try to start with 4

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.1% 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

Every ~67 days

Recently: every ~224 days

Total

28

Last Release

616d ago

Major Versions

0.7.8 → 2.0.0-beta.12022-02-01

2.1.4 → 3.0.02023-04-16

PHP version history (7 changes)v0.1PHP ^7.1

0.7.8PHP ^7.1|^7.2|^7.3|^8.0

2.0.0-beta.1PHP ^8.0

2.0.0-beta.4PHP ^8.0|^8.1

2.1.4PHP ^8.0|^8.1|^8.2

3.0.0PHP ^8.1|^8.2

3.0.2PHP ^8.1 || ^8.2 || ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/04d0510a1a5bdd5707fb726d639d971007e602343c4378f65a56c64fa5638170?d=identicon)[spresnac](/maintainers/spresnac)

---

Top Contributors

[![spresnac](https://avatars.githubusercontent.com/u/3299107?v=4)](https://github.com/spresnac "spresnac (74 commits)")[![dangenendt](https://avatars.githubusercontent.com/u/7514758?v=4)](https://github.com/dangenendt "dangenendt (8 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (3 commits)")[![mend-bolt-for-github[bot]](https://avatars.githubusercontent.com/in/16809?v=4)](https://github.com/mend-bolt-for-github[bot] "mend-bolt-for-github[bot] (1 commits)")[![nehabala](https://avatars.githubusercontent.com/u/29709555?v=4)](https://github.com/nehabala "nehabala (1 commits)")

---

Tags

laravellaravel-6-packagelaravel-packagelogcrawler-serverphplaravellogginglogs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/spresnac-logcrawler-client/health.svg)

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

###  Alternatives

[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2332.0M2](/packages/inspector-apm-inspector-laravel)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.2M](/packages/honeybadger-io-honeybadger-laravel)[cesargb/laravel-logs-rotate

Rotate files log with compression

2652.6k](/packages/cesargb-laravel-logs-rotate)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)

PHPackages © 2026

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