mirror of
https://github.com/netfun2000/pheditor.git
synced 2026-02-27 09:45:14 +08:00
7d7c76bad5fe813674aa8cae2bf41ab9e7abaa57
Pheditor
Pheditor is a single-file editor and file manager written in PHP.
Features
- Editor with syntax highlighting
- File Manager (create, rename and delete files and directories)
- Password protected area
- Keeping the history of edited files and changes
- Keyboard shortcuts
Install & Usage
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
Hotkeys:
- New File
Ctrl (CMD) + Shift + N - Save File
Ctrl (CMD + Shift + S - Switch between file manager and editor
Esc
Languages
PHP
100%