PHP code example of deanblackborough / zf3-view-helpers

1. Go to this page and download the library: Download deanblackborough/zf3-view-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/ */

    

deanblackborough / zf3-view-helpers example snippets

/** @var $this DBlackborough\Zf3ViewHelpersCC\CustomAndZend */
 
echo $this->bootstrap4Alert($message)->
    setHeading($heading)->
    setBgStyle('primary');
 
echo $this->bootstrap4Badge($badge)->
    pill()->
    setBgStyle('primary');
 
echo $this->bootstrap4Button($label)->
    setBgStyle('primary')->
    block()->
    large()->
    link($uri);

echo $this->bootstrap4Column('<p>Content</p>')->md(12);

echo $this->bootstrap4Column('<p>Content</p>')->
    xl(6)->
    xl(12)->
    sm(6)->
    setBgStyle()->
    setTextStyle(); 
 
echo $this->bootstrap4Jumbotron($heading, $content)->
    setSubHeading($sub_heading)->
    fluid()->
    setHeadingDisplayLevel(1);

echo $this->bootstrap4NavbarLite()->
    addBrand('Dlayer', '#uri')->
    addNavigation([ ['uri' => '#', 'label' => 'Item 1', 'active' => false ] ]); 

echo $this->bootstrap4ProgressBar(25)->
    setBgStyle('info')->
    striped()->
    animate(); 

echo $this->bootstrap4ProgressBar([25, 15], ['primary', 'info'])->
    striped()->
    animate(); 

echo $this->bootstrap4Row('<p>Content</p>')

echo $this->bootstrap4Row('<p>Content</p>')->
    setBgStyle()->
    setTextStyle(); 
 
echo $this->bootstrap3Button($label)->
    setStyle('primary')->
    block()->
    large()->
    link($uri);
 
echo $this->bootstrap3Jumbotron($heading, $content)->
    subHeading($sub_heading)->
    fluid();

echo $this->bootstrap3ProgressBar(25)->
    color('info')->
    striped()->
    animate();