PHP code example of bvdputte / kirby-htmx

1. Go to this page and download the library: Download bvdputte/kirby-htmx 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/ */

    

bvdputte / kirby-htmx example snippets


// snippets/test.php
<section hx-trigger="click" hx-target="this" <?= hxHeaders() 

// in templates/default.php
 snippet('test');