Weave Code
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle