PHP code example of viovenia / statamic-git-sync
1. Go to this page and download the library: Download viovenia/statamic-git-sync 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/ */
viovenia / statamic-git-sync example snippets
'widgets' => [
['type' => 'recent_syncs', 'width' => 50, 'limit' => 5],
],
bash
php artisan vendor:publish --tag=statamic-git-sync-config
bash
php artisan statamic:git-sync:doctor
bash
php artisan statamic:git-sync:status
php artisan statamic:git-sync --dry-run