PHP code example of diff-stage / recorder

1. Go to this page and download the library: Download diff-stage/recorder 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/ */

    

diff-stage / recorder example snippets

bash
./vendor/bin/pest tests/Browser/BookingTest.php --record-videos --record-videos-only=tests/Browser/BookingTest.php
json
[
  {"file": "tests/Browser/WizardTest.php", "test": "it saves a draft"},
  {"file": "tests/Browser/WizardTest.php", "test": "it completes the wizard"}
]
bash
php vendor/diff-stage/recorder/bin/diff-stage-record selection.json --record-videos-fast
bash
php artisan boost:update