PHP code example of litecms / block

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

    

litecms / block example snippets


    php artisan migrate
    php artisan db:seed --class=Litecms\\Block\\Seeders\\BlockTableSeeder

    php artisan vendor:publish --provider="Litecms\Block\Providers\BlockServiceProvider" --tag="config"

    php artisan vendor:publish --provider="Litecms\Block\Providers\BlockServiceProvider" --tag="lang"

    php artisan vendor:publish --provider="Litecms\Block\Providers\BlockServiceProvider" --tag="view"