/phpbb-website

This is the main phpBB.com website without private bits

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

phpBB Website

This is the copy of the new symfony website running at www.phpbb.com. The site is maintained by the phpBB Website Team

Analysis Tools

Static Code Analysis from Scrutinizer CI: Scrutinizer Code Quality

Static Code Analysis from SensioLabs Insights: Coming Soon

Test Suite Continous Integration from Travis CI:Build Status

Code Coverage from Bamboo: phpBB Continous Integration (Bamboo)

Setting up the website

  1. Clone the repository (git clone git@github.com:phpbb/phpbb-website.git)
  2. Copy app/config/parameters.dist.yml to app/config/parameters.yml and adjust confiuration as needed. The phpBB database connection is used for parts of the website which fetch from the community forums. You can either setup a blank forum and set this to it or have this as an empty database. The symfony database is the main database used by the site. There are two test databases which are used by phpunit and are destroyed/repopulated with test data whilst running tests so please setup two empty databases for use here.
  3. Install the composer dependencies with php composer.phar install (composer.phar is in the repo)
  4. Create the main website database which you have entered details for earlier if you have not yet created it with php app/console doctrine:database:create
  5. Populate your website database with the database schema by running php app/console doctrine:migrations:migrate

Contributing

If you wish to contribute something to the website simply fork this repository, make your changes in your fork and submit a pull request (please only have one change or a series of relevant changes in one pull request).

If you have any problems or would like some help you can email website [at] phpbb [dot] com or ask for help on IRC using the #phpbb-dev channel on Freenode.

Bug Reporting

Please use our main Website Issue Tracker to report any bugs or suggest features/offer general website feedback in our website feedback topic.

Unit Tests

We use phpunit for our unit tests but we don't require phpunit to be installed globally. Simply run bin/phpunit -c app/ or tests.sh to run our tests and it will use phpunit downloaded by composer when you install the project dependencies.

Dependencies

Should you have problems with composer retrieving depdenencies you can request a copy of the latest vendor/ and bin/ directories by emailing website [at] phpbb [dot] com or contacting us via IRC as described above.

License

GNU GPL v3

By contributing you agree to assign copyright of your code to phpBB Limited - See the LICENSE file for the full license.

Contact us

You can contact us via email at website [at] phpbb [dot] com.