filesite/dirscanner 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

filesite/dirscanner

最新稳定版本:v1.0.0

Composer 安装命令:

composer require filesite/dirscanner

包简介

Dir and file scanner, a PHP implement of filesite.io.

README 文档

README

Directory and file scanner, a PHP implement of filesite.io.

Installation

Install the latest version with

composer require filesite/dirscanner

If you havn't install the composer, check their website: PHP Composer

Basic Usage

<?php

use Filesite\DirScanner;

$scanner = new DirScanner();

$rootDir = __DIR__ . '/../src/';

//set the scan dir src/
$scanner->setRootDir($rootDir);
$maxScanDeep = 1;   //set max scan deepth

//Scan the dir and get the dir tree
$dirTree = $scanner->scan($rootDir, $maxScanDeep);
print_r($dirTree);

//get the scan results in array
$scanResults = $scanner->getScanResults();
print_r($scanResults);

Documentation

Please visit our homepage: FileSite.io

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-12