PHP code example of geniv / nette-browser-sync

1. Go to this page and download the library: Download geniv/nette-browser-sync 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/ */

    

geniv / nette-browser-sync example snippets


protected function createComponentBrowserSync(IBrowserSync $browserSync): IBrowserSync
{
    //$browserSync->setTemplatePath(__DIR__ . '/templates/browserSync.latte');
    //$browserSync->setCheckByUrl(false);
    return $browserSync;
}
json
"php": ">=7.0",
"nette/nette": ">=2.4",
"geniv/nette-general-form": ">=1.0"