PHP code example of justinholtweb / craft-stopsign

1. Go to this page and download the library: Download justinholtweb/craft-stopsign 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/ */

    

justinholtweb / craft-stopsign example snippets

sh
php craft stopsign/unlock --all
sh
php craft stopsign/status            # what it is doing right now
php craft stopsign/unlock            # clear expired locks
php craft stopsign/unlock --all      # clear every lock — the kill switch
php craft stopsign/prune             # trim presence, locks and history
php craft stopsign/history --days=30 # collisions, and how many were clicked through