PHP code example of ineersa / hatfield-ext-file-rewind

1. Go to this page and download the library: Download ineersa/hatfield-ext-file-rewind 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/ */

    

ineersa / hatfield-ext-file-rewind example snippets

yaml
# .hatfield/settings.yaml
extensions:
  enabled:
    - Ineersa\HatfieldExt\FileRewind\FileRewindExtension
  settings:
    file_rewind:
      enabled: true
      max_retained_turns: 100
      git_timeout_seconds: 30