DraftCode Offline PHP IDE
By Solesignal Limited
This app is only available on the App Store for iOS devices.
Using DraftCode you can develop PHP applications completely offline on your iPad or iPhone. And now you can import your source code too.
DraftCode includes standard PHP 5.6.30 (compiled from php.net source) and includes all popular PHP extensions like MySQL, SQLite, Curl, OpenSSL, SOAP and more. (A complete phpinfo output is available on our website).
DraftCode's runtime is a full webserver environment. It runs real world PHP code that uses POST/GET, sessions, cookies, redirects, AJAX etc. all right inside the App. You get instant feedback on errors in your code or you can review session content from within the App without adding logging to your code.
The output of your PHP is rendered using WebKit, the same rendering engine powering Mobile Safari.
DraftCode includes a code editor with PHP 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 or individual files via "Open in..." from other Apps, via the Document Picker which gives access to all available file locations including iCloud, or via iTunes file sharing.
DraftCode lets you manage files and folders in your workspace including zipping and unzipping of archives, moving files and folders around and sending files to other iOS applications.
DraftCode fully supports multitasking and working with an external keyboard, including keyboard shortcuts.
DraftCode includes 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.
What's New in Version 1.6.7
- DraftCode's workspace is now available in File Browser in iOS 11
- Added support for (non standards conform) relative Location headers aka Location: some.php
- Fixes an issue with access to camera or photo library in preview browser crashing
Great start but iOS falls short?
Ok, l know this is a huge undertaking and iOS is severely limited so far as a development tool. What issue this app seems to suffer from is as a developer, I can’t really work on a plugin in WordPress while WP is running.
Pretty ineffective to have to start and stop WP each time to edit a file and then see the result rendered.
Update: I contacted the developer and he has been VERY responsive to my concerns. He has provided some ideas for workflow that seem acceptable. Running web apps on iOS is no small feat. My hope is that this app will be well supported and the product will continue to be updated.