Skip to content

Instantly share code, notes, and snippets.

View mattstauffer's full-sized avatar

Matt Stauffer mattstauffer

View GitHub Profile
@mattstauffer
mattstauffer / why-php.md
Last active April 15, 2025 14:02
why-php.md

Why PHP?

Notes about building out the "Why PHP?" page.

Targets

There are two groups I think we should target, with two distinct sets of interests and who may require two separate treatments.

First group:

  • Non-technical decision makers at companies considering PHP
@mattstauffer
mattstauffer / notes.md
Created March 26, 2025 14:26
What's the most compelling way to talk about "why use PHP today"?

I'm excited to have the chance to work with the PHP Foundation to help get some more modern design and messaging on the PHP site.

One place I've gotten some access is to be able to contribute to a new page, "Why use PHP"? I built a site a few years back called "Why PHP" but let it die, so it's fun to work on this again.

You can see the current status of the the page here:

I'd like to take a step back from this existing page and ask the broader questions:

@mattstauffer
mattstauffer / opengraph.html
Created August 2, 2024 20:48
Basic OpenGraph tags template
<meta property="og:title" content="Team">
<meta property="og:description" content="Tighten is a software development firm specializing in Laravel, Vue.js, React, and hybrid mobile development.">
<meta property="og:image" content="https://tighten.com/assets/images/tighten-com-og-cover.png">
<meta property="og:url" content="https://tighten.com/team/">
<meta property="og:site_name" content="Tighten">
@mattstauffer
mattstauffer / deploy.sh
Last active November 10, 2024 20:01
Tighten's Default Forge Deploy Script
cd $FORGE_SITE_PATH
# Clean production files
git reset --hard && git clean -df
git pull origin $FORGE_SITE_BRANCH
# Composer install & Restart PHP
$FORGE_COMPOSER install --no-dev --no-interaction --prefer-dist --optimize-autoloader
( flock -w 10 9 || exit 1
echo 'Restarting FPM...'; sudo -S service $FORGE_PHP_FPM reload ) 9>/tmp/fpmlock
@mattstauffer
mattstauffer / debug.md
Created February 24, 2023 16:14
Debugging Laravel Valet errors

Here are some examples of errors I've been able to introduce into my Laravel Valet app, and how I fixed the:

502 Bad Gateway

Todo....

@mattstauffer
mattstauffer / articles-and-projects.md
Last active October 26, 2021 07:29
SOL articles and projects

Tutorials

Tools to clone and use

@mattstauffer
mattstauffer / 0. Getting Started With Solana.md
Created September 20, 2021 20:47
Getting started with Solana

Welcome! This is my best, simple, introduction for how to buy Solana, and, if you want, also to buy NFTs using it.

@mattstauffer
mattstauffer / class-order.md
Created September 14, 2020 21:55
Tighten Handbook Class Order

Extracted for the benefit of non-Tightenites.


Class "things" should be ordered as follows:

  1. Traits
  2. Statics properties
  3. Constants
  4. Instance properties