| Recommend this page to a friend! | 
| Info | Example | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 106 | All time:  9,710 This week: 47 | ||||
| Version | License | PHP version | Categories | |||
| index-file 1.0.3 | MIT/X Consortium ... | 5.2 | PHP 5, Files and Folders | 
| Description | Author  | |
This is a simple class that can initialize a directory with a template index file.  | 
<?php
   // include the class file
    include( strtolower( 'IndexFile.class.php' ) );
   // a directory to place the new file inside
   $workspace = realpath( './workspace' );
   // static call to create new file
   IndexFile::create( $workspace );
  | 
| File | Role | Description | 
|---|---|---|
| Example | An example of how to use the IndexFile class. | |
| Class | IndexFile class file | |
| Data | The html5 template file | |
| Data | Read me file | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 0% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.