philasearch/io
最新稳定版本:1.0.0
Composer 安装命令:
composer require philasearch/io
包简介
An io library for PHP
README 文档
README
PHP IO
PHP IO is a small library built to work with directories and folders.
Usage
<?php use Philasearch\IO\Directory as Directory; use Philasearch\IO\File as File; $dir = new Directory( '/path/to/directory' ); $files = $dir->getFiles(); // returns an array of files foreach ( $files as $file ) { $file->readFile(); // returns the file contents as a string $file->getPath(); // returns the file path $file->getName(); // returns the file name }
统计信息
- 总下载量: 33.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-01-04