Requirements

For mockfs to be installed, your system should have at least:

Composer

It’s recommended to install mockfs as a dev dependency using Composer:

composer require bizurkur/mockfs --dev

If you don’t have Composer installed, be sure to check out their download page.

Download

If you don’t want to use Composer to install, you have a couple alternatives: