PHP code example of clodeindustrie / silverstripe-consoler

1. Go to this page and download the library: Download clodeindustrie/silverstripe-consoler 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/ */

    

clodeindustrie / silverstripe-consoler example snippets


// Print strings
\Clie\Consoler::log('This is a debugging statement');

// Print Arrays
\Clie\Consoler::log([ "my-key" => "my-value"]);

// Print DataObjects
\Clie\Consoler::log(Member::get()->first());