Escher is an open-source web application framework written in PHP. This project is a repackaged form of Escher specifically designed for ease of use with the Git version control system.
- Fork and/or clone the escher-project repository.
- In a shell terminal, navigate to your local repository.
- Run
git submodule init
, thengit submodule update
. - Complete
config-sample.php
and rename the file toconfig.php
.
If you do not plan on using Git, you should not create from the escher-project repository. Please see the main Escher repository or the website for other options.
Custom applications in Escher are created as plugins. Create a short, simply-named folder within the plugins directory and create your application here.
Example:
/path/to/project# cd plugins/
/path/to/project/plugins# mkdir myproject
/path/to/project/plugins# cd myproject
/path/to/project/plugins/myproject# vim plugin.myproject.php
...
Most of your work should occur in this plugin. Configuration options should be saved in config.php
.
Remember to add your plugin and commit work to your Git repository as you would with any other project.
Note: It is a good idea to merge onto a temporary branch instead of your master
branch.
- Make sure your local repository is clean.
- Run
git fetch escher master
(where "escher" is the name of theescher-project
remote). - Run
git merge escher/master
. - If necessary, resolve any merge conflicts and commit.
Escher is dual-licensed under the MIT and GPL licenses. Please see the MIT License and GNU General Public License for details.