Download the PHP package macino/pdbg without Composer

On this page you can find all versions of the php package macino/pdbg. 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 pdbg


PDBG - Php Debugger


:Auhtor: Tomas Macik :Contact: [email protected]

References

Instantination

pdbg(), Pdbg::getInst(), _p()

Returns singleton instance of pdbg class.

Logging and dumping

log(msg), l(msg)

Append a message from msg to log buffer with timestamp prefix.

point([desc]), p([desc])

Appends a check point message to log buffer. Description of check point will be added if present in desc.

dump(var[, desc]), d(var[, desc])

Append an exported variable to log buffer. var_export fce is used to get the exported content of variable. Description of dump will be added if present in desc.

hdump(var[, desc]), hd(var[, desc)

Same as dump, but with syntax highlight in html. Improves readability in browsers but it worsen it in console output.

hdigh()

As `How Do I Get Here`, prints a formatted backtrace to actual position including function itself. It does not dump the objects, only arguments of each function in trace.

Benchmarking

Pdbg can provide multiple benchmarks. Bench marks have their own buffer, so by ending the last started benchmark will be ended. Benchmarsk are messaured in microsecond precission.

bstart([desc]), bs([desc])

Starts a new bechmark and mark it to log buffer with description (default='-').

bench(), b()

Ends the last started benchmark and mark it to log buffer with message containing the duration of the benchmark in miliseconds units.

Flushing the buffer

flush(), fl()

Stops outputbuffer if present. Flushes the content of log buffer to stdout without any surrounding tags and dies. This is good for console debugging.

hflush(), hfl()

Same as flush(), but it uses htmlentities and <pre> tags to format output, so it would be more readable in html output.

fflush([append]), ffl([append])

Flushes the content of log buffer to file pdbg.log without any formatting. If append is true, the content will be appended to the file. Otherwise the file will be overwritten with new content.


All versions of pdbg with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
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 macino/pdbg contains the following files

Loading the files please wait ....