PHP code example of justinholtweb / craft-penny
1. Go to this page and download the library: Download justinholtweb/craft-penny 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-penny example snippets
sh
php craft penny/invites # what is out, and where it has got to
php craft penny/invites/reissue 42 # a fresh link, printed
php craft penny/invites/revoke 42 # turn a link off
php craft penny/invites/remind # chase invites about to expire (put this on cron)
php craft penny/invites/prune # tidy stale sessions and trim the audit trail
sh
cd ~/Sites/plugin-testing
ddev exec php /var/www/craft-penny/tests/integration/checks.php # 83 checks