Files and Folders: aFiles
Sylvain Rabot (contact me)
This class can be used to perform several general purpose operations to manipulate files and folders. It can:
- List the files and the folders in a directory with recursive option
- Create files with a given content string
- Read the contents of a file into a string or into an array line by line
- Create a directory with given permissions
- Copy or move files and folders to a given directory
- Remove files or folders recursively
- Retrieve the attributes of given files and directories
- Retrieve the size of files or whole folders
- Serialize the content of a var into a file
- Unserialize a serial contained in a file
- Parse a file into an array
- Make a ini file from an array (take care of sections)
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Perfect (100.0%)
| Good (91.7%)
| -
| -
| -
| -
| Not sure (59.2%)
| 701 |
Click here for detailed information about this class on phpclasses.org