Preventing Symfony Process From Passing Laravel Environment Variables

Recently when working on an internal tool using Laravel, we encountered an issue where calling artisan commands in another application was using the wrong environment variables. After debugging, we determined that this was default behavior of the Symfony process class. The Symfony process class for PHP is able to call system processes from within your…

Optimize CSS with the :is() Pseudo-Class Selector

When styling aspects of your website, it’s not unusual to need to target numerous similar items at once. Your code can get lengthy, repetitive and complex. Fortunately, the :is() pseudo-class selector introduced in the Selectors Level 4 specification can help simplify it. Using the :is() Selector Example 1 A common scenario where you can use…

Upgrade Your WordPress Development Skills with Action and Filter Hooks

An essential part of WordPress development is making modifications or adding functionality to what’s already in place from WordPress Core, a theme, or a plugin. If you’re familiar with the WordPress template hierarchy, a theme’s functions.php file, or even just the search function of your code editor, it’s tempting to find what you want to…