PHP code example of felixdorn / laravel-render-blade-string
1. Go to this page and download the library: Download felixdorn/laravel-render-blade-string 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/ */
felixdorn / laravel-render-blade-string example snippets
__renderBlade($request->get('blade'));
__renderBlade('@if ($something) Yo! @endif', [
'something' => true
]);