PHP code example of mark-wff / craft-var-dumper

1. Go to this page and download the library: Download mark-wff/craft-var-dumper 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/ */

    

mark-wff / craft-var-dumper example snippets


    // dump everything.
    {{ dump() }}

    // dump Variable.
    {{ dump(myVariable) }}

    // dump multiple Variables.
    {{ dump(myVariable, mySecondVariable) }}