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

Phpspec Expect Laravel Package

friends-of-phpspec/phpspec-expect

Adds an expect() helper for PhpSpec, enabling expressive assertions like expect($value)->toBe(true) in your specs. Lightweight, dev-only dependency with compatibility across multiple PhpSpec and PHP versions.

View on GitHub
Deep Wiki
Context7

Latest Stable Version Total Downloads Continuous Integration License

phpspec-expect

Install

Install this package as a development dependency in your project:

$ composer require --dev friends-of-phpspec/phpspec-expect

Usage

Inside some example:

expect(file_exists('dummy.txt'))->toBe(true);

Compatibility

phpspec-expect PHP phpspec
3.0.x >=7.0 ^4.0
3.1.x ^7.1 ^5.0 || ^6.0
4.0.x >=7.3 ^6.0 || ^7.0
4.1.x >=8.1 ^7.0 || ^8.0

Authors

Copyright (c) 2017-2020 BossaConsulting (https://github.com/BossaConsulting/phpspec2-expect).

License

Licensed under MIT License.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource