PHP code example of jleagle / helpers

1. Go to this page and download the library: Download jleagle/helpers library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jleagle / helpers example snippets


$div = new Div();
$image = new Img('http://example.com/img.png);

$abbr = new Abbr('WIFI', 'Wireless Fidelity');

$ul = new Ul();
foreach([1, 2, 3] as $v)
{
  $li = new Li('item '.$v);
  $ul->addListItem($li);
}