Mkdir

Create folder(s) with recursive function.

Installation

composer require mediashare/kernel
Bash

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();
PHP

MarquandT

Ethical Hacker ~ Web Developper ~ Hosting Provider ~ Crypto Enthusiast ~ Automation Expert Bitcoin donation: 32Uu4NKGnxSPC7UukYXVyRHwbppbQpKVki

Comments

You must login to send a comment.