under Cloudflare
By default, Cloudflare's Durable Objects are not inherited across environments, here's how you can fix it.
under CSS
SVG favicons allow you to invert your favicon's color scheme for users that are using dark mode.
under Devops
"Query execution was interrupted" can sometimes be solved by increasing the storage size of your database.
under Devops
Here's a one line command you can use to copy a Heroku Postgres database backup to a database in another environment.
under Devops
Here's two quick commands you can use to copy Heroku environment variables across projects using the Heroku CLI.
under Devops
Here's a quick copy/paste snippet you can use to create a reverse proxy server in Cloudflare.
under Devops
GitHub has a set of pre-installed packages with the default containers it provides. Learn how you can override the default PHP version.
under Devops
Here's my review of Netlify Dev after a few hours of using it.
under Laravel
CRUD-based naming for web applications works, but there's a better way using Single Action Controllers and VerbSubjectType naming patterns.
under Laravel
Laravel's default setup prevents Cloudflare from caching HTML responses.
under Laravel
Laravel's logging system makes it very easy to system notifications to your company's Slack channel.
under Laravel
Here's a small trait you can use to access "temporary" relationships in Laravel.
under Laravel
Laravel doesn't have a whereHasAll
method built in, but here's how you can replicate it yourself.
under Laravel
If you've recently started running into an issue with MySQL on GitHub Actions, you may need to update your MYSQL_USER variable.
under Laravel
In this guide, we'll replace Laravel Mix with Vite in a Laravel Jetstream (Inertia/Vue) application.
under Laravel
Here's a GitHub Actions file you can use to deploy Laravel applications to Laravel Vapor.
under Laravel
Learn how to add Stripe's Checkout and Customer Portal products to your Laravel application using Laravel Cashier.
under Laravel
A couple of open source packages makes storing and testing encrypted database values in Laravel a breeze.
under Laravel
This error can happen when you have two of the same class names declared in the same namespace.
under Laravel
Follow along as we build a drop down component with Caleb Porzio's Laravel Livewire.
under Laravel
If you're using ElastiCache with the Encryption In-Transit setting turned on, you'll need to tweak your REDIS_HOST environment variable when connecting with Laravel
under Laravel
Many people use an in-memory SQLite database when running their Laravel feature tests. If you're doing this, chances are you can improve the runtime of your Laravel test suite.
under Laravel
Calling seeders from migrations allows you to ensure data referenced by code always exists in your database.
under Laravel
Here's a quick package you can use to fake the Queue for a specific set of lines in a Laravel test.
under Laravel
When using Laravel Dusk, you have to ensure you're using the correct Chrome Driver version based on the version of Chrome installed on the machine.
under Laravel
Here's how you can quickly get started with linting your PHP code using the CodeSniffer library.
under Laravel
The following workflow script can be used as a starting point for building and testing a Laravel application with GitHub Actions.
under Laravel
If you upload files to AWS S3 via your Laravel application, but want to restrict access to those files, you can do so using signed requests.
under Laravel
Laravel provides a simple way to declare event listeners out of the box via the EventServiceProvider class.
under Laravel
Here's a quick snippet to get HTTP request logging setup quickly in Laravel.
under Laravel
Learn how to fix a potential performance problem when serializing models for Laravel jobs.
under Laravel
There's a common problem when using Laravel Forge to provision servers on AWS.
under MySQL
Let's run through how you can setup and configure the MySQL general log.
under PHP
Quick tip on how you can fix PHPUnit from splitting test output onto new lines.
under PHP
One of the major pain points of updating dependencies is the strict version requirements developers place on their packages.
under React
React Context can be more than just global state in an app. I like to think of Context as "encapsulated state".
under React
React error boundaries allow you to prevent your React application from completely crashing in the event of an error in your code.
under React
Learn how to properly unmount React components when using React Hooks.
under React
Let's take a look at how you can fix this common error in React.
under React
Learn how to fix the "Rendered fewer hooks than expected." error with React Hooks.
under React
Let's review the rules of React Hooks, and how you can fix the "Hooks can only be called inside the body of a function component." error.
under Statamic
You can use GitHub's Gists to embed your code blocks via the Oh See Gists add-on.
under Statamic
You can use Statamic's redirect tag plus a custom blueprint to setup dynamic HTTP redirects on your Statamic website.
under Statamic
Statamic includes a built-in mechanism for setting up 301 and 302 HTTP redirects.
under Statamic
By default, when you output content from a field into a template, Statamic will attempt to run that content through the Antlers templating language.
under Statamic
With Statamic v3, you can generate static sites which means you can deploy to services such as Netlify, AWS S3, Now, etc.
under TailwindCSS
You can now use CSS transforms right out of the box with TailwindCSS v1.2.
under TailwindCSS
Support for CSS grids has been added to Tailwind v1.2..
under TailwindCSS
TailwindCSS 1.2 adds the ability to apply CSS transitions right out of the box!
under Thoughts
Taking a new approach to goal setting in 2021 by making my goals public, high level, and planned out.
under Thoughts
Here's one of the first tips I'd give to beginner programmers.
under Tips
I've recently started using Alfred again as my global command palette on my machine. In this article, I'll go over a list of some of the workflows I use on a daily basis, and how they work.
under Tips
Calenderio saves me time every day by automatically syncing my events and reconciling my calendars for me.
under Tips
Here are 5 keyboard shortcuts you can implement in any IDE to help navigate your code faster.
under TypeScript
You need to pay close attention when creating factories with typeorm-factory.
under Vue
Here's a quick way you can support persistent layouts with Vue 3's setup
script syntax.
under Vue
Forwarding refs when using <script setup> in Vue 3 is a bit tricky due to some magic happening behind the scenes
under Vue
Use Vue's built-in prop validators to validate your component's props.