Prepending PHP to a Page in Gatsby

Whilst many Jamstack developers would consider it absolute sacrilege, there are still occasions where you need PHP functionality, within your Gatsby site...

Prepending PHP to a Page in Gatsby.

Automatically Generate urllist.txt From sitemap.xml

Using PHP it is quick and easy to automatically generate your urllist.txt sitemap from your sitemap.xml file (for example, using gatsby-plugin-sitemap).

Automatically Generate urllist.txt From sitemap.xml.

Get the Number of Years Between Two Dates with PHP and JavaScript

A common web development task: get the number of years between two dates. Today, we discuss how to do this with PHP in the backend, or frontend with JavaScript.

Get the Number of Years Between Two Dates with PHP and JavaScript.