2017 © Pedro Peláez
 

library phpbb-installer

Composer installer script to install phpBB 3.1 into the web root

image

xtreamwayz/phpbb-installer

Composer installer script to install phpBB 3.1 into the web root

  • Wednesday, May 20, 2015
  • by xtreamwayz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 77 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

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., (*1)

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., (*2)

To let phpBB know where the vendor lib is located, 2 settings are added to .htaccess. So don't hack into this file., (*3)

Getting Started

  1. In your composer.json project file require phpbb-installer., (*4)

    "require": {
        "xtreamwayz/phpbb-installer": "dev-master",
        "phpbb/phpbb": "3.1.*",
        "composer/installers": "~1.0"
    }
  2. Add the installer scripts., (*5)

    "scripts": {
        "post-update-cmd": "XtreamWayz\\PhpbbInstaller\\ScriptHandler::install",
        "post-install-cmd": "XtreamWayz\\PhpbbInstaller\\ScriptHandler::install"
    },
  3. Configure the php-install-dir and the installer-paths for phpBB extensions, styles and languages., (*6)

    "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"]
        }
    }
  4. Add phpBB extensions and themes., (*7)

    "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., (*8)

A full working example can be viewed in the vagrant-phpbb project., (*9)

The Versions

20/05 2015

dev-master

9999999-dev https://github.com/xtreamwayz/phpbb-installer

Composer installer script to install phpBB 3.1 into the web root

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

20/05 2015

v2.0.0

2.0.0.0 https://github.com/xtreamwayz/phpbb-installer

Composer installer script to install phpBB 3.1 into the web root

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

11/03 2015

v1.1.0

1.1.0.0 https://github.com/twentyfirsthall/phpbb-installer

Composer installer script to install phpBB 3.1 into the web root

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

27/01 2015

v1.0.0

1.0.0.0 https://github.com/twentyfirsthall/phpbb-installer

Composer installer to install phpBB into the web root

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires