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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky