PHP code example of ngangchill / blade

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

    

ngangchill / blade example snippets


@partial('partials.panel')
    @block('title', 'This is the panel title')

    @block('body')
        This is the panel body.
    @endblock
@endpartial
 echo 'Hellow <em>' . $name . '</em>'; 
 echo $expression->format('m/d/Y H:i'); 
 echo $expression->format('m/d/Y H:i');