Download the PHP package christianessl/js_logger without Composer

On this page you can find all versions of the php package christianessl/js_logger. 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 js_logger

TYPO3 Extension "js_logger"

JSLogger for TYPO3. Log errors and exceptions users are encountering in the frontend to the TYPO3 backend.

Code Climate Latest Stable Version Total Downloads Latest Unstable Version License

What does it do?

This extension simply logs any javascript errors encountered in your frontend via ajax to the TYPO3 backend. It does this by using the PSR\Log\LoggerInterface, so error logs are automatically sent to the Logger that is configured in your TYPO3 instance. (like FileWriter or SysLogWriter)

Logged info:

This extension uses stacktrace.js for creating readable stacktraces and parsing source maps. This means, that if you use minified js in production and have source maps configured, your logged error stacktrace will automatically show the correct line and column numbers from the unminified file, briefly worded: readable error output.

You can find out more about source maps and how to use them in your javascript here: How_to u se_a_source_map

Requirements

Currently supports 9.5 LTS

1. Installation

Installation with composer

composer require christianessl/js_logger.

Installation with TER

Open the TYPO3 Extension Manager, search for js_logger and install the extension.

2. Configuration

Go to the Template module and include the Static TypoScript Template JS Logger.

3. Usage

Any error encountered in the frontend js should now be automatically be logged to the backend via ajax. Alternatively you can now use console.devlog() in JavaScript to log messages.


All versions of js_logger with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^9.5.0
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 christianessl/js_logger contains the following files

Loading the files please wait ....