PHP code example of trapvincenzo / static-view-cache

1. Go to this page and download the library: Download trapvincenzo/static-view-cache 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/ */

    

trapvincenzo / static-view-cache example snippets


<ul>
	@

<ul>
	 echo $__env->make('car', $car, array_except(get_defined_vars(), array('__data', '__path')))->render(); 

"trapvincenzo/static-view-cache": "dev-master"

'providers' => array(
	...
	'Trapvincenzo\StaticViewCache\StaticViewCacheServiceProvider'
	...
)

StaticViewCache::render($viewName, $id, $data , $path )