PHPackages                             sebastianknott/dev-utils - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sebastianknott/dev-utils

ActiveLibrary

sebastianknott/dev-utils
========================

This is a collection of stuff I need for developing.

0.4.0(3y ago)0275GPL-3.0-onlyPHPPHP ^8.1.0

Since Aug 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sebastianknott/dev-utils)[ Packagist](https://packagist.org/packages/sebastianknott/dev-utils)[ RSS](/packages/sebastianknott-dev-utils/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (8)Dependencies (29)Versions (10)Used By (0)

Development Utilities of Sebastian Knott
========================================

[](#development-utilities-of-sebastian-knott)

... or in short DUSK (Yeah. That's how I roll) is a tool set for my personal development projects. It helps me get things of the ground rather quick and keeps things hassle free and automated. I try to keep things civil, so it SHOULD work with php &gt;= 7.2, but I will focus on running up-to-date versions of PHP.

Whats included?
---------------

[](#whats-included)

Here comes a short list of stuff you can find here.

### Unit Tests Tools

[](#unit-tests-tools)

For UnitTest I personally prefer the obvious.

- [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit)
- [mockery/mockery](https://packagist.org/packages/mockery/mockery)
- [phake/phake](https://packagist.org/packages/phake/phake)
- [hamcrest/hamcrest-php](https://packagist.org/packages/hamcrest/hamcrest-php)
- [sebastianknott/hamcrest-object-accessor](https://packagist.org/packages/sebastianknott/hamcrest-object-accessor)
- [infection/infection](https://packagist.org/packages/infection/infection)

#### DevUtilsTestCase

[](#devutilstestcase)

I included a new base class for unit tests called `DevUtilsTestCase`. This class will have an instance of faker and my personal `SystemUnderTestFactory`. Additionally the global functions of mockery and hamcrest are accessible in your test class.

```
