Download the PHP package xtreamwayz/phpbb-installer without Composer
On this page you can find all versions of the php package xtreamwayz/phpbb-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xtreamwayz/phpbb-installer
More information about xtreamwayz/phpbb-installer
Files in xtreamwayz/phpbb-installer
Package phpbb-installer
Short Description Composer installer script to install phpBB 3.1 into the web root
License MIT
Homepage https://github.com/xtreamwayz/phpbb-installer
Informations about the package phpbb-installer
Composer phpBB 3.1 installer
This is a composer script which installs phpBB 3.1 to a given web root. The phpbb files are copied from its vendor dir. Existing files are overwritten. So make sure you don't hack the phpBB source files but use extensions and child themes.
Although this is tested on Windows 8.1 and vagrant-phpbb, use at your own risk!!! Make backups and preferable use a test server before messing up your production server.
To let phpBB know where the vendor lib is located, 2 settings are added to .htaccess
. So don't hack into this file.
Getting Started
-
In your composer.json project file require phpbb-installer.
"require": { "xtreamwayz/phpbb-installer": "dev-master", "phpbb/phpbb": "3.1.*", "composer/installers": "~1.0" }
-
Add the installer scripts.
"scripts": { "post-update-cmd": "XtreamWayz\\PhpbbInstaller\\ScriptHandler::install", "post-install-cmd": "XtreamWayz\\PhpbbInstaller\\ScriptHandler::install" },
-
Configure the
php-install-dir
and theinstaller-paths
for phpBB extensions, styles and languages."extra": { "phpbb-install-dir" : "public", "installer-paths": { "public/ext/{$vendor}/{$name}/" : ["type:phpbb-extension"], "public/styles/{$name}/" : ["type:phpbb-style"], "public/language/{$name}/" : ["type:phpbb-language"] } }
-
Add phpBB extensions and themes.
"require": { ... "xtreamwayz/activity": "dev-master", "xtreamwayz/portal": "dev-master", "xtreamwayz/tools": "dev-master" }, "require-dev": { "nicofuma/webprofiler": "~1.0", }
Run composer install
or composer update
.
A full working example can be viewed in the vagrant-phpbb project.