1. Go to this page and download the library: Download piotrpress/wordpress-theme 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/ */
piotrpress / wordpress-theme example snippets
/**
* Theme Name: Example Theme
* Theme URI: https://example.com/theme/
* Description: Example Theme description.
* Tags: block-patterns, full-site-editing
* Version: 1.0.0
* Tested up to: 6.8
* Requires at least: 6.0
* Requires PHP: 7.4
* Author: John Smith
* Author URI: https://example.com/theme/author/
* License: GPL v3 or later
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
* Update URI: https://example.com/theme/update/
* Text Domain: example-theme
* Domain Path: /languages
*/