Composer is a dependency management tool. It allows you to add libraries as a dependency, so you don’t have to solve every problem yourself. You can make use of the solutions provided by others to save yourself some time and likely account for edge-cases you hadn’t even thought of. Why would you use dependencies? For …Read: "Composer dependencies in WordPress plugins"
Recent Open Source articles
Every developer has the habit to reinvent the wheel. We search for excuses to do everything ourselves, such as "Ah no, that thing doesn't fully cover what I need" and "I don't trust code I didn't write myself". That's too bad because others might have fixed the same issues you ran into. In this post, …Read: "Is there a plugin for that?"
Unit-testing your WordPress plugin can be challenging. Luckily there are tools out there making it a lot easier. In this post, we will be covering the following tools: PHPUnit, Mockery and BrainMonkey. Together these tools can be a powerful tool to ensure the technical quality of your plugin. Before we started using these tools at …Read: "Unit-testing with mocks in WordPress"
Plugins and themes from the WordPress.org repository install as stand-alone packages; they need to contain all the code, files, and dependencies needed to function correctly. Because there is no centralized system with an overview of all the dependencies used in different WordPress plugins and themes, they all need to implement their own safety net. Dependencies …Read: "Safely using PHP dependencies in the WordPress ecosystem"
At Yoast, we organize a company-wide user testing session each month. In these sessions, we ask our employees to take a look at a product or feature. On October 12th we focused on user-testing Gutenberg. We did this to gain a better understanding of how different users work with Gutenberg. This knowledge is sure to …Read: "User-testing Gutenberg"
Mid February, we announced our cooperation with the Dutch web agency MaxServ. Together we’ve been working on two new versions of Yoast SEO: Yoast SEO for TYPO3 and Yoast SEO for Magento 2. After an intense period of developing and testing we tagged our first stable version of Yoast SEO for TYPO3 last week. Such …Read: "Yoast goes TYPO3"