95d55dc180
Merge pull request 'DX audit and fix (PHP)' ( #8 ) from agent/dx-audit-and-fix--laravel-php-package into dev
...
Reviewed-on: #8
2026-03-24 11:35:43 +00:00
Snider
9f0d421ae8
fix(dx): add strict_types to all PHP files and update CLAUDE.md
...
CI / PHP 8.3 (pull_request) Failing after 3s
CI / PHP 8.4 (pull_request) Failing after 2s
- Add declare(strict_types=1) to 9 PHP files missing it
- Update CLAUDE.md: document composer test/lint scripts
- Update CLAUDE.md: fix lthn/php-api → lthn/api package name
- Fix PSR-12 compliance (Pint: ordered imports, FQCN extraction)
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 09:10:30 +00:00
Snider
b1f3278418
chore: add .core/ and .idea/ to .gitignore
Publish Composer Package / publish (push) Failing after 9s
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s
2026-03-15 10:17:51 +00:00
Snider
d956bf4783
refactor(api): update composer dependency from php-api to lthn/api
...
CI / PHP 8.3 (push) Failing after 3s
CI / PHP 8.4 (push) Failing after 2s
Part of the polyglot merge — lthn/php-api is now lthn/api.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:11:01 +00:00
Snider
b75af1645f
docs: add CLAUDE.md project instructions
...
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 13:38:03 +00:00
Snider
31c38b9280
feat: rename package to lthn/php-template for Packagist
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s
2026-03-09 18:00:42 +00:00
Snider
db37b95722
fix(ci): install zip in release workflow
...
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s
Forgejo Composer API requires zip format.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:43:53 +00:00
Snider
8b5626a52b
fix(ci): simplify release workflow, use FORGEJO_REF_NAME
...
CI / PHP 8.3 (push) Failing after 3s
CI / PHP 8.4 (push) Failing after 3s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:36:19 +00:00
Snider
ab03ead864
fix(ci): use Forgejo-native variables in release workflow
...
CI / PHP 8.3 (push) Failing after 4s
CI / PHP 8.4 (push) Failing after 4s
Replace github.server_url/GITHUB_REF_NAME with explicit forge URL
and GITEA_REF_NAME/GITEA_OUTPUT.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:13:13 +00:00
Snider
446503fc22
feat: add Forgejo release workflow for Composer registry
...
CI / PHP 8.3 (push) Failing after 3s
CI / PHP 8.4 (push) Failing after 2s
On tag push (v*), zips the package and publishes to the
forge.lthn.ai Composer package registry.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:00:19 +00:00
2d35de7b12
fix(ci): correct container image expression
CI / PHP 8.3 (push) Failing after 1s
CI / PHP 8.4 (push) Failing after 1s
2026-02-23 13:47:13 +00:00
7286f18fda
feat(ci): use lthn/build:php container image
...
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
Replace setup-php action with pre-built container.
Eliminates ~50s setup overhead per matrix job.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 13:46:52 +00:00
Claude
8c9f7fccb8
fix: use valid 32-byte APP_KEY for AES-256-CBC cipher
...
CI / PHP 8.3 (push) Successful in 1m14s
CI / PHP 8.4 (push) Successful in 1m16s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:58:12 +00:00
Claude
7c598e0479
fix: add APP_KEY to phpunit.xml for feature tests
...
CI / PHP 8.4 (push) Failing after 1m15s
CI / PHP 8.3 (push) Failing after 1m23s
MissingAppKeyException thrown when running WelcomePageTest because
no APP_KEY was configured in the test environment.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:50:03 +00:00
Claude
d200299b34
ci: retrigger
CI / PHP 8.3 (push) Failing after 1m13s
CI / PHP 8.4 (push) Failing after 1m25s
2026-02-23 07:09:44 +00:00
Claude
0c74091cf5
style: fix pint issues in routes/api.php
...
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
Remove unused Route import and extra blank lines.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 07:02:59 +00:00
Claude
4b3ea4ee2c
ci: allow pest composer plugin
CI / PHP 8.3 (push) Failing after 1m17s
CI / PHP 8.4 (push) Failing after 1m23s
2026-02-23 06:44:26 +00:00
Claude
86e5de62a1
fix: remove broken GitHub VCS repository reference
CI / PHP 8.3 (push) Failing after 1m10s
CI / PHP 8.4 (push) Failing after 1m3s
2026-02-23 06:31:44 +00:00
Claude
2c0c5f2e32
ci: clone all 4 sister packages and remove broken VCS repo
CI / PHP 8.3 (push) Failing after 48s
CI / PHP 8.4 (push) Failing after 47s
2026-02-23 06:19:33 +00:00
Claude
cd8a7b9d64
ci: retrigger workflow
CI / PHP 8.3 (push) Failing after 50s
CI / PHP 8.4 (push) Failing after 50s
2026-02-23 05:48:47 +00:00
Claude
c6f68cf62d
ci: add composer config for path repositories (v5)
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
2026-02-23 05:45:56 +00:00
Claude
9e08add1ad
fix(ci): hard-code sister package clone instead of PHP parsing
...
CI / PHP 8.3 (push) Failing after 45s
CI / PHP 8.4 (push) Failing after 45s
Direct git clone of ../php-framework avoids shell escaping
issues with dynamic PHP-based path extraction.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 05:31:49 +00:00
Claude
5a73e8b431
fix(ci): use single-quoted PHP to avoid shell escaping issues
...
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
Switch php -r argument to single quotes so PHP dollar signs
are not interpreted by bash. Pipe output to while-read loop.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 05:24:30 +00:00
Claude
0b96e99d9e
fix(ci): correct bash escaping in dependency checkout step
...
CI / PHP 8.4 (push) Waiting to run
CI / PHP 8.3 (push) Has been cancelled
The PHP variables inside php -r need \$ escaping, but shell
variables outside need bare $ for command substitution and
variable expansion.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 05:19:21 +00:00
Claude
659ab6fa86
ci: inline workflow to bypass reusable workflow cache
...
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
The Forgejo act runner caches reusable workflow definitions,
preventing updates from being picked up. Inline the workflow
with dependency checkout step.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 05:11:53 +00:00
Claude
66530dabfd
ci: use reusable PHP test workflow from core/php
...
CI / tests (push) Failing after 1m29s
Co-Authored-By: Charon <charon@lethean.io>
2026-02-23 01:22:21 +00:00
Snider
ef4379a76f
docs: add comprehensive documentation for core-template
...
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
CI / Assets (push) Has been cancelled
Add documentation covering architecture, modules, getting started,
and security considerations for the Core PHP Framework starter template.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 21:21:11 +00:00
Snider
9d6acb9121
docs(changelog): add completed P2 items for January 2026
...
Track completed improvements:
- P2-049 to P2-051: Example tests, Pest configuration, Composer scripts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 19:52:32 +00:00
Snider
4833d922c5
feat(testing): add Pest configuration, example tests, and composer scripts
...
- Add tests/Pest.php with TestCase binding and RefreshDatabase
- Add example feature tests: WelcomePageTest, HealthEndpointTest
- Add composer scripts: lint, test, test:coverage
Implements P2-049, P2-050, P2-051
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:37:20 +00:00
Snider
c3a783f547
docs: improve CLAUDE.md with Claude Code header and expanded guidance
...
Add required Claude Code header, Laravel 12 version, example onWebRoutes
method, single test commands, package namespaces, and consolidated
conventions from other AI instruction files.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 14:15:33 +00:00
Snider
8fe508541f
chore: add local package development support
...
Add composer.local.json to gitignore and dev:packages script for
developing against local copies of host-uk packages.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 17:41:15 +00:00
Snider
91f9deeb6d
Add visibility check for public repositories in CI and release workflows
2026-01-26 23:14:11 +00:00
Snider
81206311ac
Merge pull request #5 from host-uk/dependabot/npm_and_yarn/laravel-vite-plugin-2.1.0
...
Bump laravel-vite-plugin from 1.3.0 to 2.1.0
2026-01-26 20:45:51 +00:00
Snider
c778766142
Merge pull request #4 from host-uk/dependabot/npm_and_yarn/tailwindcss-4.1.18
...
Bump tailwindcss from 3.4.19 to 4.1.18
2026-01-26 20:45:32 +00:00
Snider
482a86a932
Merge pull request #1 from host-uk/dependabot/github_actions/orhun/git-cliff-action-4
...
Bump orhun/git-cliff-action from 3 to 4
2026-01-26 20:45:02 +00:00
Snider
46b7bf2584
Merge pull request #3 from host-uk/dependabot/github_actions/codecov/codecov-action-5
...
Bump codecov/codecov-action from 4 to 5
2026-01-26 20:44:42 +00:00
dependabot[bot]
48cf7092b9
Bump laravel-vite-plugin from 1.3.0 to 2.1.0
...
Bumps [laravel-vite-plugin](https://github.com/laravel/vite-plugin ) from 1.3.0 to 2.1.0.
- [Release notes](https://github.com/laravel/vite-plugin/releases )
- [Changelog](https://github.com/laravel/vite-plugin/blob/2.x/CHANGELOG.md )
- [Upgrade guide](https://github.com/laravel/vite-plugin/blob/2.x/UPGRADE.md )
- [Commits](https://github.com/laravel/vite-plugin/compare/v1.3.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: laravel-vite-plugin
dependency-version: 2.1.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 20:43:14 +00:00
dependabot[bot]
8a64b26c15
Bump tailwindcss from 3.4.19 to 4.1.18
...
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss ) from 3.4.19 to 4.1.18.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.18/packages/tailwindcss )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-version: 4.1.18
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 20:43:12 +00:00
Snider
e171cc9f0f
Merge pull request #2 from host-uk/dependabot/github_actions/actions/checkout-6
...
Bump actions/checkout from 4 to 6
2026-01-26 20:42:33 +00:00
Snider
1be3324ae4
Merge pull request #6 from host-uk/dependabot/npm_and_yarn/vite-7.3.1
...
Bump vite from 6.4.1 to 7.3.1
2026-01-26 20:42:07 +00:00
dependabot[bot]
2fde32a4d1
Bump vite from 6.4.1 to 7.3.1
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.4.1 to 7.3.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.1/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.3.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 7.3.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 20:41:23 +00:00
dependabot[bot]
317562f9ee
Bump codecov/codecov-action from 4 to 5
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 20:40:41 +00:00
dependabot[bot]
82dd1165ba
Bump actions/checkout from 4 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 20:40:38 +00:00
dependabot[bot]
6141157fc2
Bump orhun/git-cliff-action from 3 to 4
...
Bumps [orhun/git-cliff-action](https://github.com/orhun/git-cliff-action ) from 3 to 4.
- [Release notes](https://github.com/orhun/git-cliff-action/releases )
- [Commits](https://github.com/orhun/git-cliff-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: orhun/git-cliff-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 20:40:34 +00:00
Snider
f066becf0a
update template defaults
2026-01-26 20:39:56 +00:00
Snider
735153a804
Make Flux Pro optional
2026-01-26 17:40:21 +00:00
Snider
dd43e075ee
Initial Core PHP Framework template
2026-01-26 17:30:52 +00:00
Snider
06ab3456e9
Initial Core PHP Framework template
2026-01-26 17:19:26 +00:00