Skip to content

ctx2002/filechange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use this package

<?php
require_once __DIR__ . "./vendor/autoload.php";

use Softwarewisdom\DirMonitor\DirMonitor;

$obj = new DirMonitor(__DIR__, ['exclude_dir' => ['vendor', '.idea']]);
while (1) {
    /** @var string $item*/
    foreach ($obj->scan() as $item) {
        dump($item);
    }
    sleep(5);
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages