Hi everyone,
The month just breezed by and we're already on the last week of January. Hope you're all unscathed from all the thing that this month has brought upon us. This week we have tutorials on currency formatting, fixing composer error message while managing dependencies, and the best way to implement repository patter in Laravel. In Podcasts we have new episodes from PHPArchitect on PHP's hidden treasures, while The Changelog chats about the infamous DeepSeek R1. Finally in our Reading section we have articles on writing clean and scalable Laravel code with the Service pattern, and tricks to shorten your if and if-else statements in PHP.
We have all that and more, so we do hope you enjoy this week's newsletter. If you have an article, tutorial or podcast that you would like to be featured in our newsletter, feel free to reach out to us at [email protected].
All the best,
Adrian
|
Please help us by clicking to our sponsors:
|
Articles
Freezing Time: Testing Laravel Temporary Storage URLs
We'll delve into how freezing time can make testing temporary URLs more reliable, especially for time-sensitive functionality. We'll leverage Laravel's built-in test helpers and Carbon's time manipulation features to solve potential inconsistencies in tests.
PHP Traits: The Secret Sauce for Cleaner, Reusable Code
Ever been in a situation where you're like, "I just need this functionality in multiple classes, but inheritance doesn't make sense?" Welcome to the world of PHP Traits.
10 Tips to Optimize Your Laravel Application Performance
These tips will help reduce load times, improve server efficiency, and enhance the overall speed of your application.
The 2025 PHP Developer RoadMap
Hello guys, if you want to become a PHP developer in 2025 and looking for guidance like PHP Developer RoadMap, particularly PHP Backend developer roadmap then you have come to the right place.
Say Goodbye to Hard-Coding: Manage Laravel Model Columns Efficiently
It’s been a few years since I last used Laravel, and now I’m diving back into it. While exploring tutorials out there, have you noticed the endless repetitive typing of field names everywhere? Controllers, RequestForms, Models, Repositories — you name it. It’s like déjà vu for your fingers.
|
Tutorials and Talks
Currency Formatting with Laravel's Enhanced Number Helper
Laravel's Number helper now supports configurable default currencies, simplifying price formatting across different regions and use cases.
Checking String Absence with Laravel's doesntContain
Laravel's new doesntContain method provides a more intuitive way to check if strings lack certain content. This method complements the existing contains method, offering a cleaner syntax for negative checks.
How to Fix the Composer Error: "Your requirements could not be resolved to an installable set of packages"
When working on PHP projects and using Composer to manage your dependencies, you might encounter the error message "Your requirements could not be resolved to an installable set of packages."
Mastering the Laravel Routing System: A Complete Guide
Routing in Laravel is the mechanism that defines how your application responds to user requests.
Introduction to Linked Lists in PHP: A Beginner's Guide
In this tutorial, we'll cover the basics of implementing a Linked List in PHP.
Logbook of Learning Domain-Driven Design: Day 4
After three theory-focused articles — essential for laying a solid foundation — today, I’m offering a concrete example: user authentication. This article slightly diverges from Domain-Driven Design (DDD) to emphasize the implementation and use of Hexagonal Architecture and CQRS.
Best Way to Implement Repository Pattern in Laravel
Briefly introduce the concept of the repository pattern and its purpose. Explain why using repositories can help in abstracting the data access logic and make the application more maintainable, testable, and scalable.
Enhancing Code with PHP Attributes and TypeScript Decorators: A Unified Approach
PHP attributes and TypeScript decorators serve similar purposes in their respective languages, allowing developers to attach metadata or behavior to classes, methods, properties, and parameters.
Mastering PHP Generics: A Beginner’s Guide to Writing Type-Safe and Reusable Code
Are you tired of writing redundant PHP code for different data types? Want to make your PHP applications more maintainable and type-safe? Let’s dive into PHP Generics — a powerful concept that can revolutionize your coding practices.
|
News and Announcements
Fluent Date Validation in Laravel 11.40
The Laravel team released v11.40, which includes a fluent date validation class, pending Eloquent attributes, dump helpers for HTTP Response instances, and more.
Tailwind CSS v4 is Here
Tailwind CSS v4 is here! This release is the most significant release to date, with a "reimagined configuration and customization experience" and a new high-performance engine designed to be as fast as possible.
A Week of Symfony #942 (13-19 January 2025)
This week, Symfony celebrated the SymfonyOnline January 2025 conference. In addition, it announced the new Symfony UX Core Team. Lastly, the upcoming Symfony 7.3 version simplified the configuration of the web debug toolbar replacement on Ajax requests and introduced a JsonEncodable attribute.
Laracon EU Amsterdam 2025
The European Laravel gathering will bring Artisans from around the world together for two days of networking, learning, and proving once again that PHP is far from dead.
ConFoo 2025 - February 26-28, 2025, Montreal, Canada
ConFoo is back for its 23rd edition, at Hotel Bonaventure in Montreal, with a full stack of incredible talks with the best speakers in tech.
|
Podcasts and Vlogs
The Stack Overflow: How the internet changed in 2024
John Graham-Cumming, CTO of Cloudflare, joins Ben and Ryan for a conversation about the latest trends in internet usage highlighted in Cloudflare's 2024 Year in Review report.
Maintainable Podcast: Lorna Mitchell: Writing Documentation Engineers Will Actually Read
Join Robby as he chats with Lorna Mitchell, open source advocate and technical writer, about the art of creating documentation that doesn’t gather dust.
Software Engineering Radio: SE Radio 652: Christian Mesh on OpenTofu
Christian Mesh, tech lead of the OpenTofu project, speaks with host Robert Blumen about OpenTofu. They start with the history of terraform, terraform providers, license changes to open source projects.
Shoptalk Show: Chrome 133, Attribute Update, and Standardized Async CSS
Dealing with AI creating fake work by famous artists, HTML is actually a programming language, Chrome 133 updates, attr updates, making "this" less annoying, and Scott Jehl's trying to standardize Async CSS.
WP Builds: 406 – InfluenceWP’s approach to WordPress community building with Ryan Logan
In this episode of WP Builds, I’m chatting with Ryan Logan about InfluenceWP, a platform connecting WordPress consumers with trusted partners, deals, and unbiased information.
PHP Architect: PHP Podcast 2025.01.23: Discussing PHP’s Hidden Treasures
This week on the PHP Podcast, Eric and John talk about PHP Tek 2025, Community Corner Podcast, Convince Your Boss to attend PHP Tek, and more.
Mostly Technical: 67: The Big Reveal
Ian and Aaron discuss all things related to AI, Ian's new thing he built, a Rails course, and more.
Syntax: Coding Agents Cursor + Windsurf Tips
Discussion of using AI agents like Cursor for web development, focusing on the new agent mode for automating tasks.
The Changelog: DeepSeek-R1's epic pull request
Xuan-Son Nguyen opened a low-level code PR written 99% by DeepSeek-R1, Adam Wathan announces the release of Tailwind CSS 4.0, Matheus Lima opens up the Computer Science history books to create list of influential papers.
|
Why I Migrated My Laravel App to AWS Serverless (And Why It Could Save You Time and Money)
Picture this: you've built a shiny Laravel app—your magnum opus, a digital Swiss Army knife with features so sharp they could cut through butter... or user feedback. But there's a catch.
From Express to Laravel: My Journey of Rewriting a 5-Year-Old REST API (and Surviving the Chaos)
If you’ve ever been handed the task of rewriting a legacy system, you know it’s like being asked to rebuild a plane while it’s still in the air. For the past four days, I’ve been knee-deep in the trenches, converting a 5-year-old Express REST API into a shiny new Laravel 11 REST API. And let me tell you—it’s been a wild ride.
Understanding the Difference Between Laravel and PHP: A Complete Guide
This guide will explore the history, differences, and key aspects of both PHP and Laravel, highlighting how they relate to each other in modern web development.
Laravel Queues: Priorities Are Your Secret Weapon
So, you’ve been building a Laravel application, and things are going well. Your jobs are running smoothly, your queues are buzzing along, and your app is handling background tasks like a champ. But wait — what happens when you have a bunch of jobs and you need to make sure some jobs are done first?
5 tricks to shorten your if and if-else statements in PHP
There is no code without if statement. There is a high probability that within your first twenty lines of code you would have at least one if statement.
Writing Clean and Scalable Laravel Code with the Service Pattern
In this post, I’ll explore a common example and propose an approach to improve scalability using the Service Pattern.
Attributes in Laravel Under the Hood
Attributes in PHP, introduced in version 8.0, provide a way to add metadata to classes, methods, properties, and more. In Laravel, attributes can be leveraged to simplify dependency injection and make your code more expressive.
|
Interesting Projects, Tools and Libraries
becklyn/rad-bundles
Provides basic helpers for interacting with Symfony bundles.
gnikolovski/commerce_gnikolovski
Provides some useful Drupal Commerce 2.x stuff.
ems/beetree
A generic library to work with b-trees.
softlayer/objectstorage
PHP bindings for SoftLayer Object Storage.
miladrahimi/php-jwt
A PHP implementation of JWT (JSON Web Token) generator, parser, verifier, and validator.
subjective-php/spl-exceptions
Collection of standard exception classes.
thoughtsideas/wp-infrastructure
A collection of contracts to aid the development of WordPress add-ons.
openeuropa/oe_content
OpenEuropa Drupal module that contains the EC corporate entity types.
atomjoy/migratio
Load migrations from subdirectories in Laravel.
forlond/phpunit-testing-tools
A set of utilities for PHPUnit testing.
|
Jobs
------
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $75/week for an advert. Please let me know if you are interested by emailing me at [email protected] |
Please help us by clicking to our sponsor:
Protect your PHP Code
Why not try SourceGuardian 15. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders. |
So, how did you like this issue?
|
|
|
|