PHP code example of petrelli / live-statics-addons

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

    

petrelli / live-statics-addons example snippets


use \Petrelli\LiveStaticsAddons\BaseMock;

class BookMock extends BaseMock implements BookInterface
{
    #...
}

use \Petrelli\LiveStatics\BaseMock;
use \Petrelli\LiveStaticsAddons\Traits\Twill\HasImages;

class BookMock extends BaseMock implements BookInterface
{
    use HasImages;

    #...
}

php artisan vendor:publish --provider="Petrelli\LiveStaticsAddons\BaseServiceProvider"