qossmic/twig-doc-bundle
qossmic/twig-doc-bundle is a Symfony bundle that scans your Twig templates, extracts annotated documentation comments, and generates browsable HTML docs, helping teams keep template variables, blocks, and includes discoverable.
middle_name, deleted_at, coupon_code, optional nested relationship) instead of shipping fixtures that quietly diverge from the real API contract.Consider it when:
Look elsewhere when:
Faker, or DTO/serializer-based builders give stronger guarantees and better IDE support than a stringly-typed config sentinel.Gate before adopting: confirm whether the empty-string→null rule applies globally across config, whether it changes behavior for existing entries that were already empty strings (a potential silent breaking change for anyone who relied on empty string meaning empty string), and whether config validation catches typos. That last point determines whether a bad config silently ships null where you wanted "" — the exact failure mode this release is meant to prevent.
For executives (one paragraph): We're evaluating a small Laravel/PHP library that removes hand-written test data from our codebase by letting teams declare fake payloads in configuration. Its newest release, v0.0.3, fixes a real gap: it lets us represent a missing or empty value properly, which is where most of our test-versus-production data drift hides. Cost is low and the upside is less custom test plumbing to maintain. The caveat is maturity — this is a pre-1.0 package with a very short track record — so I recommend a time-boxed trial on one service, not a platform-wide standard, and I'd want engineering to confirm it doesn't change behavior for configs we already have.
For engineering leads: this is a config-driven fixture generator. v0.0.3 adds an explicit null capability keyed off empty strings in config. Two asks before we commit: (1) verify backward compatibility for existing empty-string entries, since the release note doesn't state whether this is additive or a reinterpretation; (2) decide whether "empty string means null" is acceptable in our conventions or whether we want an explicit sentinel — because once it's in our configs, every new engineer has to learn it. If those check out, it replaces a handful of ad-hoc test helpers and is cheap to back out.
How can I help you explore Laravel packages today?