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

Php Mock Integration Laravel Package

php-mock/php-mock-integration

Integration layer for php-mock, making it easy to use PHP function mocks within popular test frameworks. Helps you stub built-in functions like time(), rand(), and file operations in specific namespaces, enabling reliable, isolated unit tests without touching global state.

View on GitHub
Deep Wiki
Context7
3.0.0

What's Changed

BC Break:

  • MockDelegateFunctionBuilder::build
    • generates now a class, not an abstract class (so also the delegate method is no longer an abstract method)
    • when $functionName argument is provided the generated class contains public method with that name without any parameters
    • hash in the namespace of generated class is created from the provided $functionName and derive arguments (not just derived arguments as before)

New Contributors

Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.4.0...3.0.0

3.0.0-beta1

What's Changed

New Contributors

Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.4.0...3.0.0-beta1

2.5.0-beta1

[!CAUTION] Actually PR #13 is a BC Break, so we are going to move it into 3.0.0 instead, so 2.5.0 is not going to be published.

What's Changed

New Contributors

Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.4.0...2.5.0-beta1

2.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.3.0...2.4.0

2.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/php-mock/php-mock-integration/compare/2.2.0...2.2.1

2.1.0
  • #1 Added PHPUnit 9 support
  • #1 Added PHP 7.2, 7.3 and 7.4 support
  • #1 Removed HHVM support
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels