apextoolbox/symfony-logger

Apex Toolbox Symfony Bundle

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/apextoolbox/symfony-logger

dev-main / 2.x-dev 2025-12-12 12:03 UTC

This package is auto-updated.

Last update: 2025-12-12 12:04:00 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: ['_profiler/*', '_wdt/*']

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