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 Expect Plugin

Peridot Expect Plugin Laravel Package

expect/peridot-expect-plugin

Peridot plugin that adds Expect-style assertions to your specs, so you can write expressive expect($value)->to... checks inside Peridot tests. Install with Composer and enable the plugin in your Peridot configuration for readable, behavior-driven PHP testing.

View on GitHub
Deep Wiki
Context7

Peridot Expect Plugin integrates the expressive Expect assertion library with the Peridot PHP testing framework. It registers Expect's matchers inside Peridot specs, letting you write fluent expectations like expect($value)->to->be->equal(42) instead of verbose assertions, while keeping Peridot's plugin-based, BDD-style runner.

  • Registers Expect globally for use in any Peridot spec
  • Enables fluent, chainable matchers (to->be, to->have, etc.)
  • Supports custom matchers via Expect's extensible API
  • Seamless setup through Peridot's standard plugin configuration
  • Works with Peridot's scoped subjects and it() blocks

Ideal for teams wanting readable, self-documenting test suites.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource