Payton.Codes

Musings on life, games, and code

Hi, I’m Payton!

I’m a passionate coder by day and an enthusiastic tabletop dungeon master by night.

This blog is a place for me to tell stories and share fun things I’ve made. I write about insights from my coding projects, philosophical thoughts, and tales from epic D&D campaigns. Whether you’re a fellow developer, someone looking for a one-shot game, or a good friend, I’m excited to share my knowledge and adventures with you.

Here’s some of my latest posts

  • Safely coding with constants

    Safely coding with constants

    In PHP there is a tendency to assume that the code we are working on is the only code that is running. The global and…

  • Giving more time to each thing

    Giving more time to each thing

    Lately a lot of my dharma practice has been revealing restlessness. Even when I think I’m being calm and slow and contemplative, I still am…

  • Creating Sniffs for a PHPCS Standard

    Creating Sniffs for a PHPCS Standard

    As a follow-up to my summary of using phpcs to lint your PHP code, this post will explain how to create, modify, and test a…

  • Linting PHP with phpcs sniffs

    Linting PHP with phpcs sniffs

    Linting is the process of using an automated tool to scan your code for problems before you commit and deploy. It is a practice widely…