PHP Package: pestphp/pest-plugin-mutate
Pest plugin mutate for efficient mutation testing in PHP applications, enhancing code reliability and test coverage.
Package Description
Pest plugin mutate is a powerful tool designed to streamline mutation testing processes in PHP projects. By facilitating the generation of mutated code and highlighting potential weaknesses, this plugin significantly improves overall code quality and testing thoroughness. Incorporating mutation testing practices leads to more robust and reliable software development cycles, ensuring that your applications perform optimally in diverse scenarios.
- Pest\Mutate\Boostrappers\BootSubscribers
- Pest\Mutate\Boostrappers\BootPhpUnitSubscribers
- Pest\Mutate\Contracts\Printer
- Pest\Mutate\Contracts\Mutator
- Pest\Mutate\Contracts\Subscriber
- Pest\Mutate\Contracts\MutationTestRunner
- Pest\Mutate\Contracts\MutatorSet
- Pest\Mutate\Contracts\Configuration
- Pest\Mutate\Contracts\Event
- Pest\Mutate\Repositories\MutationRepository
- Pest\Mutate\Repositories\TelemetryRepository
- Pest\Mutate\Repositories\ConfigurationRepository
- Pest\Mutate\Support\Configuration\AbstractConfiguration
- Pest\Mutate\Support\Configuration\TestConfiguration
- Pest\Mutate\Support\Configuration\CliConfiguration
- Pest\Mutate\Support\Configuration\GlobalConfiguration
- Pest\Mutate\Support\Configuration\Configuration
- Pest\Mutate\Support\MutationCache
- Pest\Mutate\Support\PhpParserFactory
- Pest\Mutate\Support\MutatorMap
- Pest\Mutate\Support\MutationGenerator
- Pest\Mutate\Support\ResultCache
- Pest\Mutate\Support\FileFinder
- Pest\Mutate\Support\Printers\DefaultPrinter
- Pest\Mutate\Support\StreamWrapper
- Pest\Mutate\Support\DocGenerator
- Pest\Mutate\Support\NodeVisitor
- Pest\Mutate\Subscribers\DisplayInitialTestRunMessage
- Pest\Mutate\Subscribers\TrackMutationSuiteStart
- Pest\Mutate\Subscribers\PrinterSubscriber
- Pest\Mutate\Subscribers\PrepareForInitialTestRun
- Pest\Mutate\Subscribers\StopOnUntestedMutation
- Pest\Mutate\Subscribers\TrackMutationSuiteFinish
- Pest\Mutate\Subscribers\StopOnUncoveredMutation
- Pest\Mutate\Subscribers\EnsureInitialTestRunWasSuccessful
- Pest\Mutate\Options\ParallelOption
- Pest\Mutate\Options\StopOnUntestedOption
- Pest\Mutate\Options\ProfileOption
- Pest\Mutate\Options\EverythingOption
- Pest\Mutate\Options\MinScoreOption
- Pest\Mutate\Options\ClassOption
- Pest\Mutate\Options\MutationIdOption
- Pest\Mutate\Options\StopOnUncoveredOption
- Pest\Mutate\Options\IgnoreMinScoreOnZeroMutationsOption
- Pest\Mutate\Options\BailOption
- Pest\Mutate\Options\CoveredOnlyOption
- Pest\Mutate\Options\IgnoreOption
- Pest\Mutate\Options\NoCacheOption
- Pest\Mutate\Options\ExceptOption
- Pest\Mutate\Options\MutateOption
- Pest\Mutate\Options\ClearCacheOption
- Pest\Mutate\Options\RetryOption
- Pest\Mutate\Options\ProcessesOption
- Pest\Mutate\Options\MutatorsOption
- Pest\Mutate\Options\PathOption
- Pest\Mutate\Mutation
- Pest\Mutate\Mutators\Laravel\Unwrap\LaravelUnwrapStrUpper
- Pest\Mutate\Mutators\Laravel\Remove\LaravelRemoveStringableUpper
- Pest\Mutate\Mutators\Equality\IdenticalToNotIdentical
- Pest\Mutate\Mutators\Equality\EqualToNotEqual
- Pest\Mutate\Mutators\Equality\IdenticalToEqual
- Pest\Mutate\Mutators\Equality\NotEqualToNotIdentical
- Pest\Mutate\Mutators\Equality\GreaterOrEqualToGreater
- Pest\Mutate\Mutators\Equality\GreaterOrEqualToSmaller
- Pest\Mutate\Mutators\Equality\SmallerOrEqualToSmaller
- Pest\Mutate\Mutators\Equality\SmallerToGreaterOrEqual
- Pest\Mutate\Mutators\Equality\NotIdenticalToIdentical
- Pest\Mutate\Mutators\Equality\NotIdenticalToNotEqual
- Pest\Mutate\Mutators\Equality\NotEqualToEqual
- Pest\Mutate\Mutators\Equality\GreaterToSmallerOrEqual
- Pest\Mutate\Mutators\Equality\SmallerToSmallerOrEqual
- Pest\Mutate\Mutators\Equality\EqualToIdentical
- Pest\Mutate\Mutators\Equality\GreaterToGreaterOrEqual
- Pest\Mutate\Mutators\Equality\SpaceshipSwitchSides
- Pest\Mutate\Mutators\Equality\SmallerOrEqualToGreater
- Pest\Mutate\Mutators\Array\UnwrapArrayUdiff
- Pest\Mutate\Mutators\Array\ArrayKeyLastToArrayKeyFirst
- Pest\Mutate\Mutators\Array\UnwrapArrayIntersectAssoc
- Pest\Mutate\Mutators\Array\UnwrapArrayUintersect
- Pest\Mutate\Mutators\Array\UnwrapArrayIntersectKey
- Pest\Mutate\Mutators\Array\UnwrapArrayUdiffAssoc
- Pest\Mutate\Mutators\Array\ArrayShiftToArrayPop
- Pest\Mutate\Mutators\Array\UnwrapArrayCombine
- Pest\Mutate\Mutators\Array\UnwrapArrayCountValues
- Pest\Mutate\Mutators\Array\UnwrapArrayIntersectUassoc
- Pest\Mutate\Mutators\Array\UnwrapArraySplice
- Pest\Mutate\Mutators\Array\UnwrapArrayUintersectAssoc
- Pest\Mutate\Mutators\Array\UnwrapArrayChangeKeyCase
- Pest\Mutate\Mutators\Array\UnwrapArrayReduce
- Pest\Mutate\Mutators\Array\UnwrapArrayKeys
- Pest\Mutate\Mutators\Array\UnwrapArrayPad
- Pest\Mutate\Mutators\Array\UnwrapArrayReplaceRecursive
- Pest\Mutate\Mutators\Array\UnwrapArrayIntersect
- Pest\Mutate\Mutators\Array\UnwrapArrayUnique
- Pest\Mutate\Mutators\Array\UnwrapArrayReplace
- Pest\Mutate\Mutators\Array\UnwrapArraySlice
- Pest\Mutate\Mutators\Array\UnwrapArrayChunk
- Pest\Mutate\Mutators\Array\UnwrapArrayUdiffUassoc
- Pest\Mutate\Mutators\Array\UnwrapArrayMergeRecursive
- Pest\Mutate\Mutators\Array\UnwrapArrayReverse
- Pest\Mutate\Mutators\Array\UnwrapArrayDiffAssoc
- Pest\Mutate\Mutators\Array\UnwrapArrayMap
- Pest\Mutate\Mutators\Array\UnwrapArrayValues
- Pest\Mutate\Mutators\Array\UnwrapArrayColumn
- Pest\Mutate\Mutators\Array\UnwrapArrayMerge
- Pest\Mutate\Mutators\Array\UnwrapArrayDiffUkey
- Pest\Mutate\Mutators\Array\ArrayPopToArrayShift
- Pest\Mutate\Mutators\Array\UnwrapArrayFlip
- Pest\Mutate\Mutators\Array\UnwrapArrayDiffKey
- Pest\Mutate\Mutators\Array\UnwrapArrayDiff
- Pest\Mutate\Mutators\Array\UnwrapArrayUintersectUassoc
- Pest\Mutate\Mutators\Array\UnwrapArrayIntersectUkey
- Pest\Mutate\Mutators\Array\ArrayKeyFirstToArrayKeyLast
- Pest\Mutate\Mutators\Array\UnwrapArrayDiffUassoc
- Pest\Mutate\Mutators\Array\UnwrapArrayFilter
- Pest\Mutate\Mutators\Visibility\ConstantPublicToProtected
- Pest\Mutate\Mutators\Visibility\PropertyPublicToProtected
- Pest\Mutate\Mutators\Visibility\ConstantProtectedToPrivate
- Pest\Mutate\Mutators\Visibility\FunctionPublicToProtected
- Pest\Mutate\Mutators\Visibility\PropertyProtectedToPrivate
- Pest\Mutate\Mutators\Visibility\FunctionProtectedToPrivate
- Pest\Mutate\Mutators\Removal\RemoveNullSafeOperator
- Pest\Mutate\Mutators\Removal\RemoveEarlyReturn
- Pest\Mutate\Mutators\Removal\RemoveFunctionCall
- Pest\Mutate\Mutators\Removal\RemoveArrayItem
- Pest\Mutate\Mutators\Removal\RemoveMethodCall
- Pest\Mutate\Mutators\Math\RoundToCeil
- Pest\Mutate\Mutators\Math\FloorToRound
- Pest\Mutate\Mutators\Math\MinToMax
- Pest\Mutate\Mutators\Math\MaxToMin
- Pest\Mutate\Mutators\Math\RoundToFloor
- Pest\Mutate\Mutators\Math\CeilToFloor
- Pest\Mutate\Mutators\Math\FloorToCiel
- Pest\Mutate\Mutators\Math\CeilToRound
- Pest\Mutate\Mutators\Return\AlwaysReturnNull
- Pest\Mutate\Mutators\Return\AlwaysReturnEmptyArray
- Pest\Mutate\Mutators\String\UnwrapWordwrap
- Pest\Mutate\Mutators\String\UnwrapStrtolower
- Pest\Mutate\Mutators\String\UnwrapStripTags
- Pest\Mutate\Mutators\String\UnwrapUcfirst
- Pest\Mutate\Mutators\String\UnwrapChunkSplit
- Pest\Mutate\Mutators\String\UnwrapHtmlspecialchars
- Pest\Mutate\Mutators\String\UnwrapHtmlspecialcharsDecode
- Pest\Mutate\Mutators\String\EmptyStringToNotEmpty
- Pest\Mutate\Mutators\String\UnwrapMd5
- Pest\Mutate\Mutators\String\UnwrapStrPad
- Pest\Mutate\Mutators\String\UnwrapHtmlEntityDecode
- Pest\Mutate\Mutators\String\UnwrapHtmlentities
- Pest\Mutate\Mutators\String\UnwrapNl2br
- Pest\Mutate\Mutators\String\UnwrapLtrim
- Pest\Mutate\Mutators\String\UnwrapStrrev
- Pest\Mutate\Mutators\String\UnwrapRtrim
- Pest\Mutate\Mutators\String\UnwrapStrRepeat
- Pest\Mutate\Mutators\String\ConcatRemoveRight
- Pest\Mutate\Mutators\String\UnwrapStrtoupper
- Pest\Mutate\Mutators\String\UnwrapChop
- Pest\Mutate\Mutators\String\NotEmptyStringToEmpty
- Pest\Mutate\Mutators\String\ConcatRemoveLeft
- Pest\Mutate\Mutators\String\UnwrapStrIreplace
- Pest\Mutate\Mutators\String\UnwrapStrShuffle
- Pest\Mutate\Mutators\String\StrEndsWithToStrStartsWith
- Pest\Mutate\Mutators\String\UnwrapLcfirst
- Pest\Mutate\Mutators\String\UnwrapTrim
- Pest\Mutate\Mutators\String\StrStartsWithToStrEndsWith
- Pest\Mutate\Mutators\String\UnwrapUcwords
- Pest\Mutate\Mutators\String\ConcatSwitchSides
- Pest\Mutate\Mutators\String\UnwrapSubstr
- Pest\Mutate\Mutators\String\UnwrapStrReplace
- Pest\Mutate\Mutators\Sets\NumberSet
- Pest\Mutate\Mutators\Sets\ControlStructuresSet
- Pest\Mutate\Mutators\Sets\LaravelSet
- Pest\Mutate\Mutators\Sets\MathSet
- Pest\Mutate\Mutators\Sets\DefaultSet
- Pest\Mutate\Mutators\Sets\CastingSet
- Pest\Mutate\Mutators\Sets\RemovalSet
- Pest\Mutate\Mutators\Sets\ReturnSet
- Pest\Mutate\Mutators\Sets\VisibilitySet
- Pest\Mutate\Mutators\Sets\EqualitySet
- Pest\Mutate\Mutators\Sets\LogicalSet
- Pest\Mutate\Mutators\Sets\ArithmeticSet
- Pest\Mutate\Mutators\Sets\AssignmentSet
- Pest\Mutate\Mutators\Sets\ArraySet
- Pest\Mutate\Mutators\Sets\StringSet
- Pest\Mutate\Mutators\Number\DecrementInteger
- Pest\Mutate\Mutators\Number\IncrementInteger
- Pest\Mutate\Mutators\Number\IncrementFloat
- Pest\Mutate\Mutators\Number\DecrementFloat
- Pest\Mutate\Mutators\ControlStructures\ElseIfNegated
- Pest\Mutate\Mutators\ControlStructures\DoWhileAlwaysFalse
- Pest\Mutate\Mutators\ControlStructures\ContinueToBreak
- Pest\Mutate\Mutators\ControlStructures\IfNegated
- Pest\Mutate\Mutators\ControlStructures\WhileAlwaysFalse
- Pest\Mutate\Mutators\ControlStructures\TernaryNegated
- Pest\Mutate\Mutators\ControlStructures\BreakToContinue
- Pest\Mutate\Mutators\ControlStructures\ForeachEmptyIterable
- Pest\Mutate\Mutators\ControlStructures\ForAlwaysFalse
- Pest\Mutate\Mutators\Casting\RemoveStringCast
- Pest\Mutate\Mutators\Casting\RemoveObjectCast
- Pest\Mutate\Mutators\Casting\RemoveDoubleCast
- Pest\Mutate\Mutators\Casting\RemoveIntegerCast
- Pest\Mutate\Mutators\Casting\RemoveBooleanCast
- Pest\Mutate\Mutators\Casting\RemoveArrayCast
- Pest\Mutate\Mutators\Arithmetic\PreDecrementToPreIncrement
- Pest\Mutate\Mutators\Arithmetic\PreIncrementToPreDecrement
- Pest\Mutate\Mutators\Arithmetic\BitwiseAndToBitwiseOr
- Pest\Mutate\Mutators\Arithmetic\DivisionToMultiplication
- Pest\Mutate\Mutators\Arithmetic\MinusToPlus
- Pest\Mutate\Mutators\Arithmetic\PostDecrementToPostIncrement
- Pest\Mutate\Mutators\Arithmetic\ShiftRightToShiftLeft
- Pest\Mutate\Mutators\Arithmetic\BitwiseOrToBitwiseAnd
- Pest\Mutate\Mutators\Arithmetic\PostIncrementToPostDecrement
- Pest\Mutate\Mutators\Arithmetic\MultiplicationToDivision
- Pest\Mutate\Mutators\Arithmetic\ShiftLeftToShiftRight
- Pest\Mutate\Mutators\Arithmetic\PlusToMinus
- Pest\Mutate\Mutators\Arithmetic\PowerToMultiplication
- Pest\Mutate\Mutators\Arithmetic\BitwiseXorToBitwiseAnd
- Pest\Mutate\Mutators\Arithmetic\ModulusToMultiplication
- Pest\Mutate\Mutators\Assignment\BitwiseAndToBitwiseOr
- Pest\Mutate\Mutators\Assignment\DivideEqualToMultiplyEqual
- Pest\Mutate\Mutators\Assignment\ShiftRightToShiftLeft
- Pest\Mutate\Mutators\Assignment\BitwiseOrToBitwiseAnd
- Pest\Mutate\Mutators\Assignment\ShiftLeftToShiftRight
- Pest\Mutate\Mutators\Assignment\CoalesceEqualToEqual
- Pest\Mutate\Mutators\Assignment\MultiplyEqualToDivideEqual
- Pest\Mutate\Mutators\Assignment\MinusEqualToPlusEqual
- Pest\Mutate\Mutators\Assignment\ModulusEqualToMultiplyEqual
- Pest\Mutate\Mutators\Assignment\BitwiseXorToBitwiseAnd
- Pest\Mutate\Mutators\Assignment\PlusEqualToMinusEqual
- Pest\Mutate\Mutators\Assignment\PowerEqualToMultiplyEqual
- Pest\Mutate\Mutators\Assignment\ConcatEqualToEqual
- Pest\Mutate\Mutators\Abstract\AbstractFunctionReplaceMutator
- Pest\Mutate\Mutators\Abstract\AbstractMutator
- Pest\Mutate\Mutators\Abstract\AbstractFunctionCallUnwrapMutator
- Pest\Mutate\Mutators\Logical\LogicalOrToLogicalAnd
- Pest\Mutate\Mutators\Logical\TrueToFalse
- Pest\Mutate\Mutators\Logical\InstanceOfToTrue
- Pest\Mutate\Mutators\Logical\InstanceOfToFalse
- Pest\Mutate\Mutators\Logical\BooleanAndToBooleanOr
- Pest\Mutate\Mutators\Logical\BooleanOrToBooleanAnd
- Pest\Mutate\Mutators\Logical\FalseToTrue
- Pest\Mutate\Mutators\Logical\CoalesceRemoveLeft
- Pest\Mutate\Mutators\Logical\RemoveNot
- Pest\Mutate\Mutators\Logical\LogicalAndToLogicalOr
- Pest\Mutate\Mutators\Logical\LogicalXorToLogicalAnd
- Pest\Mutate\Mutators\Concerns\HasName
- Pest\Mutate\Mutators
- Pest\Mutate\Exceptions\InvalidMutatorException
- Pest\Mutate\Exceptions\StreamWrapperException
- Pest\Mutate\Plugins\Mutate
- Pest\Mutate\MutationTest
- Pest\Mutate\Cache\NullStore
- Pest\Mutate\Cache\FileStore
- Pest\Mutate\Tester\MutationTestRunnerFake
- Pest\Mutate\Tester\MutationTestRunner
- Pest\Mutate\Event\Events\Test\HookMethod\BeforeFirstTestExecuted
- Pest\Mutate\Event\Events\Test\HookMethod\BeforeFirstTestExecutedSubscriber
- Pest\Mutate\Event\Events\Test\Outcome\TestedSubscriber
- Pest\Mutate\Event\Events\Test\Outcome\Uncovered
- Pest\Mutate\Event\Events\Test\Outcome\UntestedSubscriber
- Pest\Mutate\Event\Events\Test\Outcome\Untested
- Pest\Mutate\Event\Events\Test\Outcome\Tested
- Pest\Mutate\Event\Events\Test\Outcome\UncoveredSubscriber
- Pest\Mutate\Event\Events\Test\Outcome\TimeoutSubscriber
- Pest\Mutate\Event\Events\Test\Outcome\Timeout
- Pest\Mutate\Event\Events\TestSuite\StartMutationSuiteSubscriber
- Pest\Mutate\Event\Events\TestSuite\StartMutationGeneration
- Pest\Mutate\Event\Events\TestSuite\FinishMutationSuiteSubscriber
- Pest\Mutate\Event\Events\TestSuite\StartMutationSuite
- Pest\Mutate\Event\Events\TestSuite\FinishMutationSuite
- Pest\Mutate\Event\Events\TestSuite\FinishMutationGenerationSubscriber
- Pest\Mutate\Event\Events\TestSuite\StartMutationGenerationSubscriber
- Pest\Mutate\Event\Events\TestSuite\FinishMutationGeneration
- Pest\Mutate\Event\Facade
- Pest\Mutate\Event\Emitter
- Pest\Mutate\MutationSuite
- Pest\Mutate\Factories\NodeTraverserFactory
- Pest\Mutate\MutationTestCollection
Download Latest Version: 4.0.1

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/pestphp/pest-plugin-mutate/4.0.1/loader.php';
require_once 'libs/pestphp/pest/4.1.2/loader.php';
require_once 'libs/infection/infection/{lib_version}/loader.php';
use PestMutate\Mutator;
use PestMutate\MutateCommand;
use Infection\Mutator\Mutator;
$obj = new Mutator();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.