Dir
The Dir
class provides methods for dealing with directories on the file system level, like creating, listing, moving, copying or evaluating directories etc.
Since 3.6.0
This class used to be called Kirby\Toolkit\Dir
.
Examples
Create a new directory
Create a test folder in the document root of the website