The easiest way to keep your Elgg site up-to-date is by using Composer. Composer will take care of installing all the required dependencies of all plugins and Elgg, while also keeping those depencies up-to-date without having conflicts.
composer self-update composer create-project elgg/starter-project:dev-master ./path/to/my/project cd ./path/to/my/project composer install
This will create a composer.json file based of the Elgg starter project which has the basics of installing Elgg.
Open your browser¶
Go to your browser and install Elgg via the installation interface
This step is optional but highly recommended. It’ll allow you to easily manage the installation of the same plugin versions between environments (development/testing/production).
cd ./path/to/my/project git init git add . git commit -a -m 'Initial commit' git remote add origin <git repository url> git push -u origin master
Install plugins as Composer depencies. This assumes that a plugin has been registered on Packagist
composer require hypejunction/hypefeed composer require hypejunction/hypeinteractions # whatever else you need
composer.lock is not ignored in
git add . git commit -a -m 'Add new plugins' git push origin master