PHP code example of fortephp / reload
1. Go to this page and download the library: Download fortephp/reload 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/ */
fortephp / reload example snippets
bash
php artisan vendor:publish --tag=reload-config
js
reload({
watch: [
'resources/views/**/*.blade.php',
'packages/**/resources/views/**/*.blade.php'
],
})