2026-03-22 02:40:42 +03:00
|
|
|
# CLAUDE.md
|
|
|
|
|
|
2026-04-06 15:43:45 +03:00
|
|
|
Guidance for Claude Code when working with this repository.
|
2026-03-22 02:40:42 +03:00
|
|
|
|
|
|
|
|
## Package
|
|
|
|
|
|
|
|
|
|
`pronchev/pinecore` — minimal PHP framework for FrankenPHP long-running workers.
|
|
|
|
|
|
|
|
|
|
**Namespace:** `Pronchev\Pinecore\` → `src/` (PSR-4)
|
|
|
|
|
|
|
|
|
|
No lint or test commands configured yet.
|
|
|
|
|
|
2026-04-06 15:43:45 +03:00
|
|
|
## Knowledge base
|
2026-03-22 02:40:42 +03:00
|
|
|
|
2026-04-06 18:47:11 +03:00
|
|
|
Full index: [.claude/README.md](.claude/README.md)
|
|
|
|
|
|
|
|
|
|
- [Architecture & request lifecycle](.claude/architecture/overview.md)
|
|
|
|
|
- [Bootstrap: Kernel, Config, Environment, ContainerFactory](.claude/architecture/bootstrap.md)
|
|
|
|
|
- [HTTP layer: Request, Response, Router, Middleware](.claude/architecture/http.md)
|
|
|
|
|
- [Worker entrypoint & WorkerRunner](.claude/architecture/worker.md)
|
|
|
|
|
- [Auth: JWT, AuthMiddleware](.claude/architecture/auth.md)
|
|
|
|
|
- [Logging](.claude/architecture/logging.md)
|
|
|
|
|
- [ORM: MongoDB, entities, repositories](.claude/architecture/orm.md)
|
|
|
|
|
- [Console](.claude/architecture/console.md)
|
2026-03-22 02:40:42 +03:00
|
|
|
|
|
|
|
|
## Code Style
|
|
|
|
|
|
|
|
|
|
EditorConfig enforces:
|
|
|
|
|
- PHP: UTF-8, LF, 4-space indent, 120-char line limit (PSR-12)
|
|
|
|
|
- JS/TS: 2-space indent, 100-char line limit
|
|
|
|
|
- Templates (Blade/Twig), YAML, JSON, Docker: 2-space indent
|