DraftCode includes standard open source PHP (v5.6.30 and v7.2.12*) with all typically available PHP extensions like MySQL, SQLite, PDO, Curl, GD*, OpenSSL, FTP, XML, JSON, SOAP and more (A complete phpinfo output is available on our website). All code execution happens right inside DraftCode and therefore works completely offline.
(*PHP v7.2.2, also including the GD extension, requires an additional in-app purchase)
DraftCode's runtime behaves exactly like your normal webserver environment, handles cookies, sessions, POST/GET/PUT, but is faster and more tightly integrated for development purposes. During execution the DraftCode runtime allows inspection of session content or PHP errors, highlights lines causing PHP errors back in the code editor and lets you switch between different PHP versions easily.
DraftCode optionally lets you run your code fullscreen in a Kiosk mode, or execute PHP files as "scripts" without a web context.
DraftCode includes a code editor with PHP and JS syntax coloring in a dark and light colour scheme, and adjustable font size. Keyboard extensions that offer quick access to common code snippets and characters help the coding process with the on-screen keyboard.
Import your existing projects as zip archives, individual files or folders from other Apps via "Open in..." or via the Document Picker which gives access to all available file locations including iCloud. Import is also supported via iTunes file sharing.
DraftCode lets you manage files and folders in your workspace including moving, renaming, zip/unzip, duplication, and sending files to other iOS applications or iCloud Drive.
DraftCode fully supports multitasking, split screen and working with an external keyboard, including keyboard shortcuts.
DraftCode natively supports all resolutions of iPhones, iPads and iPad Pros.
INCLUDED PHP PACKAGES
DraftCode includes standard WordPress 4 as an installable package. With just one tap you can run WordPress offline and develop themes and plugins for the popular platform.
DraftCode includes phpMyAdmin as an installable package to connect to external MySQL databases.
DraftCode includes phpLiteAdmin as an installable package to manage and investigate local SQLite databases.
For more information and answers to frequently asked questions please head over to DraftCode's website.
- Fixes an issue with video playback of local files using video tags
Great! I've been frequently using draftCode when leaning PHP. This is the rare App of PHP IDE on iOS. This app fullfilled my demand for functionality when leaning PHP.
- enable to use wordPress completely offline.
- enable to use RDBMS(SQLite3) completely offline.
- enable to run PHP, of cours!
- UI is uncomfortable to use.
[my request for UI]
*File operation(Rename, New file, Move)
*Editing(Undo, Redu, Additional keyboard)
Thanks for your review.
Please note that the file operations you request are all already available using the usual swipe gestures on the file or the buttons at the bottom of the file viewer (new file/folder, move).
Undo/Redo is also available in the editor's toolbar at the top.
Thanks for your review - Please note that the fact that PHP7 requires an in-app purchase is explicitly pointed out in the AppStore description.