Download the PHP package dreamcommerce/bugtracker-bundle without Composer
On this page you can find all versions of the php package dreamcommerce/bugtracker-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dreamcommerce/bugtracker-bundle
More information about dreamcommerce/bugtracker-bundle
Files in dreamcommerce/bugtracker-bundle
Package bugtracker-bundle
Short Description DreamCommerce Bugtracker Bundle
License MIT
Informations about the package bugtracker-bundle
DreamCommerce BugTracker Bundle
Changelog
1.7.0
- bump minimum Symfony version to 4.4.13
1.6.0
- bump minimum PHP version to 7.2
- bump minimum Symfony version to 3.4.35 or 4.4
1.5.0
- bump minimum PHP version to 7.1
1.4.0
- added support for extending context for bugtracker collectors
1.3.4
- bump minimum Symfony version to 2.8
- many fixes
1.3.0
- added more tests
- change collector service name to dream_commerce_bug_tracker.< name >_collector
1.2.2
- fixed Doctrine collector
- fixed bundle configuration
1.2.1
- move ContextInterface to dreamcommerce/common-bundle
1.2.0
- library is no longer supported on PHP 5
- added doctrine DBAL types
1.1.2
- added context trait
1.1.1
- improved marking collectors as collected
- fixed custom collector
- added more examples
1.1.0
- added doctrine collector
- added swiftmailer collector
- improved jira collector
Installation (Standalone)
Installing the lib/bundle
Simply run assuming you have installed composer.phar or composer binary:
Additional libraries
If you want to enable other handlers than PSR-3 handler, you must also install additional packages:
JIRA:
Doctrine
Swiftmailer
Installation (In Symfony 4 Application)
Enable the bundle
Enable the bundle in the kernel:
Minimal configuration
Advanced configuration:
Usage
Examples
Doctrine:
Custom
Extending
Bug Tracker can inject additional context to exceptions from other packages without modifying them. These context is visible in logs and it can help diagnose errors. It can be realise by simple service implements suitable interface with special tag. For more information look for below examples.
First you need to create service that implements ContextCollectorExtensionInterface interface Class that implement ContextCollectorExtensionInterface need one method called getAdditionalContext For details look to the interface file
Next step is create our service definition with tag dream_commerce_bug_tracker.collector_extension
Now whenever HttpException will be threw we will see our additional information in log files.
If you want you can use our embeded extensions:
-
ClientIpContextExtension - append to log client ip
-
QueryDataContextExtension - append to log parameters stored in $_GET variable
-
RequestDataContextExtension - append to log parameters stored in $_POST variable
- UserInfoContextExtension - append to log information from security component about current user(login, role, credentials etc.)
Authors
- Michał Korus [email protected]
- Daniel Hornik [email protected]
All versions of bugtracker-bundle with dependencies
psr/log Version ^1.0
psr/http-message Version ^1.0
symfony/debug Version ^4.4.13
webmozart/assert Version ^1.1.0
dreamcommerce/common-bundle Version ^1.0