PHP code example of benrowe / formatter

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

    

benrowe / formatter example snippets

 php
$formatter = new Benrowe\Formatter\Formatter;
$formatter->addFormatter('return', function($value) {
    return $value;
});