Download the PHP package helhum/sentry-typo3 without Composer

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

Sentry TYPO3 Integration

Exception and error logging with Sentry, see https://sentry.io

Sentry provides open-source and hosted error monitoring that helps all software teams discover, triage, and prioritize errors in real-time.

Sentry is available as SaaS including a free plan for developers or as download for self-hosting.

This package is a wrapper for https://github.com/getsentry/sentry-php

Installation

Configuration

Set the dsn in your global configuration:

It is possible to change / add other Sentry options like this:

Since the integration is purely done with log writers, make sure you add at least one writer. It is recommended to add a global writer as follows:

To get additional information for each error/warning logged, add the breadcrumb writer as well

If you want to have different environments to filter by in Sentry, you can set them like this:

Where should I put the configuration?

This package expects settings to be exposed in main TYPO3 configuration (aka `TYPO3_CONF_VARS). How you expose it, totally depends on your use case, your deployment strategy and project structure.

This means: Put the configuration in either LocalConfiguration.php or AdditionalConfiguration.php depending on your needs and structure of your project.

How to test the connection to Sentry?

Run typo3 sentry:test cli command, that is provided and some messages should be reported to the configured Sentry endpoint.

Improvements / Issues

This package is managed on GitHub. Feel free to get in touch at https://github.com/helhum/sentry-typo3


All versions of sentry-typo3 with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
helhum/php-error-reporting Version ^1.0
sentry/sdk Version ^3.3
php-http/guzzle7-adapter Version ^1.0
typo3/cms-core Version ^11.5
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 helhum/sentry-typo3 contains the following files

Loading the files please wait ....