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
Requires
- php: >=8.0
- monolog/monolog: ^2.0 || ^3.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- ramsey/uuid: ^4.7
- symfony/config: ^5.4 || ^6.0 || ^7.0
- symfony/console: ^5.4 || ^6.0 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.0 || ^7.0
- symfony/event-dispatcher: ^5.4 || ^6.0 || ^7.0
- symfony/framework-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/http-client: ^5.4 || ^6.0 || ^7.0
- symfony/http-foundation: ^5.4 || ^6.0 || ^7.0
- symfony/http-kernel: ^5.4 || ^6.0 || ^7.0
- symfony/yaml: ^7.0 || ^6.0 || ^5.4
Requires (Dev)
- doctrine/dbal: ^3.0 || ^4.0
- mockery/mockery: ^1.6
- phpunit/phpunit: ^9.0 || ^10.0
- symfony/phpunit-bridge: ^5.4 || ^6.0 || ^7.0
This package is auto-updated.
Last update: 2025-12-12 12:04:00 UTC
README
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