PHP code example of winter / wn-blog-plugin

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

    

winter / wn-blog-plugin example snippets

bash
php artisan migrate

Laravel
:   A popular PHP framework

Winter CMS
:   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;
    }