PHP code example of teedmakerphp / cache-plugin-php

1. Go to this page and download the library: Download teedmakerphp/cache-plugin-php 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/ */

    

teedmakerphp / cache-plugin-php example snippets


@sayMyName('Lorem')

// results after cache

 echo "Hello Lorem"; 

@foreach($values as $index => $value)
  <h1>Lorem ipsum</h1>
@endforeach

// results after cache

 foreach ($values as $index => $value) {