Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Peridot Cloak Plugin Laravel Package

cloak/peridot-cloak-plugin

A Peridot plugin that brings Cloak into your PHP test suite, letting you wire up its features directly from your specs with minimal configuration. Install via Composer, enable the plugin, and keep your tests readable and expressive.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy / integration architecture: This package is a thin adapter that wires a coverage instrumentation library (Cloak) into a test runner (Peridot) through the runner's plugin seam. It is a useful reference for the pattern: keep instrumentation, execution, and reporting as separately swappable concerns rather than baking coverage into the test framework.
  • Stack and framework selection: If "coverage reporting on BDD-style specs" is a required capability, this package's archived status is direct evidence for standardizing on PHPUnit or Pest with PCOV/Xdebug instead of a Peridot-based stack.
  • Roadmap and deprecation planning: For teams still running PHP 5.x/7.x-era Peridot suites, it informs a "coverage retrofit or retire" workstream and gives a concrete sunset argument.
  • Feature scope for internal tooling: If we build or maintain a CI pipeline or test runner, supporting third-party runner adapters is a low-cost, high-goodwill feature — this repo is a worked example of the interface surface required.
  • Use cases it legitimizes: BDD/spec-style suites that need coverage gates; legacy service audits where tests exist but coverage is invisible; migration baselines before a framework move.
  • Signal, not substance: With 0 stars, 0 dependents, and no release since 2015, treat it as a historical artifact. Its value to a roadmap is as evidence about a gap in the ecosystem, not as a component to ship.

When to Consider This Package

Consider it only when all of the following hold:

  • Peridot is the team's primary spec framework and migration is genuinely off the table for the current cycle.
  • The runtime is PHP 5.4–7.x, where PCOV is unavailable and Xdebug's overhead is unacceptable in CI.
  • Cloak is already installed or being installed for other reasons; this plugin is the last mile of wiring.
  • The team explicitly accepts unmaintained code: no security patches, no PHP 8 support, no maintainer, no issue triage.

Look elsewhere when:

  • Greenfield work — use PHPUnit or Pest with PCOV (fast, maintained) or Xdebug for step debugging.
  • PHP 8+ — Cloak itself is not viable on modern runtimes, and this plugin cannot bridge that gap.
  • You need CI-grade reporting — Clover/Cobertura output, coverage thresholds, path filtering, and diff coverage are table stakes in modern tooling and are not delivered here.
  • You need support, SLAs, or community answers — there is no community; the dependents count is zero.
  • You want a maintained dependency for a compliance or security review — an archived 2015 package will fail it.

Practical rule: treat this as a reference implementation to read, not a dependency to install.

How to Pitch It (Stakeholders)

Executives: This is a 2015 integration between a niche PHP spec framework (Peridot) and a code-coverage library (Cloak). It is archived, has zero recorded dependents, and has had no release in a decade. It carries no vendor support, no security patching, and no strategic value. Recommendation: do not adopt, allocate no budget, and do not let it appear on an architecture diagram.

Engineering: The value is conceptual, not operational. It demonstrates a clean adapter between a test runner and an instrumentation layer — worth an hour of reading if we build similar tooling. If we still maintain Peridot suites, reimplementing this wiring is roughly a day's work and preferable to depending on it. The migration path is Peridot → PHPUnit/Pest and Cloak → PCOV, which is faster, maintained, and PHP 8-ready.

Risk and action: Technical risk from ignoring it is low; the real risk is process drift — legacy Peridot teams may assume coverage is "handled" and ship without gates. Action: inventory any Peridot usage, set a sunset date, and standardize coverage reporting on PCOV in CI so the question stops recurring.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle