phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
Find a file
lionel-rowe 9fb98201f2 [ticket/8071] Add sql_last_inserted_id alias for sql_nextid
Fixes [DBAL function sql_nextid - name is
misleading](https://tracker.phpbb.com/browse/PHPBB3-8071).

Per the tracker issue:
> This function gets the ID of the last inserted row, not the ID of the next row
to be inserted (which is difficult due to different autoincrement steps and also
lends itself nicely to race conditions).

@iwisdom replied that the naming is consistent with how PHP itself names this
functionality, but the link they posted doesn't support that (I guess this is
referring to a much older version of PHP? The comment is from 2009).

PHPBB3-8071
2022-04-26 15:03:42 +01:00
.github [ticket/16939] Use ALTER SYSTEM queries to modify psql config variables 2021-12-12 09:39:14 +01:00
build Merge branch 'prep-release-3.3.7' into 3.3.x 2022-03-17 21:46:31 +01:00
git-tools [ticket/16865] Update IRC + discord links in composer and documentation 2021-08-31 16:03:41 +02:00
phpBB [ticket/8071] Add sql_last_inserted_id alias for sql_nextid 2022-04-26 15:03:42 +01:00
tests Merge pull request #6376 from lionel-rowe/ticket/16977 2022-04-10 22:34:03 +02:00
travis [ticket/16754] Update Doctum to 5.4.1 2021-04-22 02:03:21 +02:00
vagrant [ticket/16131] Force vagrant to install phpBB with php7.2 2019-08-14 12:23:00 +00:00
.editorconfig [ticket/12951] Made editorconfig file comments better 2014-08-10 15:55:02 +02:00
.gitignore [ticket/16896] Adds comments in .gitignore and excludes custom envs 2021-10-28 22:15:25 +02:00
.jscsrc [ticket/13898] Moved jshint and jscs rcs to correct dir. 2015-05-31 13:50:48 +02:00
.jshintrc [ticket/14720] Add "phpbb" as allowed global to jshintrc 2016-07-23 19:14:30 -07:00
composer.phar [ticket/16987] Move back to composer 2.2 for PHP 7.1 compatibility 2022-04-15 22:35:23 +02:00
doctum.phar [ticket/16754] Update Doctum to 5.4.1 2021-04-22 02:03:21 +02:00
LICENSE [ticket/15768] Add a license to a repository 2018-09-15 12:51:32 +02:00
phpunit.xml.dist [ticket/16472] Remove UI test suite 2020-05-08 14:20:28 +02:00
README.md [ticket/16871] Do not allow negative forum and topic IDs in page_header 2022-04-15 19:58:42 +08:00
Vagrantfile [ticket/14547] Use package compatible with phpBB requirements 2016-04-28 08:36:49 -07:00

phpBB

phpBB is a free open-source bulletin board written in PHP.

🧑🏻🤝🏻🧑🏽 Community

Get your copy of phpBB, find support and lots more on phpBB.com. Discuss the development on area51.

👨‍💻 Contribute

  1. Create an account on phpBB.com
  2. Create a ticket (unless there already is one)
  3. Read our Coding guidelines and Git Contribution Guidelines
  4. Send us a pull request

🏗️ Setting up a development build of phpBB

To run an installation from the repo (and not from a pre-built package) on a local server, run the following commands:

  • Fork phpbb/phpbb to your GitHub account, then create a local clone of it:
    git clone https://github.com/your_github_name/phpbb.git
    
  • Install phpBB's dependencies (from the root of your phpbb repo):
    cd phpBB
    php ../composer.phar install
    

Alternatively, you can read our Vagrant documentation to find out how to use Vagrant to develop and contribute to phpBB.

📓 Documentation

phpBB's Development Documentation contains all the information you'll need to learn about developing for phpBB's core, extensions and automated testing.

🔬 Automated Testing

We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration here or check our GitHub Actions below:

Branch Description GitHub Actions
master Latest development version Tests
3.3.x Development of version 3.3.x Tests

📜 License

GNU General Public License v2