There is no license information available for the latest version (1.0.0) of this package.

An io library for PHP

Installs: 31 569

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

pkg:composer/philasearch/io

1.0.0 2014-09-09 14:25 UTC

This package is not auto-updated.

Last update: 2025-10-07 07:24:05 UTC


README

Latest Stable Version Total Downloads Build Status

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
}