{"id":48465918,"url":"https://github.com/troychaplin/block-theme-starter","last_synced_at":"2026-04-07T04:32:27.228Z","repository":{"id":339998650,"uuid":"1164098201","full_name":"troychaplin/block-theme-starter","owner":"troychaplin","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-22T18:30:40.000Z","size":2232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-22T22:17:15.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/troychaplin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-22T16:30:54.000Z","updated_at":"2026-02-22T18:30:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/troychaplin/block-theme-starter","commit_stats":null,"previous_names":["troychaplin/block-theme-starter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/troychaplin/block-theme-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fblock-theme-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fblock-theme-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fblock-theme-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fblock-theme-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troychaplin","download_url":"https://codeload.github.com/troychaplin/block-theme-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fblock-theme-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31500397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-07T04:32:26.731Z","updated_at":"2026-04-07T04:32:27.211Z","avatar_url":"https://github.com/troychaplin.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Block Theme Starter\n\nA minimal WordPress block theme starter built for full site editing. It provides a clean foundation with basic templates, editor styles, and an organized class-based architecture.\n\n## Requirements\n\n- WordPress 6.9+\n- PHP 5.7+\n- Composer\n\n## Getting Started\n\nInstall PHP dependencies:\n\n```bash\ncomposer install\n```\n\n## Theme Structure\n\n```\nblock-theme-starter/\n├── assets/\n│   ├── css/            # Frontend and editor stylesheets\n│   ├── fonts/          # Custom web fonts\n│   ├── images/         # Theme images\n│   └── js/             # Frontend scripts\n├── classes/            # PHP classes (autoloaded via Composer)\n├── parts/              # Block template parts (header, footer)\n├── templates/          # Block templates (front-page, index, page)\n├── functions.php       # Theme bootstrap\n├── style.css           # Theme metadata\n└── theme.json          # Global styles and settings\n```\n\n## Architecture\n\nThe theme uses Composer's classmap autoloading to manage PHP classes in the `classes/` directory. Modules are instantiated in `functions.php` and initialized via an `init()` method that registers WordPress hooks.\n\n### Adding a Module\n\n1. Create a new class file in `classes/` (e.g., `class-my-module.php`)\n2. Use the `BTS` namespace and include a public `init()` method\n3. Add the class to the `$bts_modules` array in `functions.php`\n4. Run `composer dump-autoload`\n\n## Code Standards\n\nThis theme uses [WordPress Coding Standards](https://github.com/WordPress/WordPress-Coding-Standards) via PHPCS.\n\n```bash\n# Lint\ncomposer lint\n\n# Auto-fix\ncomposer format\n```\n\n## License\n\nGPL-2.0-or-later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Fblock-theme-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroychaplin%2Fblock-theme-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Fblock-theme-starter/lists"}