PHP code example of frqnck / fast-format

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

    

frqnck / fast-format example snippets


use Apix\String;

$template = new Template;
$template->render("My name is {name} {surname}", ['name' => 'franck', 'surname' => 'Cassedanne']);