Open Source

Giving back to the ecosystem that made my career.

I maintain a couple of small PHP and Laravel packages, and contribute fixes and features back to the tools I use every day. Nothing enormous — just the kind of thing I wished existed, or wished worked slightly differently.

See everything on GitHub → github.com/craigpotter (opens in a new tab)
saloonphp/barstool Maintainer

A Laravel package that records every Saloon API request and response, so you can see exactly what an integration sent and received when something goes wrong.

Laravel Saloon
View on GitHub → (opens in a new tab)
craigpotter/fca-php-sdk Maintainer

An unofficial, Saloon-powered PHP SDK for the FCA Register API, turning a fiddly government API into typed, testable calls. Still in development.

PHP Saloon
View on GitHub → (opens in a new tab)
filamentphp/filament Contributor

Fixed nested validation errors never reaching the user on fields like TagsInput — the rules ran and blocked the save, but no message was ever shown. Plus documentation fixes.

Laravel Livewire
View on GitHub → (opens in a new tab)
livewire/livewire Contributor

Added an environment variable for configuring the temporary file upload disk, so apps can store in-progress uploads somewhere other than the default.

Laravel Livewire
View on GitHub → (opens in a new tab)
saloonphp/saloon Contributor

Contributed fatal exception middleware and extra query parameter support for OAuth2 authorization URLs, alongside smaller fixes.

PHP HTTP
View on GitHub → (opens in a new tab)