- Is hoa/kitab a Laravel package?
- No. Hoa Kitab is a standalone PHP documentation generator and documentation-testing utility from the Hoa project, not a Laravel runtime package. It does not integrate with Laravel's container, HTTP stack, Eloquent, queues, or deployment topology. Its only sensible role in a Laravel project is as a dev-only documentation quality gate in CI.
- How do I install hoa/kitab in a Laravel project?
- Install it with Composer as a require-dev dependency, preferably in an isolated container or with a separate lockfile rather than in your main application graph. Pin the package to a specific commit or fork because the upstream repository is archived. Do not add it to production requirements or runtime service providers.
- Does hoa/kitab work with PHP 8 and modern Laravel versions?
- The package was last released in 2018 and is archived, so PHP 8.x and current Laravel CI images are likely to cause compatibility or Composer resolution problems. Validate it first in a time-boxed spike using a legacy Docker image pinned to a compatible PHP version. Expect friction with Composer 2 and modern PHPUnit stacks, and plan to fork and patch constraints if needed.
- What documentation formats does hoa/kitab support?
- Kitab compiles structured, book-like source files into browsable HTML documentation, with an extensible pipeline for prose and code. The exact syntax and undocumented assumptions should be inventoried before adoption. Test a representative subset of your Laravel documentation and code samples rather than assuming compatibility.
- Can hoa/kitab test code samples embedded in documentation?
- Kitab is positioned around Documentation-Driven Quality, meaning it can render and test documentation that includes code samples. However, the code-block execution semantics and supported formats must be verified against your docs. Treat it as a non-critical documentation check until pass/fail behavior is proven stable.
- How do I integrate hoa/kitab into a Laravel CI pipeline?
- Run Kitab as a dedicated CI job or inside a small internal CLI wrapper, kept outside your production Composer graph. Start in non-blocking mode, observe false positives and negatives, then promote it to a required check only if it proves stable. Document a fallback path and pin the CI image and package commit.
- What are the main risks of using an archived package like hoa/kitab?
- The biggest risks are PHP version incompatibility, stale transitive dependencies, Composer conflicts with modern Laravel stacks, and no upstream security or maintenance path. Because Kitab is archived, any defect or PHP 8 incompatibility becomes an internal fork and ownership problem. Use it only for non-critical documentation checks unless you have a maintained fork and fallback.
- Are there maintained alternatives to hoa/kitab for documentation testing in Laravel?
- You should evaluate maintained documentation-testing tools before committing to an abandoned dependency. Kitab's value may not justify owning a fork if a current tool covers your doc rendering and code-sample testing needs. If no alternative fits, isolate Kitab in a legacy container and document an exit strategy.
- How do I make hoa/kitab output deterministic and machine-readable for CI?
- Wrap Kitab in a small internal CLI that normalizes output and returns clear exit codes for CI. Keep the documentation scope focused and cache dependencies to reduce variability. Test the wrapper against a fixed documentation subset so pass/fail results remain reproducible across CI runs.
- Who should own a forked hoa/kitab instance in a Laravel project?
- Assign a single owner from day one, because archived upstream code means no bug fixes, security patches, or PHP compatibility updates will arrive. That owner should maintain the fork, pinned dependencies, CI image, runbooks, and a documented exit strategy. Avoid spreading responsibility across teams until ownership and support expectations are explicit.