PHP Classes
elePHPant
Icontem

IndexFile: Initialize a directory with a template index file

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-03-03 (7 months ago) RSS 2.0 feedNot enough user ratingsTotal: 91 All time: 8,496 This week: 1,109Up
Version License PHP version Categories
index-file 1.0.3MIT/X Consortium ...5.2PHP 5, Files and Folders
Description Author

This is a simple class that can initialize a directory with a template index file.

It can take the path of a given directory and copies a given template file to the index.php file.

If the index.php file already exists, it copies the template file to the index-2.php file instead.

Picture of Gavin Gordon Markowski
  Performance   Level  
Name: Gavin Gordon Markowski <contact>
Classes: 7 packages by
Country: Canada Canada
Innovation award
Innovation award
Nominee: 2x

Details
Use 'IndexFile' to quickly and easily create HTML5 boilerplate files in the directory of your choice.

I created this class in order to speed up production of basic files, thus reducing the need for repetitive task handling. 
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.txt Example An example of how to use the IndexFile class.
Plain text file indexfile.class.php Class IndexFile class file
Accessible without login Plain text file IndexFileTemplate.php Data The html5 template file
Accessible without login Plain text file readme.txt Data Read me file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:91
This week:0
All time:8,496
This week:1,109Up