Download the PHP package jhuet/zdt-logger-module without Composer

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

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zdt-logger-module

JhuZdtLoggerModule

A ZF3 module to log data using Zend\Log and write them to ZendDeveloperTools toolbar. If you already have a logger in your application (that is an instance of Zend\Log\Logger) it will integrate well with it so you still will only have to use your logger.


Installation

The easiest way is by using composer. Just add "jhuet/zdt-logger-module": "dev-master" (or "jhuet/zdt-logger-module": "0.3" for last stable version) as a requirement in your composer.json file and it will be automatically downloaded next time you do composer.phar update.

If you don't use composer, drop the files of this archive (0.3 here) in your module directory.

Then, add Jhu\ZdtLoggerModule in the list of activated modules of your application.config.php file.

Options

Configuration options are available in config/jhu-zdt-logger.global.php.dist file. If you want to change the default ones, copy it in your config/autoload directory, remove the .dist extension and edit it.

Options available :

Usage

If you don't already have a logger in your application, you may refere to this one any time you need to via the service manager with the jhu.zdt_logger key. Assuming $sm is the service maanger, you could call $sm->get('jhu.zdt_logger')->info('my log'); to log with the INFO priority.

If you already have a logger in your application and you have set it in the options, you just have to use your regular logger as you normally would and anything logged will be added to the ZendDeveloperTools toolbar.

Picture

usage example


All versions of zdt-logger-module with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jhuet/zdt-logger-module contains the following files

Loading the files please wait ...