PHP code example of rondodevs / craft-toolkit
1. Go to this page and download the library: Download rondodevs/craft-toolkit 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/ */
rondodevs / craft-toolkit example snippets
bash
ddev exec --dir /var/www/html/playground php craft install \
--interactive=0 \
--username=admin \
[email protected] \
--password=changeme123 \
--site-name="Toolkit Playground" \
--site-url="https://craft-toolkit-playground.ddev.site" \
--language=en-US
ddev exec --dir /var/www/html/playground php craft plugin/install toolkit
bash
php craft plugin/install toolkit