What's New

This version of DraftCode contains bugfixes.

If you like DraftCode, please leave a review in the App Store, it really helps. Thank you.

App Description

Run and develop PHP, JavaScript, HTML, CSS locally on your iPad or iPhone (or an Apple Silicon Mac), offline and 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 by default includes PHP 7.3.16. (An additional runtime for PHP 8.0.28 is available as an in App purchase.)

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
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 note:
- 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"

iPhone Screenshots

(click to enlarge)

DraftCode Offline PHP IDE screenshot 1 DraftCode Offline PHP IDE screenshot 2 DraftCode Offline PHP IDE screenshot 3 DraftCode Offline PHP IDE screenshot 4

iPad Screenshots

(click to enlarge)

DraftCode Offline PHP IDE screenshot 5 DraftCode Offline PHP IDE screenshot 6 DraftCode Offline PHP IDE screenshot 7 DraftCode Offline PHP IDE screenshot 8

App Changes

  • June 08, 2014 Initial release
  • August 02, 2014 Price decrease: $9.99 -> $8.99
  • August 04, 2014 New version 1.3.3
  • September 30, 2014 New version 1.3.4
  • November 14, 2014 New version 1.4
  • November 16, 2014 Price decrease: $8.99 -> $5.99
  • January 02, 2015 Price increase: $5.99 -> $8.99
  • February 03, 2015 Price decrease: $8.99 -> $5.99
  • April 22, 2015 New version 1.4.1
  • June 17, 2015 Price increase: $5.99 -> $6.99
  • June 28, 2015 Price decrease: $6.99 -> $5.99
  • November 14, 2015 Price increase: $5.99 -> $6.99
  • February 19, 2016 New version 1.5
  • February 19, 2016 Price increase: $6.99 -> $9.99
  • February 20, 2016 New version 1.5.1
  • March 15, 2016 New version 1.5.2
  • March 20, 2016 New version 1.5.3
  • June 22, 2016 Price increase: $9.99 -> $14.99
  • June 30, 2016 Price decrease: $14.99 -> $10.99
  • November 05, 2016 New version 1.5.4
  • June 14, 2019 New version 1.9.1
  • June 14, 2019 Price decrease: $10.99 -> $9.99
  • June 16, 2019 Price decrease: $10.99 -> $9.99
  • December 02, 2019 Price increase: $9.99 -> $10.99
  • January 28, 2020 New version 1.9.3
  • July 14, 2020 New version 1.9.5
  • July 14, 2020 Price decrease: $10.99 -> $4.99
  • October 22, 2020 Price increase: $4.99 -> $5.99
  • October 08, 2021 New version 1.10
  • October 08, 2021 Price decrease: $5.99 -> $4.99
  • September 16, 2023 New version 1.13.2
  • September 16, 2023 Price increase: $4.99 -> $9.99