Download the PHP package bitbabit/magento2-dev-tools without Composer

On this page you can find all versions of the php package bitbabit/magento2-dev-tools. 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 magento2-dev-tools

BitBabit Developer Tools for Magento 2

Latest Stable Version Total Downloads License PHP Version Require Magento GitHub Stars GitHub Issues

Overview

BitBabit Developer Tools is a comprehensive development and debugging suite for Magento 2 that provides real-time performance monitoring, database query profiling, and advanced debugging capabilities. It features a modern, interactive web-based toolbar similar to Symfony's DebugBar or Laravel Debugbar.

Key Features

🔍 Database Query Profiling

⚡ Performance Monitoring

🛡️ Security & Authentication

🌐 Request Analysis

🖥️ Environment Information

🐛 Advanced Debugging

📱 Interactive Web Interface

Installation

Via Composer (Recommended)

If the package is not yet published to Packagist, you can install with explicit version:

Manual Installation

  1. Download the module files
  2. Extract to app/code/BitBabit/DeveloperTools/
  3. Run the following commands:

Quick Setup

After installation, follow these steps to get started:

Monolithic Frontend Widget Activation

To enable the profiler widget and save the API key to cookies for persistent profiling:

This will:

Note: Boot time and memory management features are currently under development, so data may not be 100% accurate.

Configuration

Admin Configuration

Navigate to Stores → Configuration → BitBabit → Developer Tools

Basic Settings

API Security Settings

Console Commands

Enable/Disable Profiler

API Key Management

Usage

Basic Usage

  1. Enable the module in admin configuration
  2. Generate an API key using the console command
  3. Configure your browser to send the debug header:
    • Header: X-Debug-Api-Key
    • Value: Your generated API key
  4. Visit any frontend page to see the toolbar

Browser Extension Integration

The module is designed to work with browser extensions that can inject custom headers:

Programmatic Debug Logging

API Integration

For AJAX requests, profiler data is automatically injected into JSON responses:

Architecture

Core Components

Interfaces

Models

Services

Console Commands

Observers & Plugins

Frontend Components

Data Flow

  1. Request Initialization: HttpLaunchPlugin checks if profiling should be enabled
  2. Data Collection: ComprehensiveProfilerService gathers metrics throughout request
  3. Response Injection: ResponseObserver adds profiler data to output
  4. Frontend Display: JavaScript widget renders interactive toolbar

Security Features

Data Structure

Profiler Data Schema

Frontend Interface

Toolbar Panels

  1. Database Queries: SQL query analysis with parameters and timing
  2. Performance: Execution times, server load, OPcache status
  3. Memory: Current, peak, and real memory usage statistics
  4. Request: HTTP request details, headers, parameters, session
  5. Environment: PHP info, server details, extensions
  6. OPcache: Cache statistics and memory usage
  7. Debug: Custom debug messages with context data

Interactive Features

Browser Extension Support

Chrome Extension Integration

Performance Considerations

Memory Management

Storage Options

Query Optimization

Security Considerations

API Key Security

Access Control

Data Privacy

Troubleshooting

Common Issues

Toolbar Not Appearing

  1. Check if module is enabled: bin/magento module:status BitBabit_DeveloperTools
  2. Verify API key configuration
  3. Ensure correct headers are sent
  4. Check browser console for JavaScript errors

Performance Issues

  1. Increase memory limits
  2. Disable in production environments
  3. Reduce slow query threshold
  4. Monitor server resources

API Key Problems

  1. Regenerate API key: bin/magento bitbabit:devtools:generate-api-key --regenerate
  2. Clear browser storage
  3. Verify header transmission
  4. Check admin configuration

Debug Mode

Enable debug logging in the JavaScript widget:

Log Files

Check Magento logs for profiler-related issues:

Development

Extending the Module

Adding Custom Collectors

Frontend Customization

Testing

Run the included PHPUnit tests:

Test coverage includes:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Support

Changelog

v1.2.0


⚠️ Important: This module is designed for development environments. While it includes security features, it should be thoroughly tested before any production use.


All versions of magento2-dev-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
magento/framework Version ^103.0
magento/module-backend Version ^102.0
magento/module-config Version ^101.0
magento/module-store Version ^101.0
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 bitbabit/magento2-dev-tools contains the following files

Loading the files please wait ...