PHP code example of ferrisbane / shortdb

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

    

ferrisbane / shortdb example snippets


"ferrisbane/shortdb": "0.1.*"

'providers' => [
    ...

    Ferrisbane\ShortDB\Laravel5ServiceProvider::class

    ...
];

'icon' => [
    '

$string = '{fa|icon:camera-retro}';

$string = 'content... {fa|icon:camera-retro} ...more content... {fa|icon:cog} ...even more content';

$arguments['icon']

app('shortdb')->process($string);

shortdb($string);

{!! shortdb($string) !!}