Weave Code
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

Phpunit Service Create Trait Laravel Package

pkly/phpunit-service-create-trait

Laravel/PHP trait that helps you quickly create service instances in PHPUnit tests, reducing boilerplate when setting up dependencies. Handy for service-layer unit tests where you want consistent, reusable test setup.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
graham-campbell/testbench-core 0.87 Core testing utilities for Laravel packages, maintained by Graham Campbell. Provides lightweight TestBench components compatible with Laravel 8–13, PHP 7.4–8.5, and PHPUnit 9–12 to simplify package test setup and integration. 14 16 0 10K 0 25.2 44.6 MIT 2 months ago
View on GitHub
Context7
miladimos/laravel-toolkit 0.84 7 7 2 0 0 0.1
View on GitHub
Context7
rybakit/phpunit-extras 0.83 Handy extras for PHPUnit: custom constraints and assertions plus test helpers to write clearer, more expressive PHP tests. Drop-in utilities that reduce boilerplate and improve failure messages, fitting naturally into existing PHPUnit suites. 47 47 1 827 0 0.3 MIT 3 years ago
View on GitHub
Context7
seec/phpunit-consecutive-params 0.83 Bring back PHPUnit’s removed withConsecutive behavior. This lightweight dev helper provides a drop-in replacement via a trait, letting you assert different parameter sets across consecutive mock calls using ->with(...$this->withConsecutive(...)). 18 18 2 35K 0 2.3 45.2 GPL-3.0 1 year ago
View on GitHub
Context7
drjele/symfony-phpunit 0.83 Symfony bridge for running PHPUnit tests with a simple, consistent setup. Provides helpers and configuration to integrate PHPUnit into Symfony projects, smoothing bootstrapping and test execution across environments. 0 0 0 0.0
View on GitHub
Context7
adroit11/laravel-tests 0.83 Reusable Laravel testing package with publishable test stubs, custom assertions, and helper utilities. Drop into Laravel 10/11 (PHP 8.1+) and run with PHPUnit or Pest to speed up common feature and integration testing setups. 2 2 0 0 0 0.0
View on GitHub
Context7
draw/tester 0.83 Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. 0 0 0 2K 0 0.0 44.8 MIT
View on GitHub
Context7
b2pweb/bdf-phpunit 0.83 Laravel/PHPUnit helper package for working with BDF/SEPA bank files in tests. Provides utilities and test assertions to validate BDF structures and parsing results, making it easier to write reliable unit tests around banking file imports. 0 0 0 197 0 0.0 31.7 MIT
View on GitHub
Context7
wyrihaximus/test-utilities 0.83 A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions). 7 7 1 51K 6 29.9 65.4 MIT 1 month ago
View on GitHub
Context7
phpunit/phpunit 0.82 PHPUnit is the de facto unit testing framework for PHP, based on the xUnit architecture. Run tests, make assertions, and generate reports via PHAR or Composer-installed tooling. Maintained by Sebastian Bergmann and contributors. 20,038 20,551 2,223 14M 19 80.9 54.5 BSD-3-Clause 2 weeks ago
View on GitHub
Context7
zetacomponents/unit-test 0.82 eZ Components Unit Test package (Zeta Components) provides a PHPUnit-like testing framework for PHP, with test case classes, assertions, and test suite execution. Useful for legacy apps using the ezc libraries or needing a lightweight unit test runner. 2 2 12 67 0 0.4 18.9 NOASSERTION
View on GitHub
Context7
contributte/phpunit 0.82 PHPUnit integration helpers by Contributte for PHP projects. Provides lightweight tooling and conventions to simplify writing, running, and organizing tests, with sensible defaults and compatibility aimed at smoother CI and developer experience. 1 2 2 1K 0 11.9 MIT 5 months ago
View on GitHub
Context7
digitalrevolution/phpunit-extensions 0.79 3 3 2 4K 1 22.2 46.2 MIT 3 months ago
View on GitHub
Context7
maks3w/phpunit-methods-trait 0.77 PHP trait exposing PHPUnit TestCase helper methods for use inside reusable test traits. Lets traits call mocking, expectations, and other TestCase APIs without extending TestCase directly; assertions are via PHPUnit\Framework\Assert. 1 2 1 23 0 2.8 15.2 NOASSERTION 5 years ago
View on GitHub
Context7
herrera-io/phpunit-test-case 0.77 PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. 1 1 0 77 0 0.0 15.6 MIT
View on GitHub
Context7
phpunitgoodpractices/traits 0.75 A small set of PHP traits to improve PHPUnit test code by reducing boilerplate and encouraging cleaner, reusable assertions and setup patterns. Useful for Laravel and general PHP projects that want more readable, maintainable tests. 22 22 1 12K 3 2.6 26.9 MIT 3 years ago
View on GitHub
Context7
kkszymanowski/traitor 0.74 Traitor brings traits to Eloquent like first-class relations. Define reusable, composable model fragments and access them via $model->traitName, eager load with with('traitName'), and query through them—keeping models slim while sharing behavior and attributes. 130 130 3 120K 1 3.5 40.9 MIT 2 years ago
View on GitHub
Context7
ekino/sonata 0.71 4 4 11 0 3 2.6 3.8 MIT 5 years ago
View on GitHub
Context7
bentools/helpfultraits 0.70 Deprecated, unmaintained repository of small PHP helper traits. No longer maintained and may be removed soon; consider forking if you still depend on it. 1 1 0 0 0 0.0
View on GitHub
Context7
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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui