PHP code example of bozboz / jam-blog

1. Go to this page and download the library: Download bozboz/jam-blog 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/ */

    

bozboz / jam-blog example snippets



'blog_posts' => new Type([
    'name' => 'Posts',
    'menu_title' => 'Blog',
    'entity' => Post::class,
    'link_builder' => LinkBuilder::class,
    'menu_builder' => Standalone::class,
]),


'blog_categories' => new Type([
    'name' => 'Categories',
    'menu_title' => 'Blog',
    'link_builder' => \Bozboz\JamBlog\Categories\LinkBuilder::class,
    'menu_builder' => Standalone::class,
]),