2017 © Pedro Peláez
 

cakephp-plugin cakedesktop

Export your entire CakePHP webapplication to a standalone Windows desktop application (.exe)

image

stefanvangastel/cakedesktop

Export your entire CakePHP webapplication to a standalone Windows desktop application (.exe)

  • Monday, February 24, 2014
  • by stefanvangastel
  • Repository
  • 3 Watchers
  • 7 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CakePHP-Cakedesktop

Table of Contents

, (*1)

Intro

Download a complete CakePHP webapplication as a full standalone Windows (XP, 7 or 8) desktop application. Configure the packaged application to your needs before creating it using the simple webinterface. The aim is to supply a pure PHP application packager, therefore no shellscripts or exec() functions are used., (*2)

Some key features:, (*3)

  • Generated applications settings are customizable via webinterface
  • MySQL database is converted to local Sqlite database
  • Loaded Php extensions on webserver are also loaded in generated applications php.ini (if available) for maximized compatibility
  • Plugin assets (js and css) are also used correctly. You application will look, feel and work extactly like you webapplication.
  • Webserver REMOTE_USER spoof option. If you run the dekstop application on a Windows system with a domain user logged in, the application can set that user as the REMOTE_USER. This is very nice if your applications authentication is based on this server variable. (e.g. Kerberos or LDAP auth)

This plugin is in development. Some things like the MySQL to Sqlite database conversion may need work., (*4)

The awesome phpdesktop project is used to provide the standalone Windows enviroment. The Chrome-driven variant is used for this plugin., (*5)

, (*6)

Requirements

  • CakePHP >= 2.3
  • php-sqlite3 extension
  • MySQL datasource for current webapplication (More datasource support comming)
  • Plugin assets are included

The packaged application is running a Mongoose webserver, PHP 5.4 and uses Chromium (Chromium Emebeded Framework) to view the app. Read more about this on the phpdesktop website. Currently using the 5.4 version to keep Windows XP compatible., (*7)

, (*8)

Installation and Setup

  1. Check out a copy of the Cakedesktop CakePHP plugin from the repository using Git :, (*9)

    git clone http://github.com/stefanvangastel/CakePHP-Cakedesktop.git, (*10)

    or download the archive from Github:, (*11)

    https://github.com/stefanvangastel/CakePHP-Cakedesktop/archive/master.zip, (*12)

    You must place the Cakedesktop CakePHP plugin within your CakePHP 2.x app/Plugin directory., (*13)

    or load it with composer:, (*14)

    "stefanvangastel/cakedesktop": "dev-master", (*15)

  2. Make sure app/Plugin/Cakedesktop/tmp is writable by the webserver user., (*16)

  3. Load the plugin in app/Config/bootstrap.php:, (*17)

    CakePlugin::load('Cakedesktop');, (*18)

, (*19)

Usage

Open http(s)://yourapp.com/cakedesktop/ and create your application!, (*20)

The application is served as a zip file containing all the stuff you need to run your application. Extract the contents and run the .exe file provided., (*21)

The Versions

24/02 2014

dev-master

9999999-dev

Export your entire CakePHP webapplication to a standalone Windows desktop application (.exe)

  Sources   Download

MIT

The Requires

 

by Stefan van Gastel