PHP code example of riclep / laravel-storyblok-typography

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

    

riclep / laravel-storyblok-typography example snippets




namespace App\Storyblok;


use Riclep\Storyblok\Block as BaseBlock;
use Riclep\StoryblokTypography\Traits\AppliesTypography;

class Block extends BaseBlock
{
	use AppliesTypography;

	protected $applyTypography = ['Text', 'Html'];
}