Download the PHP package mnohosten/tracy-markdown without Composer

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

Tracy Markdown

Tests PHP Version Tracy Version

A Tracy debugger extension that adds a "Copy Markdown" button to error reports. Perfect for AI-assisted development - simply click the button to copy a well-formatted error report that you can paste directly into your AI assistant (Claude, ChatGPT, etc.).

Why Use This?

When developing with AI assistants, providing detailed error context helps get better solutions faster. This extension formats Tracy's error information into clean, readable Markdown that includes:

Installation

Quick Start

Basic PHP Application

Nette Framework

Option 1: Bootstrap file

In your app/bootstrap.php:

Option 2: DI Configuration

In your config/common.neon:

Symfony Framework

In your config/packages/dev/tracy.yaml or bootstrap:

Features

Visual Interface

When an error occurs, a "Copy Markdown" button appears in the top-right corner of Tracy's BlueScreen with:

Markdown Output Sections

The copied Markdown includes all essential debugging information:

1. Error Information

2. Source File

3. Stack Trace

4. Previous Exception

5. HTTP Request (Web Context)

6. Environment

Example Output

Security Features

Automatic Sensitive Data Redaction

The extension automatically detects and redacts sensitive information in POST data to prevent accidental exposure:

Redacted Fields (case-insensitive, partial matching):

Example:

Nested Data Support:

Header Filtering

The following headers are automatically excluded from reports:

Browser Support

The extension uses modern Clipboard API with automatic fallback:

Requirements

Development

Running Tests

Code Coverage

Install a coverage driver:

Generate coverage report:

Test Coverage

The library maintains 100% code coverage with 53 tests and 134 assertions:

See TESTING.md for detailed coverage information.

Static Analysis

Architecture

Class Structure

Extension Points

The library is designed to be extensible:

Troubleshooting

Button Not Appearing

Check Tracy is enabled:

Verify extension is registered:

Copy Not Working

Try the fallback method:

Missing Request Data

CLI mode:

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Write tests for new functionality
  4. Ensure all tests pass (vendor/bin/phpunit)
  5. Maintain 100% code coverage
  6. Commit your changes (git commit -m 'Add amazing feature')
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

Code Style

FAQ

Q: Does this work with Tracy Bar? A: This extension specifically adds functionality to Tracy's BlueScreen (error page). It doesn't modify the Tracy Bar.

Q: Can I customize the Markdown output? A: Currently, the format is fixed. If you need customization, you can extend MarkdownFormatter and override the formatException() method.

Q: Is sensitive data really redacted? A: Yes, the extension uses pattern matching to detect 11 common sensitive field patterns and replaces values with ***REDACTED***. However, always review output before sharing.

Q: What about files uploaded via POST? A: File uploads appear as their metadata only (filename, size, type). File contents are never included.

Q: Can I use this in production? A: Tracy itself should only run in development. This extension follows the same principle - it only activates when Tracy's BlueScreen is shown.

Changelog

See CHANGELOG.md for release history.

License

MIT License - see LICENSE file for details.

Credits

Created by Martin Krizan

Built with:

Support


Happy debugging! 🐛 → 📋 → 🤖


All versions of tracy-markdown with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
tracy/tracy Version ^2.9
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 mnohosten/tracy-markdown contains the following files

Loading the files please wait ...