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