Composer package dependencies hadn't been updated in awhile, so a part
of the clean up for the php 8.1 install, that has been handled
Moment was being used to handle date formatting but it hasn't been
updated in awhile either, so I switched to Carbon which is still in
active development.
I needed some consistent php formatting, so I plugged in a php fixer
config and then reformatted all PHP files so it's all consistent.
Fixed an ID issue with the page-edit template that was causing page
editing to fail.