Libraries tagged by Mock Builder
codeception/stub
82638679 Downloads
Flexible Stub wrapper for PHPUnit's Mock Builder
easy-http/mock-builder
43736 Downloads
A fluid interface to build HTTP mocks with an expressive syntax
crimsonkissaki/mockmaker
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.
voral/mock-builder-bitrix
9 Downloads
Расширение для voral/mock-builder добавляющее готовые настройки для генерации моков ядра Битрикс
voral/mock-builder
45 Downloads
A PHP utility to generate mock classes by processing source code, leaving only public methods and clearing their bodies. Supports PSR-4 and is ideal for testing complex systems without Dependency Injection.
silencedis/phpunit-mock-helper
1357 Downloads
A convenient helper for creating mock objects for phpunit. The helper uses the phpunit's mock builder. But it allows to create a mock object in one step using simple configuration.
hungdx/mock-builder
38 Downloads
The Mock builder for Laravel Framework. Use for unit test
yaknet/mock-engine
4 Downloads
In-memory SQL-like query builder and execution engine for PHP arrays
mf1dd/object-builder
1 Downloads
Automatically creates fully populated PHP object instances with random, type-safe values. Designed for test fixtures and runtime object generation. Supports all PHP class types — regular classes, readonly classes, abstract classes, enums, traits, interfaces, and built-in stock classes like DateInterval or ArrayObject. Recursively resolves nested object graphs, detects property names for semantically meaningful values (timezone, email, firstname …), and offers constraint-based value ranges via a fluent API. No framework required; zero runtime dependencies beyond nikic/php-parser. PHP 8.2+.
cydrickn/laravel-query-factory
13 Downloads
Query Factory use for easily mock your query builder without sending query from real database
pressgang-wp/quartermaster
26 Downloads
Fluent WordPress query builder for WP_Query and WP_Term_Query — composable meta_query, tax_query and date_query, WordPress-native with no ORM or lock-in
romeoz/rock-url
1444 Downloads
A simple PHP library to parse and builder URLs
romeoz/rock-mongodb
668 Downloads
Object Document Mapper (ODM) for MongoDB.