33% OFF

DraftCode for PHP IDE

Run PHP offline on your device

1.14.2 for iPhone, iPad
$9.99 · $14.99
9.5

24 Ratings

Update Date

2025-07-16

Size

150.3 MB

Screenshots for iPhone

iPhone
DraftCode for PHP IDE Description
Develop and run PHP, JavaScript, HTML, CSS locally on your iPad or iPhone (or an Apple Silicon Mac), without requiring an internet connection.
Run Apps as complex as WordPress or phpMyAdmin right on your device.

Freely choose your workspace location on your device, either inside DraftCode, or in the folder of a Git Client like WorkingCopy, on iCloud or other services that offer selectable folder locations.

Access your PHP Web App from other Apps on your iPad while in Split Screen mode, for example Mobile Safari or Brave.

DraftCode includes the standard PHP stack including PHP extensions typically available on a server: MySQL, SQLite, PDO, Curl, OpenSSL, FTP, XML, JSON, SOAP, GD and more.

DraftCode can run different versions of PHP and you can switch between them:

- Includes PHP 7.3
- Includes PHP 8.0
- (via in-App Purchase): PHP 8.1
- (via in-App Purchase): PHP 8.2


DraftCode Features:

- Execute PHP/JS/HTML/CSS without requiring an internet connection
- Run Apps as complex as WordPress on your device for offline development
- Support for selecting a custom workspace folder in supported other Apps (like Git clients) or iCloud
- Includes a Session Inspector showing state of current session variables
- Shows PHP errors
- PHP and JavaScript syntax colouring
- Internal keyboard support with coding accessory
- External keyboard support with additional keyboard shortcuts
- Multitasking and split-screen support on iPad
- Includes PHP packages: WordPress, phpMyAdmin, Composer and more
- File workspace including support to zip, unzip, copy, move or duplicate files or folders
- Code import/export from iCloud Drive, other Apps or iTunes file sharing
- Kiosk mode that runs you PHP code fullscreen
- Script mode to run PHP scripts without a web context or timeout


INCLUDED PHP PACKAGES

WORDPRESS 6.8
With just one tap you can run WordPress offline (using the included WordPress SQLite plugin) and develop themes and plugins for the popular platform.

PHPMYADMIN
Connect to EXTERNAL MySQL databases (MySQL is NOT included).

PHPLITEADMIN
Work with local SQLite databases.

COMPOSER
Use Composer v.2.1.12 to efficiently manage your dependencies. The package also includes an example project.

For more information and answers to frequently asked questions please visit DraftCode's website. (Please follow the "Developer Website" link below.)

Please note:
- Included packages might not yet support all PHP versions available (check their website)
- DraftCode's runtime currently does not support re-write rules
- A MySQL database is NOT included. (We recommend using SQLite when working completely offline.)
- A phpinfo() output of the current available runtime configurations is available on the DraftCode website, please follow the "Developer Website" link below.
- In-App purchase pricing can be reviewed on this App Store page under "Information" by tapping the triangle next to 'In-App Purchases"
DraftCode for PHP IDE 1.14.2 Update
2025-07-16
- PHP 8.0 Runtime is now included for free
- Updated included Wordpress and its SQLite plugin
- General bugfixes and improvements
More Information
Price:
$9.99
Version:
1.14.2
Size:
150.3 MB
Update Date:
2025-07-16
Developer:
Solesignal Limited
Language:
English

Safe to Download

AppPure.com and the download link of this app are 100% safe. The download link of this app will be redirected to the official App Store site, thus the app is original and has not been modified in any way.

Got it
X
Share

Share this page with your friends if you find it useful

Facebook Linkedin Pinterest Tumblr Twitter Whatsapp Line
1.14.2 2025-07-16
- PHP 8.0 Runtime is now included for free
- Updated included Wordpress and its SQLite plugin
- General bugfixes and improvements
1.14.1 2024-04-21
Included Packages Update:

Updated included WordPress to v6.5 and SQLite plugin to v2.1.9 to avoid an issue where the automatic WordPress update during setup would make it incompatible with the included SQLite plugin.
1.14 2024-04-04
- New Runtimes for PHP 8.1 and PHP 8.2 (require one-time in-App purchase)
- Source editor improvements

- Fixes an issue where the source editor could loose its position when interacting with other parts of the interface
1.13.2 2023-08-17
This version of DraftCode contains bugfixes.

If you like DraftCode, please leave a review in the App Store, it really helps. Thank you.
1.13.1 2023-05-19
- Bugfixes
1.13 2023-04-30
This version includes several major changes and improvements. We hope you like them.
If you like DraftCode and want to support it, please post a good review on the App Store.
If you experience any issues, please get in touch with DraftCode support.

NEW

- Updated icon
- Rewritten server component
- Now uses the modern rendering engine used in Safari today (fixing many website compatibility issues)
- PHP environment now available at http://127.0.0.1:8080 for other Apps on iPad (while DraftCode is running, for example in Split View together with another iOS browser).
- Runtime for PHP 8 updated to 8.0.28
- Changed default max_upload_filesize to 256M
- Changed default post_max_size to 256M
- WordPress updated to v6.1.1


IMPROVEMENTS

- SVG files are now editable as text
- External keyboard improvements, including additional keyboard shortcuts

BUGFIXES

- Issues when using on an Apple Silicon Mac
- Several other minor bugfixes and improvements
1.12.1 2022-11-25
- Fixes a layout issue on iPhone
- Improved workflow when creating new files
1.11 2021-11-22
- PHP 7.3 including GD is now the included default
- Removed old PHP 5 and PHP 7.2 runtimes
- Updated Composer package to latest version

BUGFIXES
- Fixes OpenSSL certificate verification issues by updating included root certificates
1.10 2021-08-21
- New PHP 8.0.9 Runtime (requires In-App Purchase)

Updated included PHP packages to support PHP 8:
- WordPress (v5.8)(including SQLite plugin)
- phpMyAdmin (v4.7)
- phpSqliteAdmin (1.9.9 dev)
1.9.5 2020-04-21
Thank you for your support. If you like DraftCode, please leave a review on the App Store, it really helps!
If you can, please support DraftCode via the in App purchases too.

NEW
- New additional PHP 7.3 runtime available via in App purchase (same extensions than 7.2)
- Included WordPress package has been updated to v5.4

BUGFIXES
- Custom HTTP request headers now reflected correctly (this fixes problems with PHP relying on custom headers from AJAX requests, like the WordPress block editor)
- Fixes an issue with code error highlighting and PHP 7
1.9.4 2020-04-02
Thank you for your support. If you like DraftCode, please leave a review on the App Store, it really helps!
If you can, please make sure to get that PHP 7 runtime IAP too.
Hope you are all ok out there. Don't let that virus get you down!

New
* JavaScript errors and JavaScript console.log messages visible in session inspector
* Includes composer v1.8.4 as an installable package (requires PHP 7 runtime)

PHP Runtime Improvements
* PHP5 and PHP7 OpenSSL cert (path defined as openssl.cafile) is now accessible inside open_basedir
* PHP7 increased memory limit

Bugfixes
* Fixes UI issues when using dark mode
* Fixes an issue where PHP errors from previous session would not be cleared correctly
1.9.3 2020-01-25
New in 1.9.3:

- Fixes as issue with Kiosk mode

New in 1.9.2:

- Updated PHP 7 runtime (7.2.24), now also including calendar extension
- Settings now allow increased maximum allowed font size up to 30px

BUGFIXES
- Fixes issue where video or audio would not play back automatically
- Fixes issue where the onscreen keyboard could hide part of the source code view
- Fixes issue where HTTP_USER_AGENT would not contain the correct value
1.9.2 2020-01-21
- Updated PHP 7 runtime (7.2.24), now also including calendar extension
- Settings now allow increased maximum allowed font size up to 30px

BUGFIXES
- Fixes issue where video or audio would not play back automatically
- Fixes issue where the onscreen keyboard could hide part of the source code view
- Fixes issue where HTTP_USER_AGENT would not contain the correct value
1.9.1 2013-02-13
BUGFIXES - Fixes an issue with video playback of local files using video tags
1.9 2019-02-13
New Features
- Execute a PHP file as a script (by swiping right on a file) without timeout or web context
- Run your PHP code fullscreen in "Kiosk mode"

Runtime
- PHP 7 updated to 7.2.12, added fileinfo extension
- PHP 5 and 7: Raised file upload limit to 100M

Bugfixes
- Finally fixed an issue that prevented ThinkPHP (and possibly other projects) from running correctly
- Fixed an issue with keyboard shortcuts
- Several other improvements and bug fixes

If you like DraftCode, please don't forget to leave a review in the AppStore. Thanks!
1.8.1 2018-09-12
Code editor bugfixes
1.8 2018-07-29
New:
- File and Folder workflows now available as swipe actions:
- Rename, share/export, zip, unzip
- New: Duplicate

- Code editor now supports syntax colouring for javascript and js files
- Improved support for importing text that is not UTF-8 encoded.
- Raw html output view supports syntax colouring

Bugfixes and improvements:
- General performance improvements
- In-App purchases
- File imports from other Apps
1.7.6 2018-04-17
Code editor bugfixes
- Fixing a rare crash
- Improving preserving indentation
1.7.5 2018-04-09
- PHP 7 now includes GD extension
- New keyboard accessory, now also supporting iPhones
- Editor improvements
1.7 2018-03-19
- New additional PHP v7.2.2 runtime (requires in-app purchase)
- Minor bugfixes
1.6.8 2018-03-01
- iPhone X support
- Syntax colouring improvements
1.6.7 2017-11-06
NEW
- DraftCode's workspace is now available in File Browser in iOS 11

IMPROVEMENTS
- Added support for (non standards conform) relative Location headers aka Location: some.php

BUGFIXES
- Fixes an issue with cookies generated in client space (javascript) not visible to PHP
- Fixes an issue with cookies generated in PHP not visible in client space (javascript)
- Fixes an issue with access to camera or photo library in preview browser crashing
1.6.6 2017-10-05
- Added SSL support to Curl extension
- Automatically disables smart quotes for the source editor in iOS 11

If you like DraftCode, please consider rating it or posting a positive review. Thank you.
1.6.5 2017-09-11
- added PHP curl extension

Please help DraftCode by posting a review or rate this version in the App Store. It really helps, thanks!
1.6.4 2017-08-22
Runtime bugfixes:
- Fixes an issue with http status being 0 instead of 200 (mainly affecting AJAX)
- Fixes an issue where query parameters in redirect headers would get lost
- Location header can now also be lowercase
1.6.3 2017-07-19
If you like this version of DraftCode, please post a review or rating to the AppStore. Thanks.

Improvements:
- Document Picker import now allows import of folders from locations that support it
- Document import now imports to the currently selected workspace location
- Settings now allows the automatic popup of the error/session inspector when an error occurs to be disabled

Included Packages:
- Included WordPress updated to v4.8

Bugfixes:
- Fixes an issue where particular redirect methods could lead to redirect loops
- Fixes an issue with default selection when descending into a folder
1.6.2 2017-06-14
Thanks to Apple for improving the rules for code executing development tools in the App Store and now allowing import of source code into the App.

This is a first update to enable document import:

- via "Open in..." from another App
- via the Document Picker now available in the file browser that gives access to all file locations including iCloud
- via iTunes or Apple Configurator

Stay tuned for further updates.
1.6.1 2017-04-19
IMPROVEMENTS
- Improved syntax colouring
- Improved support for non UTF-8 encoded files
- Support to force opening unknown files as text files

BUGFIXES
- Fixes a runtime issue affecting cookies that are not key value pairs
- Fixes a runtime issue affecting pho responses that were not text/html
- Fixes an issue with file name sorting in file viewer

PACKAGES
- Now includes phpMyAdmin (to access external MySQL database)
1.6 2017-03-21
NEW
- Undo/Redo support in the code editor
- Keyboard shortcut support when using an external keyboard
- A new Session Inspector to review session content when running your code
- Improved back/forward navigation in the browser view
- Runtime updated to PHP 5.6.30

BUGFIXES
- Fixes an issue with zip/deflate content-types produced by php
- Other bugfixes

Thanks for all the feedback and requests. If some of it did not make it into this version, it will be on our list for a future update.
If you like DraftCode, please rate and review this version on the App Store. It is much appreciated.
If you experience any issues, please have a look at our help page which also includes the support e-mail address.
1.5.4 2016-10-07
Reviews start afresh for each new version.
If you like DraftCode please rate and review this version, thanks!

- Fixes an issue with external keyboards causing interface inconsistencies
- Hides accessory when external keyboard is used to not obscure toolbar
- Fixes an issue where REQUEST_URI would be incorrect when index.php would be automatically appended when loading a folder url
- Wordpress will continue to work after updating it
- Other minor improvements and bugfixes

Thanks for all the feedback and feature requests.
This is just a small bugfix release until we are ready with a bigger update.
1.5.3 2016-03-21
- Fixes an issue when viewing PHP errors on iPhone
- Allows editing of JSON files

If you like DraftCode please re-rate this version in the App Store. It really helps, thanks!
1.5.2 2016-03-15
New Features:
- Built-in support to unzip zip archives and zip folders
- Multitasking support (including iPad split screen support)

Bugfixes:
- Fixes an issue with on-screen keyboard and device rotation or App switching on iPad
- Fixes an issue with certificate verification in OpenSSL
- Fixes interface issues on iPad Pro

If you like DraftCode please re-rate this version in the App Store. It really helps, thanks!
1.5.1 2016-02-20
- Bugfixes
1.5 2016-02-18
If you like DraftCode, please review it again in the App Store. It really helps!

- Updated PHP to v5.6.17
- Updated included Wordpress to 4.4.2
- New option to select a php file to execute independent of editing
- URL visible and editable during execution
- Support for iPad Pro resolution
- Several bugfixes
- 64 Bit
1.4.1 2015-04-15
- Improved support for iPhone 6 and iPhone 6 plus
- Fixed an issue that could lead to loosing recent edits when renaming a file
- Improved hardware keyboard support
1.4 2014-11-11
New Features
- Support for iPhone
- New workflow to move files and folders
- New option to better control cookie persistence / purging

Many other improvements and bugfixes.
1.3.4 2014-09-28
Thanks for your patience. Please don't forget to rate this version too.

New in 1.3.4:
- Support for iOS 8
1.3.3 2014-08-03
If you like the update, please help DraftCode and rate/review the new version in the App Store. Thanks.

What's new:
- Additional PHP extensions
- Improved syntax colouring
- Bugfixes
1.3.2 2014-04-26
New

- Install the newly included WordPress package for offline WordPress development with just one tap.

Bugfixes

- Fixing an issue (introduced in 1.3.1) when executing and the initial file or path contained whitespaces
- Improved handling of redirects

If you like the changes please rate and review the new version in the App Store. Thanks.