Libraries tagged by function mock

freerkminnema/synchronized

2 Favers
4261 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.

Go to Download


voku/session2db

32 Favers
19965 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.

Go to Download


rocksheep/enum-helpers

0 Favers
12258 Downloads

A collection of helper functions for working with enums in PHP

Go to Download


baraja-core/lock

2 Favers
131780 Downloads

Simple PHP function lock system.

Go to Download


sil-org/google-api-php-client-mock

0 Favers
1309 Downloads

Attempting to create an intelligent mock of the Google API PHP Client for unit and functional testing.

Go to Download


pbweb/mimic

2 Favers
8595 Downloads

Mimic classes for functional testing

Go to Download


yakeing/php_fsockopen

52 Favers
141 Downloads

fsockopen is the wrapper function for socket socket links

Go to Download


rocklobsterinc/functions

0 Favers
86 Downloads

Rock Lobster's PHP function library

Go to Download


mouf/utils.common.lock

1 Favers
67556 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.

Go to Download


crimsonkissaki/mockmaker

4 Favers
44 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.

Go to Download


ock/helpers

0 Favers
1475 Downloads

Helper functions and classes used by other packages in the ock ecosystem.

Go to Download


gaurang/asynchronous

4 Favers
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.

Go to Download


osushi/simple-socket

4 Favers
244 Downloads

This library can create socket client simply. It is written by php native socket functions.

Go to Download


diego03/php-sockets

2 Favers
1 Downloads

A very simpler wrapper to socket_* functions

Go to Download


mccomaschris/lockr-stubs

0 Favers
18 Downloads

Based on paulthewalton/acf-stubs. Lockr plugin function, class, and global variable declaration stubs for easier static analysis.

Go to Download


<< Previous Next >>