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:
Static Code Analysis from SensioLabs Insights: Coming Soon
Test Suite Continous Integration from Travis CI:
Code Coverage from Bamboo: phpBB Continous Integration (Bamboo)
Setting up the website
- Clone the repository (
git clone git@github.com:phpbb/phpbb-website.git
) - Copy
app/config/parameters.dist.yml
toapp/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. - Install the composer dependencies with
php composer.phar install
(composer.phar is in the repo) - 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
- 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
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
.