element
Installation
Option 1 - Github
Clone or download the Github Repository
Option 2 - Composer
- If you haven't already done so, install Composer
- Create a directory in your webspace to contain your files
- Create a file named composer.json. See example below (name is optional and can be changed)
- Open command prompt or terminal, cd to directory and input the following command (without quotes)
- Windows: 'composer install'
- Other: 'php composer.phar install'
composer.json example
{
"name" : "element",
"require": {
"elementphp/element": "dev-master"
},
"minimum-stability": "dev",
"prefer-stable": true
}
Option 3 - element assistant
This is new and currently in BETA.
Currently, only the Windows version is available, with Linux and Mac versions to follow.
The assistant can setup and update the framework and create models from database tables.
Windows InstallerWatch Video