PHP code example of isakzhanov-r / laravel-ssr

1. Go to this page and download the library: Download isakzhanov-r/laravel-ssr 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/ */

    

isakzhanov-r / laravel-ssr example snippets


IsakzhanovR\Ssr\ServiceProvider::class;

return [
    'temp_storage' => [
        'disk' => 'local', // filesystem disk
        'path' => 'ssr',   // directory
    ],
    'node_path'    => env('NODE_PATH', ''), // default /usr/bin/node
];

php artisan vendor:publish --provider="IsakzhanovR\Ssr\ServiceProvider"