PHP code example of sayamaapps / kirby-annai

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

    

sayamaapps / kirby-annai example snippets


// site/config/config.php
return [
    'annai.active'   => true,           // off until true
    'annai.language' => 'de',           // texts of llms.txt, English by default
    'annai.type'     => 'GroceryStore', // schema.org type, LocalBusiness by default
];

 snippet('annai/head') 

'annai.exclude.pages' => fn (Kirby\Cms\Page $page): bool => $page->template()->name() === 'intern',