Pheditor is a single-file editor and file manager written in PHP.
- Editor with syntax highlighting
- File Manager (create, rename and delete files and directories)
- Password protected area
- Keeping the history of edited files and changes
Install using composer:
composer require hamidsamak/pheditor dev-master
or just upload pheditor.php
to your web host (and/or rename it as you wish).
NOTES:
- The default password is
admin
. Please change the password after install or first login. - As the script gives permission to edit files, it is recommended to keep the address secret or protected depending on the web-server you are using.
Optional settings:
The settings would be editable in the main PHP file (pheditor.php by default). The settings are as below:
- Editable formats (list of allowed file extensions to edit)
- Log file path
- Show/Hide hidden files
- Limit access to the page only for an IP address (empty means access for all)
- Show/Hide main pheditor file (pheditor.php) in files list to edit
- History files path
- Word wrap