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 Phpunit Laravel Package

php-mock/php-mock-phpunit

Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code.

View on GitHub
Deep Wiki
Context7
2.15.0

What's Changed

Full Changelog: https://github.com/php-mock/php-mock-phpunit/compare/2.14.0...2.15.0

2.13.1

What's Changed

Full Changelog: https://github.com/php-mock/php-mock-phpunit/compare/2.13.0...2.13.1

2.12.0

What's Changed

Full Changelog: https://github.com/php-mock/php-mock-phpunit/compare/2.11.0...2.12.0

2.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/php-mock/php-mock-phpunit/compare/2.10.0...2.11.0

2.7.2

What's Changed

Full Changelog: https://github.com/php-mock/php-mock-phpunit/compare/2.7.1...2.7.2

2.6.1
  • #51 Adds phpspec/prophecy as dev dependency
2.6.0
  • #45 Adds PHPUnit 9 support
2.5.0
  • #40 Adds PHPUnit 8.3 and 8.4 support
2.4.0
  • #37 adds PHPUnit 8.2 support
  • #37 removes HHVM support
2.3.0
  • #35 adds PHPUnit 8.1 support
2.2.0
  • #31 adds PHPUnit 8 support
2.1.2

Added:

  • #30 adds PHPUnit 7.4 support
2.1.1

Added:

  • #28 adds PHPUnit 7.1 support
2.1.0

Added:

  • #27 adds PHPUnit 6.5 and 7.0 support

Removed:

  • #27 removes abstract methods getMockBuilder and getTestResultObject in PHPMock trait
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.
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode