xtreamwayz/phpbb-installer
最新稳定版本:v2.0.0
Composer 安装命令:
composer require xtreamwayz/phpbb-installer
包简介
Composer installer script to install phpBB 3.1 into the web root
README 文档
README
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-dirand theinstaller-pathsfor 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.
统计信息
- 总下载量: 131
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-20