Today’s work focused on strengthening the foundation of WeeklyDrupal.com instead of adding visible features. The goal was to make the site cleaner, more consistent, and easier to build on as content grows.
Updating Drupal Core to 10.5.7
The site was updated to the latest stable Drupal version:
ddev composer update drupal/core* --with-all-dependencies
Keeping the project current ensures stability while I continue shaping the early structure. Drupal 11 will come later once more features are in place.
Improving settings.php for a Cleaner Setup
I reorganized parts of the settings file to make the project behave correctly across local and production environments. This included adding trusted host patterns and ensuring the right configuration files load in the proper order.
$settings['trusted_host_patterns'] = [
'^weeklydrupal\.com$',
'^www\.weeklydrupal\.com$',
'^weeklydrupal\.ddev\.site$',
];
These adjustments help keep things secure and predictable as the site grows.
Adding Helpful Developer Tools
To make future work smoother, I installed a few tools that support code quality and readiness checks:
ddev composer require --dev \
phpstan/phpstan \
mglaman/phpstan-drupal \
drupal/coder \
drupal/upgrade_status
These tools aren’t flashy, but they help catch issues early and keep the project clean as it expands.
Most of today’s changes are behind the scenes, but they set the foundation for a smoother development process. With the core updated, configuration organized, and developer tools in place, the next steps will focus on adding meaningful content and improving the overall site experience.