Commit graph

6 commits

Author SHA1 Message Date
Snider
28d004ff61 feat: replace Go CLI with PHP framework
Some checks failed
CI / PHP 8.4 (push) Failing after 1m54s
CI / PHP 8.3 (push) Failing after 1m58s
Go CLI commands moved to core/go-php. This repo now contains
the Laravel modular monolith framework (previously php-framework).

- Remove all Go files (now in core/go-php)
- Add PHP framework: event-driven module loading, lifecycle events
- Composer package: core/php
- core/php-framework remains as-is for backward compat

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 08:49:51 +00:00
Claude
81fbbac1f6
feat(ci): use lthn/build:php container image
Replace setup-php action with pre-built lthn/build:php-* container
images. Eliminates ~50s PHP setup overhead per matrix job.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 13:45:43 +00:00
Claude
b2692e27fe
fix: clone path dependencies using runner token on CI
Use GITHUB_TOKEN to clone sister packages (host-uk/core, etc.) that are
referenced as path repositories in composer.json. These packages aren't
on Packagist so CI needs to clone them alongside the main repo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 04:56:56 +00:00
Claude
d231c72661
fix: make reusable workflow resilient to missing test runners
Detect whether pest, phpunit, or pint are installed before running them.
Repos without test runners will skip gracefully instead of failing with
"No such file or directory".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 04:55:04 +00:00
Claude
9604b08d61
ci: add reusable PHP test workflow for Forgejo Actions
Callable from any core/php-* repo:
  uses: core/php/.forgejo/workflows/php-test.yml@main

Inputs: php-version (JSON array), extensions, coverage, pint.

Co-Authored-By: Charon <charon@lethean.io>
2026-02-23 01:20:35 +00:00
Claude
6cb5957ca6
feat: extract PHP/Laravel commands from core/cli
Port all PHP command files from core/cli internal/cmd/php/ into a
standalone module. Inlines workspace dependency to avoid cross-module
internal imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 14:40:59 +00:00