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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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


All versions of dbg-global with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version ^1.0 || ^2.0
neunerlei/filesystem Version ^5.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package neunerlei/dbg-global contains the following files

Loading the files please wait ....