PHP code example of inn20 / blog

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

    

inn20 / blog example snippets


php artisan blog:publish

php artisan blog:install

// 更新到最新版本
composer update inn20/blog

// 强制发布静态资源文件
php artisan vendor:publish --tag=inn-blog-assets --force

// 强制发布语言包文件
php artisan vendor:publish --tag=inn-blog-lang --force

// 清理视图缓存
php artisan view:clear