定制 koriym/printo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

koriym/printo

Composer 安装命令:

composer require koriym/printo

包简介

An object graph visualizer.

README 文档

README

An object graph visualizer for PHP

print_o visualizes PHP object graphs as interactive diagrams, making it easy to understand complex object relationships in your application.

Features

  • Visual representation of object relationships
  • Interactive graph with configurable properties
  • Support for different visualization ranges (objects only, with properties, or full details)

Quick Start

print_o($object);

object graph

What is object graph ?

Object-oriented applications contain complex webs of interrelated objects. Objects are linked to each other by one object either owning or containing another object or holding a reference to another object. This web of objects is called an object graph and it is the more abstract structure that can be used in discussing an application's state. - wikipedia

(JA) オブジェクト指向のアプリケーションは相互に関係のある複雑なオブジェクト網を含んでいます。オブジェクトはあるオブジェクトから所有されているか、他のオブジェクト(またはそのリファレンス)を含んでいるか、そのどちらかでお互いに接続されています。このオブジェクト網をオブジェクトグラフと呼びます。

Simple object graph

only object

With properties

+property

Full extract

+array

Requirements

  • PHP 5.4+

Installation

composer require --dev koriym/printo

Usage

print_o($object);

//or

use Koriym\Printo\Printo;

echo (new Printo($object))
    ->setRange(Printo::RANGE_PROPERTY)
    ->setLinkDistance(130)
    ->setCharge(-500);

Live demo

统计信息

  • 总下载量: 1.99M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 145
  • 点击次数: 12
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 142
  • Watchers: 10
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固