Mkdir

Create folder(s) with recursive function.

Installation

composer require mediashare/kernel
1

Execute

<?php
// ./index.php
require 'vendor/autoload.php'
use Mediashare\Kernel\Kernel;
$kernel = new Kernel();
$kernel->run();

$mkdir = $kernel->get('Mkdir');
$mkdir->setPath(__DIR__.'/folder1/folder2');
$mkdir->run();
1
2
3
4
5
6
7
8
9
10
Last Updated: 1/28/2020, 4:20:18 AM