This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_talks/drupal-8-php-libraries-drupalorg-api.md
Oliver Davies 85a10c545b Run prettier on all *.md files
```
prettier '{app,source}/**/**.md' --write
```
2020-03-08 17:57:45 +00:00

2 KiB
Raw Blame History

title description speakerdeck image tags video events
Having Fun with Drupal 8, PHP libraries and the Drupal.org API A crash course in developing PHP packages and Drupal 8 modules, based on the Drupal.org API.
id ratio
6e42ae9620bb4e91b3955f8c30d66934 1.77777777777778
url width height type
/images/talks/having-fun-drupalorg-api.png 2000 1125 image/png
drupal
drupal-8
drupalorg
php
type id
youtube JyDjC7gGDpU
event date joindin
drupal_bristol 2018-04-18 https://joind.in/talk/14851
event date time
drupalcamp_london_19 2019-03-03 12:05 - 12:50

A overview and demo of some of the open source projects that Ive been working on lately that are based on information from the Drupal.org API, including a PHP library for the API itself as well as some Drupal 8 modules that use it.

This session will cover various topics including:

  • Why would you want to separate your code into reusable packages
  • An overview of how to structure a PHP package (e.g. an API for interacting with Drupal.org)
  • How to add a PHP package as a dependency for a Drupal module using Composer
  • How to create routes and services, and use dependency injection in Drupal 8
  • How to use Drupal to configure the packages
  • How to increase performance and reliability by using Drupal's cache system to store API results