Download the PHP package neunerlei/dbg-global without Composer
On this page you can find all versions of the php package neunerlei/dbg-global. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download neunerlei/dbg-global
More information about neunerlei/dbg-global
Files in neunerlei/dbg-global
Package dbg-global
Short Description Companion plugin to install the neunerlei/dbg module globally in any composer project
License Apache-2.0
Informations about the package dbg-global
DBG - Debug Helpers - Global Installer
This is a companion plugin to neunerlei/dbg which allows it to be installed globally,
without actually adding it to your composer.json
file. This is an edge case scenario for your work environment in bigger teams.
Installation
Install the plugin globally with:
After you did that you can simply run in the actual project you want to use dbg in.
This will not modify your composer.json
or composer.lock
but you will have all the helper functions
accessible in your code.
Happy debugging.
Shims and disabling them
The plugin will create a shim of the neunerlei/dbg methods in the vendor directory of your local project, so that your IDE can find them for its autocompletion.
If you don't want that to happen you can either disable the shim generation globally:
Alternatively you can disable the shim generation for specific directories as well:
For multiple directories, raise the number after "noShimDirs" for each new directory.
Use: to see the current configuration
Hard copying files
If you don't want to rely on the globally installed plugin, for example in a docker context, you can create hard copies of the installed files in your "vendor" directory as well.
You can either enable them globally:
Alternatively you can create the hard copies with a per-directory configuration
For multiple directories, raise the number after "hardCopyDirs" for each new directory.
Postcardware
You're free to use this package, but if it makes it to your production environment I highly appreciate you sending me a postcard from your hometown, mentioning which of our package(s) you are using.
You can find my address here.
Thank you :D