PHP code example of netnak / minimatic

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

    

netnak / minimatic example snippets


'replacers' => [
    // ...
    \Netnak\Minimatic\Replacers\MinimaticReplacer::class,
],

'enable_response_minifier' => env('MINIFY_RESPONSE', false),
'enable_static_cache_replacer' => env('MINIFY_STATIC', false),

'ignored_paths' => ['!/*', 'api/*'],
bash
php artisan vendor:publish --tag=minimatic-config --force