wpcl/wpconsole 问题修复 & 功能扩展

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

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

wpcl/wpconsole

Composer 安装命令:

composer require wpcl/wpconsole

包简介

A simple package to log php to the browser console in WordPress plugins and themes

README 文档

README

A simple package to log php to the browser console in WordPress plugins and themes. Simply include the package, preferrebly through composer, and go about logging errors, strings, objects arrays...whatever you need to visualize. It's meant as an alternative to var_dump, and works with Ajax requests.

Installation

Simply add a dependency on wpcl/wpconsole to your composer.json file if you use Composer to manage the dependencies of your project:

composer require wpcl/wpconsole

Although it's recommended to use Composer, you can actually anyway you want.

Usage

use wpcl\wpconsole\Console;

$error1 = 'Anything you want to log';

Console::log( $error1 );

$error2 = ['Some Item', 'Some Other Item'];

Console::log( $error2 );

统计信息

  • 总下载量: 97
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固