Download the PHP package phalcon/logentries without Composer

On this page you can find all versions of the php package phalcon/logentries. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of logentries with dependencies

Informations about the package logentries

Phalcon Logentries

Software License Build Status Total Downloads

Phalcon library to connect and make log entries using Logentries. You can adapt it to your own needs or improve it if you want.

Please write us if you have any feedback.



The master branch will always contain the latest stable version. If you wish to check older versions or newer ones currently under development, please switch to the relevant branch.

Get Started


To use this library on your machine, you need at least:

Development requirements:


Install composer in a common location or in your project:

Create the composer.json file as follows:

Run the composer installer:


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.

Then create adapter instance:

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

Adding a Custom Host Name and Host ID sent in your PHP log events

To Set a custom host name that will appear in your PHP log events as Key / Value pairs pass to the Logentries::__constructor the following parameters:

For example:

The host_name param can be left as an empty string, and the Logentries component will automatically attempt to assign a host name from your local host machine and use that as the custom host name.

To set a custom Host ID that will appear in your PHP log events as Key / Value pairs:

Creating a Log

The example below shows how to create a log and add messages to it:


Phosphorum use Codeception unit test.

First you need to re-generate base classes for all suites:

Execute all test with run command:

More details about Console Commands see here.


Phalcon Logentries is open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors

Requires php Version >=5.5
ext-phalcon Version ~2.0

The package phalcon/logentries contains the following files

Loading the files please wait ....