Dir.php Interfaces, Classes, Traits and Enums Dir The `Dir` class provides methods for dealing with directories on the file system level, like creating, listing, moving, copying or evaluating directories etc.