apextoolbox/symfony-logger

Apex Toolbox Symfony Bundle

Maintainers

Package info

github.com/apextoolbox/symfony-logger

Homepage

Type:symfony-bundle

pkg:composer/apextoolbox/symfony-logger

Statistics

Installs: 19

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

0.1.0 2026-03-07 17:13 UTC

This package is auto-updated.

Last update: 2026-03-12 11:45:45 UTC


README

PHP Version Symfony

Automatic error tracking, logging, and performance monitoring for Symfony applications.

Installation

composer require apextoolbox/symfony-logger

Register the bundle in config/bundles.php (if not auto-registered):

return [
    // ...
    ApexToolbox\SymfonyLogger\ApexToolboxBundle::class => ['all' => true],
];

Add to .env:

APEX_TOOLBOX_ENABLED=true
APEX_TOOLBOX_TOKEN=your_token_here

Create config/packages/apex_toolbox.yaml:

apex_toolbox:
    enabled: '%env(bool:APEX_TOOLBOX_ENABLED)%'
    token: '%env(resolve:APEX_TOOLBOX_TOKEN)%'

Done! The SDK automatically captures exceptions, logs, and database queries.

Configuration

Environment Variables

Variable Description Default
APEX_TOOLBOX_TOKEN Your project token Required
APEX_TOOLBOX_ENABLED Enable/disable tracking true

Path Filtering

apex_toolbox:
    path_filters:
        include: ['*']
        exclude: ['_debugbar/*', 'telescope/*', 'horizon/*', 'api/health', 'api/ping']

Sensitive Data

Sensitive fields like password, token, authorization are automatically excluded from logs.

Requirements

  • PHP 8.0+
  • Symfony 5.4, 6.x, or 7.x

License

MIT