1. Go to this page and download the library: Download afbora/kirby-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/ */
afbora / kirby-blade example snippets
// override Kirby `e()` helper for Blade plugin
define('KIRBY_HELPER_E', false);
@logged
Welcome back {{ $kirby->user()->name() }}
@else
Please Log In
@endlogged
'afbora.blade.minify.enabled' => true,
'afbora.blade.minify.options' => [
'doOptimizeViaHtmlDomParser' => true, // set true/false or remove line to default
'doRemoveSpacesBetweenTags' => false // set true/false or remove line to default
],
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.