What PHP-FIG means to Drupal


Developers looking at Drupal 8 after working on Drupal 7 and earlier are often confused by the entirely new structure. These changes appear difficult to learn but in fact, are very simple and straightforward, and have enabled Drupal to interface with the bigger PHP world. This has been made possible by the PHP-FIG.

PHP-FIG (PHP Framework Interoperability Group) is charged with the massive task of defining common ground for various frameworks, and supporting that mission with clearly written PHP Standard Recommendations (PSRs). PSR-0 through PSR-4, and recently PSR-7, have been published and being used in almost all modern PHP applications including Drupal. Other PSRs have been drafted and being discussed at this time. Learn more about these PSRs and how they are making developing applications with PHP easier for developers and fun again.

During this session, we’ll talk about various topics like:

  • The world before PHP-FIG - problems with reusability, consistency, and interoperability.
  • Why was PHP-FIG formed, who are in it and what are the various PSRs?
  • Has Drupal 8 improved or just got complicated by adopting PSRs?
  • How does that help you as a developer in writing more testable and reliable code?
  • How does it make maintaining your PHP application a much simpler task?
  • Has the general health of the PHP ecosystem improved since the formation of FIG and it’s doses of PSRs? AKA: Has interoperability between different PHP components improved since we started adopting these PSRs?

We will look at Drupal 8 itself and other applications and frameworks that have adopted these standards and see how it has helped. At the end of the session, the audience would gain a deeper understanding of the PHP-FIG, various PSRs, and Drupal 8 itself.

Session Track


Experience Level


Drupal Version

When & Where

Wednesday, 23 September, 2015 - 17:00 to 18:00
116: Pantheon