Calling Laravel Seeders from Migrations

under Laravel

Calling seeders from migrations allows you to ensure data referenced by code always exists in your database.

Faking the Queue in Laravel Tests

under Laravel

Here's a quick package you can use to fake the Queue for a specific set of lines in a Laravel test.

Setting Up Dynamic HTTP Redirects with Statamic v3

under Statamic

You can use Statamic's redirect tag plus a custom blueprint to setup dynamic HTTP redirects on your Statamic website.

Using Aliases in Composer to Update Dependencies without a Fork

under PHP

One of the major pain points of updating dependencies is the strict version requirements developers place on their packages.

Using Static HTTP Redirects in Statamic v3

under Statamic

Statamic includes a built-in mechanism for setting up 301 and 302 HTTP redirects.

Using CSS Transforms with TailwindCSS v1.2

under TailwindCSS

You can now use CSS transforms right out of the box with TailwindCSS v1.2.

Building CSS Grids in TailwindCSS v1.2

under TailwindCSS

Support for CSS grids has been added to Tailwind v1.2..

Using CSS Transitions with TailwindCSS v1.2

under TailwindCSS

TailwindCSS 1.2 adds the ability to apply CSS transitions right out of the box!

Escaping Antlers Output in Statamic via the `noparse` Tag

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.

React Error Boundaries

under React

React error boundaries allow you to prevent your React application from completely crashing in the event of an error in your code.

Laravel Dusk Error: "Chrome version must be between 70 and 73"

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.

Setting Up PHP CodeSniffer for a Laravel Application

under Laravel

Here's how you can quickly get started with linting your PHP code using the CodeSniffer library.

How to Fix "cannot update unmounted component" Warning with React Hooks

under React

Learn how to properly unmount React components when using React Hooks.

GitHub Actions Workflow File for a Laravel Application

under Laravel

The following workflow script can be used as a starting point for building and testing a Laravel application with GitHub Actions.

Signing AWS CloudFront Requests with Laravel

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.