PHPackages                             neunerlei/dbg-global - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. neunerlei/dbg-global

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

neunerlei/dbg-global
====================

Companion plugin to install the neunerlei/dbg module globally in any composer project

1.3.0(1y ago)0165Apache-2.0ShellPHP ^8.3

Since Sep 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Neunerlei/dbg-global)[ Packagist](https://packagist.org/packages/neunerlei/dbg-global)[ RSS](/packages/neunerlei-dbg-global/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (11)Used By (0)

DBG - Debug Helpers - Global Installer
======================================

[](#dbg---debug-helpers---global-installer)

This is a companion plugin to [neunerlei/dbg](https://github.com/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
------------

[](#installation)

Install the plugin *globally* with:

`composer global require neunerlei/dbg-global`

After you did that you can simply run `composer install` 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
------------------------

[](#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: `composer global config extra.neunerleiDevGlobal.noShim true`

Alternatively you can disable the shim generation for specific directories as well: `composer global config extra.neunerleiDevGlobal.noShimDirs.0 /work/project`For multiple directories, raise the number after "noShimDirs" for each new directory.

Use: `composer global config extra.neunerleiDevGlobal` to see the current configuration

Hard copying files
------------------

[](#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: `composer global config extra.neunerleiDevGlobal.hardCopy true`

Alternatively you can create the hard copies with a per-directory configuration `composer global config extra.neunerleiDevGlobal.hardCopyDirs.0 /work/project`For multiple directories, raise the number after "hardCopyDirs" for each new directory.

Postcardware
------------

[](#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](https://www.neunerlei.eu/).

Thank you :D

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance41

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~100 days

Recently: every ~200 days

Total

10

Last Release

494d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0356afb258572c8908df3132ea59545b7642a6b77fd90bc54215e506c42bfb7?d=identicon)[neunerlei](/maintainers/neunerlei)

---

Top Contributors

[![Neunerlei](https://avatars.githubusercontent.com/u/22350956?v=4)](https://github.com/Neunerlei "Neunerlei (19 commits)")

### Embed Badge

![Health badge](/badges/neunerlei-dbg-global/health.svg)

```
[![Health](https://phpackages.com/badges/neunerlei-dbg-global/health.svg)](https://phpackages.com/packages/neunerlei-dbg-global)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74798.8M1.0k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M560](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.7M203](/packages/drupal-core-project-message)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M25](/packages/vaimo-composer-patches)[sandersander/composer-link

Adds ability to link local packages for development with composer

98457.9k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

294.7M340](/packages/phpro-grumphp-shim)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
