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.
In conjunction with PHP you can also use your normal stack of JavaScript and CSS as you would on any other webserver.
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.
INCLUDED PACKAGES
WORDPRESS 4
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.
PHPMYADMIN
DraftCode includes phpMyAdmin as an installable package to connect to external MySQL databases.
PHPLITEADMIN
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.