PHP code example of spekulatius / laravel-commonmark-blog

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

    

spekulatius / laravel-commonmark-blog example snippets


'extensions' => [
    new \SimonVomEyser\CommonMarkExtension\LazyImageExtension(),
],
bash
php artisan vendor:publish --provider="Spekulatius\LaravelCommonmarkBlog\CommonmarkBlogServiceProvider" --tag="blog-config"
bash
php artisan blog:build