Writing on software design, company building, and the aerospace industry.

All of my long-form thoughts on programming, leadership, product design, and more, collected in chronological order.

Use Amazon Bedrock in Laravel with Prism PHP

The Prism Bedrock package is a standalone Bedrock provider for the Prism PHP Package for Laravel. It supports text generation, structured output, embeddings, and more

Validate URLs Effectively with Laravel's Str::isUrl Method

Laravel's Str::isUrl method provides flexible URL validation with optional protocol restrictions. This utility simplifies verifying URL format and security requirements, making it ideal for form validation, webhook registration, and social media link verification in applications.

Process Markdown Securely with Laravel's inlineMarkdown Method

Laravel's inlineMarkdown method enables secure Markdown-to-HTML conversion with built-in XSS protection and customizable security options. This feature safely processes user-generated content while maintaining rich formatting capabilities for forums, comments, and notification systems.

Handle Missing Models Gracefully with Laravel's existsOr Method

Laravel's existsOr method enables elegant handling of non-existent model queries by executing closures when no results are found. This feature streamlines error handling and fallback logic, eliminating the need for separate existence checks and conditional statements.

Sublime Text Releases Update With Support for Right Sidebar

Sublime Text released v4200 this week with support for a right sidebar, syntax highlighting improvements, rewritten syntax highlighting languages like SQL, Diff, and Bash, new syntax highlighting for ZSH and TOML, and more.