Search by

Packages from patterns · Transparency log

  • PHP

    patterns/event-channel

    Event Channel pattern - a transport-agnostic contract for publishing and subscribing to named events.

  • PHP

    patterns/filesystem

    Filesystem pattern - the seven operations every storage backend can honour, plus an opt-in capability for the ones that can describe a path.

  • PHP

    patterns/guard

    Guard pattern - validate inputs and preconditions early, returning a Result instead of throwing.

  • PHP

    patterns/result

    Result pattern - represent the outcome of operations that might fail, explicitly and without exceptions.

  • PHP

    patterns/unit

    Unit pattern - a named, versioned identity for code that produces data, so every record can say which unit and which version made it.

  • PHP

    patterns/value-object

    Value Object pattern - immutable, self-validating domain objects that compare by value.