1. Go to this page and download the library: Download dowilcox/blade-view 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/ */
{{-- src/Template/Posts/view.blade.php --}}
@extend('/Common/view')
@assign('title', $post)
@start('sidebar')
<li>
@html->link('edit', [
'action' => 'edit',
$post['Post']['id']
])
</li>
@end()
{{-- The remaining content will be available as the 'content' block --}}
{{-- In the parent view. --}}
{{{ $post['Post']['body'] }}}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.