Libraries tagged by function mock
crimsonkissaki/mockmaker
42 Downloads
Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.
gaurang/asynchronous
3 Downloads
This function will open socket and ask socket to initiate php call by given $url and parameters, In that function we have functionality of our needs. It just initiate just url with parameters and returns your process will complete soon so, it's work like asynchronous.
osushi/simple-socket
243 Downloads
This library can create socket client simply. It is written by php native socket functions.
diego03/php-sockets
1 Downloads
A very simpler wrapper to socket_* functions
mccomaschris/lockr-stubs
17 Downloads
Based on paulthewalton/acf-stubs. Lockr plugin function, class, and global variable declaration stubs for easier static analysis.
unb-libraries/dockworker-baseimage
20 Downloads
Provides functions related to building base docker images for applications.
tumtum/mock-extern-service
575 Downloads
To mock service like mail or UDP socket for functional Tests. TDD, PHPUnit
hzanchu/cockpit
125 Downloads
php helpers class
ericfortmeyer/mock-extern-service
8 Downloads
To mock service like mail or UDP socket for functional Tests. TDD, PHPUnit
brezgalov/php-simple-file-locker
10 Downloads
Simple file locker for php from http://php.net/manual/ru/function.flock.php#117162
substacks/zebra_session
12 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.
msst/byte-buffer
466 Downloads
A wrapper for the PHP pack() function. Simple handling of bytes in PHP (original by Ole 'nesQuick' Michaelis)
rocketweb/module-ui-core
7531 Downloads
Helper functions and custom Magento 2 UI components
rocketman/polyfill-mb_sprintf
13 Downloads
Polyfill for the mb_sprintf and mb_vsprintf functions
ock/helpers
1275 Downloads
Helper functions and classes used by other packages in the ock ecosystem.