Context
The package does not emit any Laravel events. Dispatching CircuitExecuted and EntropyGenerated after a successful run would be idiomatic for a Laravel package and would unlock common cross-cutting needs without the user having to wrap calls: logging, auditing, cost/usage tracking, and metrics.
It also composes naturally with the existing design — AbstractQuantumDriver::executeCircuit() / generateEntropy() are the single choke points where such events would be dispatched, and event assertions (Event::fake()) would complement Quantum::fake() for testing.
Context
The package does not emit any Laravel events. Dispatching
CircuitExecutedandEntropyGeneratedafter a successful run would be idiomatic for a Laravel package and would unlock common cross-cutting needs without the user having to wrap calls: logging, auditing, cost/usage tracking, and metrics.It also composes naturally with the existing design —
AbstractQuantumDriver::executeCircuit()/generateEntropy()are the single choke points where such events would be dispatched, and event assertions (Event::fake()) would complementQuantum::fake()for testing.