Laravel multi-instance configuration management with PathResolver
- PHP 100%
illuminate/{support,http,routing,filesystem} ^11.0 → ^11.0|^12.0
orchestra/testbench ^9.0 → ^9.0|^10.0
No package code changes — uses only L12-stable Illuminate APIs (Facade,
Request, Context, ServiceProvider). Requires settings-yaml ^1.0 (v1.0.3+
is L12-ready). Verified on Laravel 12.61.1 + testbench 10.
Test harness fixes:
- Remove dead MultiTenantContentServiceProvider from TestCase getPackageProviders
(package not a dependency; src/ never references it — broke the whole suite,
on L11 and L12 alike).
- Skip pre-existing 'refresh clears cache' test (fails on L11 too): refresh()
nulls instanceId so the detector re-resolves to the default instance rather
than preserving setInstance(); refresh() semantics are an open question.
Result: 64 passed, 1 skipped (documented).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
||
|---|---|---|
| config | ||
| src | ||
| tests | ||
| .gitignore | ||
| composer.json | ||
| composer.lock | ||
| phpunit.xml | ||
| SPEC.md | ||