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.
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..