jbzoo/toolbox-dev 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jbzoo/toolbox-dev

最新稳定版本:7.3.0

Composer 安装命令:

composer require --dev jbzoo/toolbox-dev

包简介

Developer toolbox only for JBZoo libs on github+travis

README 文档

README

CI Coverage Status Psalm Coverage Psalm Level CodeFactor

Stable Version Total Downloads Dependents GitHub License

Developer toolbox library that provides standardized development dependencies and debugging utilities for JBZoo projects on GitHub.

Features

  • Enhanced Debugging: Customized Symfony VarDumper configuration optimized for CLI development
  • Development Dependencies: Unified package for all necessary JBZoo development tools
  • Standardized Toolchain: Consistent development environment across JBZoo ecosystem
  • Quality Assurance: Integrated code style checking and testing framework

Installation

composer require --dev jbzoo/toolbox-dev

Key Components

VarDumper Enhancement

Provides an optimized debugging experience with:

  • Output redirected to php://stderr to avoid breaking script output
  • 16KB string limit for performance
  • Classic indentation style for better readability
  • UTF-8 encoding support

Development Tools Integration

Includes standardized versions of:

  • jbzoo/phpunit - Enhanced PHPUnit testing framework
  • jbzoo/codestyle - Comprehensive code quality tools
  • jbzoo/markdown - Markdown processing utilities
  • symfony/var-dumper - Advanced debugging capabilities
  • php-coveralls/php-coveralls - Coverage reporting
  • fakerphp/faker - Test data generation

Usage

Development Setup

make update    # Install/update all dependencies

Testing and Quality Assurance

make test      # Run PHPUnit tests
make test-all  # Run tests and code style checks
make codestyle # Run all code quality tools

Debugging

The VarDumper configuration is automatically loaded, enhancing the dump() function:

// Enhanced debugging output
dump($variable);  // Outputs to stderr with optimized formatting

Requirements

  • PHP 8.2 or higher
  • Composer for dependency management

Integration

This package is designed to be included as a development dependency in JBZoo projects:

{
    "require-dev": {
        "jbzoo/toolbox-dev": "^7.0"
    }
}

License

MIT

统计信息

  • 总下载量: 1.04M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 21
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-26