PHPackages                             ematos/logentries\_test - 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. ematos/logentries\_test

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

ematos/logentries\_test
=======================

Logging library for use with Logentries

0.0.1(12y ago)0171PHP

Since May 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/eduardo-matos/le_php)[ Packagist](https://packagist.org/packages/ematos/logentries_test)[ RSS](/packages/ematos-logentries-test/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Logging to Logentries with Php
==============================

[](#logging-to-logentries-with-php)

With these simple steps you can send your Php application logs to Logentries.

Firsly you must register an account on Logentries.com, this only takes a few seconds.

Logentries Setup
----------------

[](#logentries-setup)

When you have made your account on Logentries. Log in and create a new host with a name that best represents your app.

Then, click on your new host and inside that, create a new log file with a name that represents what you are logging,

example: 'myerrors'. Bear in mind, these names are purely for your own benefit. Under source type, select Token TCP

and click Register. You will notice a token appear beside the name of the log, these is a unique identifier that the logging

library will use to access that logfile. You can copy and paste this now or later.

Parameter Setup
---------------

[](#parameter-setup)

Download this repo as a ZIP file and unzip it into your app's directroy.

Inside the `le_php-master` folder, open `logentries.php` as you need to fill in a parameter, `LOGENTRIES_TOKEN`.

`LOGENTRIES_TOKEN` is the token we copied earlier from the Logentries UI. It associates that logger with the log file on Logentries.

Code Setup
----------

[](#code-setup)

Now you need to download the library from the Downloads Tab, unzip and place the folder in your apps directory.

To use it in your code, enter the following lines, making changes accordingly if you place it in a different location.

```
require dirname(__FILE__) . '/le_php-master/logentries.php';

// The following levels are available
$log->Debug(" ");
$log->Info(" ");
$log->Notice(" ");
$log->Warn(" ");
$log->Crit(" ");
$log->Error(" ");
$log->Alert(" ");
$log->Emerg(" ");

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

4380d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6176632859e6d48051d75a9f48429a808c15005b9a473673c8ee75c32bd0c90c?d=identicon)[eduardo-matos](/maintainers/eduardo-matos)

---

Top Contributors

[![MarkLC-r7](https://avatars.githubusercontent.com/u/837094?v=4)](https://github.com/MarkLC-r7 "MarkLC-r7 (38 commits)")[![4d47](https://avatars.githubusercontent.com/u/729919?v=4)](https://github.com/4d47 "4d47 (1 commits)")[![sylwit](https://avatars.githubusercontent.com/u/395413?v=4)](https://github.com/sylwit "sylwit (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ematos-logentries-test/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M93](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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