PHP code example of rainlab / blog-plugin

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

    

rainlab / blog-plugin example snippets


Laravel
:   A popular PHP framework

October
:   Awesome CMS built on Laravel

*[HTML]: Hyper Text Markup Language
*[PHP]:  Hypertext Preprocessor

    function onEnd()
    {
        // Optional - set the page title to the post title
        if ($this->post)
            $this->page->title = $this->post->title;
    }