{"id":48444047,"url":"https://github.com/veronalabs/forge","last_synced_at":"2026-04-08T19:00:28.528Z","repository":{"id":348666184,"uuid":"1199259071","full_name":"veronalabs/forge","owner":"veronalabs","description":"Craft production-ready WordPress plugins from a battle-tested foundation.","archived":false,"fork":false,"pushed_at":"2026-04-02T07:31:11.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T18:02:41.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/veronalabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-04-02T07:19:53.000Z","updated_at":"2026-04-02T07:31:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/veronalabs/forge","commit_stats":null,"previous_names":["veronalabs/forge"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/veronalabs/forge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veronalabs%2Fforge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veronalabs%2Fforge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veronalabs%2Fforge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veronalabs%2Fforge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veronalabs","download_url":"https://codeload.github.com/veronalabs/forge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veronalabs%2Fforge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31569400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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-06T17:03:13.349Z","updated_at":"2026-04-08T19:00:28.509Z","avatar_url":"https://github.com/veronalabs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forge — VeronaLabs Plugin Starter\n\nCraft production-ready WordPress plugins from a battle-tested foundation.\n\n## Quick Start\n\n```bash\ncomposer create-project veronalabs/forge my-plugin\ncd my-plugin\n./configure\n```\n\nThe `configure` script will ask for your plugin name, namespace, and other details, then scaffold everything automatically.\n\n## What's Inside\n\n- **Service Container** — Lazy-loading DI with register/boot lifecycle\n- **Service Providers** — Two-phase initialization (register factories, then boot)\n- **React Dashboard** — Vite + React 19 with manifest-based PHP enqueue\n- **SCSS + Entry Points** — Admin/frontend SCSS and IIFE bundles via Vite\n- **Premium Template** — Unified premium model with module loader system\n- **PHPUnit Tests** — WordPress test library integration\n- **wp-scoper** — Vendor namespace isolation for conflict-free distribution\n\n## Architecture\n\n```\nmy-plugin/\n├── src/\n│   ├── Bootstrap.php              # Plugin initialization\n│   ├── Container/                 # DI container + service providers\n│   ├── Components/                # Utilities (View, etc.)\n│   └── Service/                   # Business logic (Admin, Assets, etc.)\n├── resources/\n│   ├── react/src/                 # React dashboard app\n│   ├── entries/                   # Admin/frontend IIFE bundles\n│   └── scss/                      # Stylesheets\n├── views/                         # PHP templates\n├── tests/                         # PHPUnit tests\n└── premium/                       # Premium plugin template\n    └── pro/\n        ├── src/                   # Premium bootstrap + module loader\n        └── modules/               # Auto-discovered premium modules\n```\n\n## Development\n\n```bash\n# Install dependencies\ncomposer install\nnpm install\n\n# Start dev server (React + scripts + SCSS watch)\nnpm run dev\n\n# Production build\nnpm run build\n\n# Run tests\ncomposer test\n```\n\n## Premium Plugin\n\nThe `premium/` directory contains a complete premium plugin template. During `./configure`, it's copied to a sibling directory as `{slug}-premium/`. The premium plugin:\n\n1. Bundles the free plugin via symlinks\n2. Boots after the free core via the `{hook}_loaded` action\n3. Auto-discovers modules from `pro/modules/` via `manifest.json`\n\n### Creating a Module\n\n```\npro/modules/my-feature/\n├── manifest.json\n└── src/\n    └── MyFeatureModule.php\n```\n\n**manifest.json:**\n```json\n{\n    \"slug\": \"my-feature\",\n    \"name\": \"My Feature\",\n    \"version\": \"1.0.0\",\n    \"namespace\": \"MyPlugin\\\\Pro\\\\Modules\\\\MyFeature\",\n    \"main_class\": \"MyPlugin\\\\Pro\\\\Modules\\\\MyFeature\\\\MyFeatureModule\"\n}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveronalabs%2Fforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveronalabs%2Fforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveronalabs%2Fforge/lists"}