Architecture / Installation

Architecture / Installation

Re: Composer not found problem

posts: 34

I'm running Tiki on Windows Server 2016 and I use Composer through command line.
I wasn't able to get it working through the webinterface, but with these steps it's a working solution for Tiki 20.x:

- Install composer on your server https://getcomposer.org/Composer-Setup.exe
- Create a composer.json file in the web root with the content:

	"name": "YOURWEBSITE",
	"description": "",
	"license": "LGPL-2.1",
	"homepage": "YOURURL",
	"minimum-stability": "stable",
	"require": {
		"psr/log": "^1.0",
		"google/apiclient": "^2.2.2",
		"enygma/expose": "^3.0",
        "thiagoalessio/tesseract_ocr": "^2.7.0",
		"mpdf/mpdf": "^7.1",
        "xorti/mxgraph-editor": "^",		
        "npm-asset/pdfjs-dist-viewer-min": "~2.1.266",
        "bower-asset/wodo.texteditor": "^0.5.9",
		"j0k3r/php-readability": "^1.1.10",
		"npm-asset/pdfjs-dist": "~2.0.487",
		"media-alchemyst/media-alchemyst": "^0.5.1",
        "mathjax/mathjax": "^2.7",
		"npm-asset/lozad": "^1.6.0",
		"fullcalendar/fullcalendar-scheduler": "^1.9",
		"jerome-breton/casperjs-installer": "dev-master"
	"config": {
		"process-timeout": 5000,
		"bin-dir": "bin",
		"component-dir": "vendor/components"
	"repositories": [
			"type": "composer",
			"url": "https://composer.tiki.org"

- Open CMD in Windows and type:
composer update

Repeat last step when you want to update the packages to the last version.

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.