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

Eloquent Mockery Laravel Package

imanghafoori/eloquent-mockery

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
imanghafoori/laravel-makesure 0.87 — 21 21 3 43 1 1.0 6.5 MIT 2 years ago
View on GitHub
imanghafoori/laravel-self-test 0.86 A self-testing toolkit for Laravel apps: write fluent health checks that verify routes, views, configs, and service providers, catching misconfigurations and broken references before they reach production. Run them via artisan or in your test suite. 1,488 1,489 95 0 3 11.0 0.4 MIT 1 year ago
View on GitHub
php-mock/php-mock 0.86 Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). 370 375 19 726K 3 13.0 47.8 WTFPL 9 months ago
View on GitHub
mpyw/laravel-database-mock 0.86 Experimental Laravel package that mocks underlying PDO connections with Mockery, letting you stub SELECT, INSERT, and UPDATE queries and results for fast, database-free tests. Requires PHP 8.2+ and Laravel 11+. 6 6 0 1K 0 13.2 33.9 MIT 4 months ago
View on GitHub
imanghafoori/eloquent-relativity 0.85 Laravel package that lets you declare Eloquent relationships without importing related model classes. Relativity infers the target model from the method name, so hasMany, hasOne, belongsTo and belongsToMany calls stay concise and your models keep fewer use statements. 148 148 13 27 1 1.2 1.0 MIT 2 years ago
View on GitHub
dam-bal/eloquentity 0.85 A Laravel package that extends Eloquent with entity-style models, helping you separate domain entities from database concerns while keeping familiar query building and relationships. Lightweight integration for cleaner, more maintainable applications. 1 — 0 — 5 1.9 2.3 MIT 2 years ago
View on GitHub
bentools/doctrine-static 0.85 Lightweight in-memory Doctrine mock for unit tests. Create ObjectManagers in a ManagerRegistry, persist/remove and flush to a temporary store, and use repository methods like find, findBy, findOneBy, and findAll. Not for real persistence. 2 3 0 55 0 0.0 17.8 — —
View on GitHub
Context7
erikgall/eloquent-phpunit 0.85 Eloquent PHPUnit adds convenient PHPUnit integration for Eloquent models, reducing boilerplate around test setup and database assertions. It helps you verify model behavior and persistence cleanly, making Laravel or standalone Eloquent test suites faster to write and easier to maintain. 20 21 3 35 2 0.9 5.9 MIT 9 years ago
View on GitHub
mpyw/mockery-pdo 0.85 Experimental BDD-style PDO mocking library built on mockery/mockery. Define expectations for prepare/bind/execute and return rows via fetch/fetchAll in a fluent API, making PDO-based code easy to test on PHP 8.2+. 3 3 2 1K 1 5.1 34.5 MIT 10 months ago
View on GitHub
reecem/mocker 0.85 A lightweight Laravel-friendly mocking helper for PHP tests. Quickly define and swap mocks, set expectations, and control return values to simplify unit and feature testing. Designed to reduce boilerplate and keep test setup clean and readable. 7 7 16 2K 2 4.3 33.2 MIT 3 years ago
View on GitHub
sofa/eloquent-testsuite 0.85 — 10 10 2 1K 0 2.5 28.3 MIT 5 years ago
View on GitHub
testmonitor/eloquent-revisable 0.85 Keep a full revision history for your Eloquent models. This package automatically saves snapshots on create, update, and delete, lets you inspect what changed, and restore or revert models to any previous version through a simple, familiar API. 2 2 3 80 0 19.3 23.3 MIT 3 weeks ago
View on GitHub
codenco-dev/eloquent-model-tester 0.85 Test Eloquent models in Laravel with codenco-dev/eloquent-model-tester. It verifies database table structures, relationships, fillable and guarded fields, and more using factories and the simple HasModelTester trait, helping you catch model issues early with less boilerplate in your test suite. 20 20 1 306 2 16.0 17.9 MIT 5 months ago
View on GitHub
nilportugues/eloquent-repository 0.85 A Laravel package that adds a repository layer for Eloquent models, with reusable query criteria, caching support, and cleaner separation between persistence and application logic. 17 — 1 — 3 0.8 0.4 MIT 10 years ago
View on GitHub
mockery/mockery 0.85 Mockery is a flexible PHP mock object framework for unit testing with PHPUnit, PHPSpec, or any other testing framework. It offers a succinct, human-readable DSL for defining test doubles and integrates easily as a drop-in alternative to PHPUnit's mocking library. 10,724 10,808 470 19M 89 84.3 77.1 BSD-3-Clause 2 months ago
View on GitHub
Context7
orkhanahmadov/eloquent-repository 0.85 — 27 27 11 226 2 2.3 14.0 MIT 4 years ago
View on GitHub
imanghafoori/laravel-heyman 0.84 Laravel Heyman adds a layer of defensive authorization to Laravel apps: heyman()->can() and cannot() check gates and policies and throw exceptions on failure, with Blade directives and model-level helpers so you can guard actions consistently without repeating boilerplate. 927 927 36 90 2 6.3 1.3 MIT 2 years ago
View on GitHub
soyhuce/laravel-eloquent-extended 0.84 Soyhuce's Laravel Eloquent Extended adds practical helpers on top of Laravel's ORM, streamlining model definitions, attribute handling and query building so you can write cleaner, more expressive Eloquent code with less boilerplate. 1 1 0 178 0 0.4 29.0 MIT 1 year ago
View on GitHub
janmarek/mockista 0.84 Mockista is a lightweight mocking library for PHP/Laravel that helps you create and configure test doubles quickly. Define expectations, stub methods, and verify calls with a simple, fluent API to keep unit tests fast, readable, and maintainable. 29 29 14 248 2 1.4 14.9 — —
View on GitHub
tmarsteel/mockery-callable-mock 0.84 Create Mockery-friendly callable/function mocks in PHP. Set expectations (with args, counts), return values, stubs, and verify calls or non-calls. Can also wrap a real callable to spy while still invoking it. Requires PHP 7+. 1 1 1 1K 0 0.9 39.7 — 9 years ago
View on GitHub
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core