1. Go to this page and download the library: Download hackeresq/laravel-watcher 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/ */
hackeresq / laravel-watcher example snippets
namespace App\Http\Requests;
use HackerESQ\Watcher\Watcher;
use Illuminate\Foundation\Http\FormRequest;
class YourCustomFormRequest extends FormRequest
{
use Watcher;
// ...
}
/**
* Update the specified resource in storage.
*
* @param HackerESQ\Watcher\Requests\WatcherRequest $request
* @return \Illuminate\Http\Response
*/
public function update(WatcherRequest $request)
{
// ...
}