feat: rename package to lthn/php for Packagist distribution
Some checks failed
CI / PHP 8.4 (push) Failing after 1m57s
CI / PHP 8.3 (push) Failing after 2m0s

- composer.json name: core/php → lthn/php
- replace directive keeps backward compat with core/php consumers
- .gitattributes excludes Go code, Docker, tests, build files from dist

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-09 17:56:14 +00:00
parent 25df6996e6
commit 4b2b5d6350
2 changed files with 21 additions and 2 deletions

16
.gitattributes vendored Normal file
View file

@ -0,0 +1,16 @@
# Exclude non-PHP files from Composer dist archives
*.go export-ignore
go.mod export-ignore
go.sum export-ignore
cmd/ export-ignore
bin/ export-ignore
docker/ export-ignore
changelog/ export-ignore
tests/ export-ignore
.core/ export-ignore
.forgejo/ export-ignore
phpunit.xml export-ignore
phpstan.neon export-ignore
qa.yaml export-ignore
CLAUDE.md export-ignore
CONTRIBUTING.md export-ignore

View file

@ -1,5 +1,5 @@
{
"name": "core/php",
"name": "lthn/php",
"description": "Modular monolith framework for Laravel - event-driven architecture with lazy module loading",
"keywords": [
"laravel",
@ -88,5 +88,8 @@
}
},
"minimum-stability": "stable",
"prefer-stable": true
"prefer-stable": true,
"replace": {
"core/php": "self.version"
}
}