GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JhulFramework/ArrayView: A PHP library to visualize PHP Array. Converts PHP Array to HTML

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
screen.png
screen.png
 
 
test.php
test.php
 
 

Repository files navigation

A PHP library to visualize PHP Array

Requirement

  • PHP version >= 5.6
  • browser with css flex support

Installation

  • Clone or download this repository
  • Include 'src/autoloader.php' in your project

Usage

require( 'src/autoloader.php' );

$helper = new \Jhul\Component\HTML\Helper\ArrayView\Helper();

$array =
[
	'key1' => 'val1',
	'key2' => 'val2',
	'key3' =>
	[
		'key3-1' => 'val3-1',
		'key3-2' => 'val3-2',
		'key3-3' => 'val3-3',
	],

	'key4' =>
	[
		'key4-1' =>
		[
			'key4-1-1' => 'val4-1-1',
			'key4-1-2' => 'val4-1-2',
			'key4-1-3' => 'val4-1-3',
		],

		'key4-2' => 'val4-2-1',
		'key4-3' => 'val4-2-1',
	],

	'key5' => 'val5',
];

echo $helper->toHTML( $array );

Screenshot

html

About

A PHP library to visualize PHP Array. Converts PHP Array to HTML

Topics

arrayarray-to-htmlarray-viewarray-viewerarray-visualizerphpphp-array-visualizevisualize

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.