Libraries tagged by function mock
cemerson/clock
1982 Downloads
Ultra-simple clock abstraction for PHP 7+, allowing developers to properly mock time-related functions
norwichtech/file-wrapper
22884 Downloads
A simple file system function wrapper that can be easily mocked or stubbed for testing
mookofe/php-benchmark
20 Downloads
PHP library that allows you benchmark and compare the performance of functions
mokka/mokkautils
24 Downloads
Mokka Utility Functions
moc-solucoes/moc-uteis
402 Downloads
Uteis library to developer.
mckayb/phantasy-php
14 Downloads
Curried version of all PHP functions
mackrais-organization/property-transform
0 Downloads
A PHP library for transforming DTO properties using attributes with support for PHP functions, DI services, and nested object transformation.
baraja-core/lock
130619 Downloads
Simple PHP function lock system.
innmind/socket
76957 Downloads
Wrapper to PHP socket functions
voku/session2db
19551 Downloads
A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.
rocksheep/enum-helpers
3707 Downloads
A collection of helper functions for working with enums in PHP
mouf/utils.common.lock
67187 Downloads
A simple package that provides functions to get a lock. Typically, you want to use locks when you want to be sure that 2 actions do not happen at the same time. For instance, if you regularly schedule cron tasks, you might want to be sure the last cron task finished before running the new one. A lock can help you do that.
silinternational/google-api-php-client-mock
15913 Downloads
Attempting to create an intelligent mock of the Google API PHP Client for unit and functional testing.
freerkminnema/synchronized
1282 Downloads
A Laravel package that provides a `synchronized` function that uses atomic locks to prevent a critical section of code from running in parallel across multiple requests.
ock/helpers
1452 Downloads
Helper functions and classes used by other packages in the ock ecosystem.