Hi everyone,
PHP 8.4 id due for a release today, and while as of the release of this newsletter, it hasn't been out, feel free to peruse this week's offering of the latest news, updates and releases on everything on the topic of PHP. This week we have articles on how to handle large datasets in Laravel without running out of memory. We also have powerful database features in PhpStorm and how to access them, as well as how to explore Symfony projects like a pro in 5 minutes. In Podcasts we have new episodes from Laravel news, while the PHP Architect podcast talks about the new features in PHP 8.4, Laravel's nightwatch and other topics. Finally in our Reading section we have articles on the Do's, Don'ts and best practices for using attributes that enhances code clarity, how inheritance is poisoning your code so you should stop overusing it, and a simplified guide on the Garbage Collector (GC) 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 sponsor:
Get Reliable, Fast & Quality Proxies, Without the Tradeoffs
Scrape or crawl any amount of data, without having to worry, settle or break the bank. Buy HTTP, SOCKS & UDP proxies you can set and forget.
|
Articles
Exploring Laravel 11.31’s New Dynamic Builders and Utilities for Enhanced Development Flexibility
The Laravel team’s release of v11.31 brings a suite of tools designed to streamline development by offering flexible, on-demand builders for cache, database, and mail configurations.
Comprehensive Methods to Display Arrays in PHP and Laravel
Here are several methods for displaying an array in PHP and Laravel, along with their examples and usage. Each method serves different purposes based on your requirements.
How to Handle Large Datasets in Laravel Without Running Out of Memory
Laravel provides a few useful methods to help you process data in smaller chunks, which saves memory and makes your application run faster. In this post, we'll walk through how to use chunk(), chunkById(), and Lazy Collections to efficiently process large datasets in Laravel.
Accessing Databases in PhpStorm
Powerful Database Features You Didn't Know PhpStorm Had.
Explore a Symfony Project Like a Pro in 5 Minutes
Let’s say you’ve received a shared GitHub project built with Symfony, but it’s missing a ‘ReadMe’ file — perhaps from your boss or a client. Let’s have some fun exploring and understanding its structure, purpose, and functionality like experts.
Dealing with PHP Version Compatibility Issues in Your Web App
In this blog, we will delve into common PHP version compatibility issues, why they occur, and how you can proactively address them to keep your web app running seamlessly.
|
Tutorials and Talks
Web Images: Resize and Convert Perfectly (and Automatically)
Pretty much every front-end developer knows that we need to deliver the smallest possible images to users without affecting their quality. We all know how to achieve that. But it’s a chore nobody likes doing. Also from a business standpoint, it takes time, and time is money. So, "good enough" is just good enough.
How to Use Global Scope in Laravel
In this tutorial i will show How to Use Global Scope in Laravel. we’ll explore the power of Laravel’s global scope using a practical example. We will be implementing a global scope to ensure we only retrieve posts that are set to published.
Creating a TodoList with PHP and the Lithe Framework: A Complete Guide
In this tutorial, we will create a functional TodoList application using Lithe. You will learn how to structure your project, create interactive views, and implement a RESTful API to manage your tasks.
Orbis: The Magic of Abstraction in PHP
Have you ever wondered how to simplify complex functionalities in PHP in an elegant and reusable way? We present Orbis, a revolutionary tool that transforms the way we manage instances and abstractions in PHP.
Creating focused domain applications. A Symfony approach (Saving the entity)
In this third post of this series, we are going to create an entity ready to be persisted to the database from the DTO we created in the first article of the series.
Sending Emails with Mailer in PHP + Symfony
Today, I'll demonstrate how to send an email using Symfony's Mailer component in PHP.
Step-by-Step Guide to Integrating Third-Party APIs in Laravel Applications
Integrating third-party APIs into Laravel can enhance your application by leveraging external services, such as payments, data retrieval, and more. Here's a step-by-step guide with examples to integrate a third-party API effectively.
Sharing Data with All Views in Laravel: The Global View Data Guide
Need to make certain data available across all your views? Laravel’s View::share method makes this a breeze! Let's explore how to effectively share global view data.
Polymorphic relationships in Laravel and their use cases
In this article, we will explore polymorphic relationships in Laravel, delve into how they work, and discuss the various use cases where they shine the most.
Best Redis Caching Strategy in Laravel: A Guide to Fast and Efficient Caching
In this guide, we’ll look at effective caching strategies in Laravel with Redis. We’ll cover how to cache data, manage expiration times, and efficiently clear caches.
PHP Check If Array Has Duplicate Values
Here, I will show you how to work php check if array has duplicate values. you can understand a concept of php check if array has same values. |
News and Announcements
CakePHP 5.1.2 Released
Improvements: In console command listings app and cakephp commands are now displayed above plugin names. Added command descriptions to all framework commands. Fixed file descriptor leaks in StubConsoleOutput + more.
Dynamic Cache, Database, and Mail Builders in Laravel 11.31
The Laravel team released v11.31, which includes dynamic cache/db/mail builders, a cache token repository, a URL::forceHttps() convenience method, and more.
Laravel Forge adds Statamic Integration
Laravel Forge announced it has added first-party integration with Statamic. Statamic is a modern, clean, and highly adaptable CMS that can run full-stack, headless, on flat files or databases, & as an SSG. Statamic is built as a highly extendable, standalone capable, Laravel CMS package.
Herd Executable Support and Pest 3 Mutation Testing in PhpStorm 2024.3
PhpStorm 2024.3 was released and includes support for PHP 8.4 as well as some awesome updates for Laravel Developers, such as detection of Laravel Herd PHP executables, mutation support for Pest 3, and parallel testing for Pest.
Symfony 7.2.0-RC1 released
Symfony 7.2.0-RC1 has just been released. Here is the list of the most important changes since 7.2.0-BETA2.
A Week of Symfony #933 (11-17 November 2024)
This week, Symfony 5.4.47, 6.4.15, and 7.1.8 maintenance versions were released. Additionally, the second release candidate of Symfony 7.2 was published, ahead of its final release scheduled for the end of November 2024. Lastly, we published two new security advisories to address some reported security issues in Symfony.
|
Podcasts and Vlogs
Laravel News Podcast: A three-week rapid recall
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the Laravel community.
The Stack Overflow: The open-source ecosystem built to reduce tech debt
Today’s guest is Jonathan Schneider, co-founder and CEO of Moderne and creator of OpenRewrite, an open-source automated refactoring ecosystem for source code built to help developers eliminate tech debt.
Maintainable Podcast: Gulcin Yildirim Jelinek: Maintaining Postgres for Modern Workloads
In this episode of Maintainable, Robby speaks with Gulcin Yildirim Jelinek, a Staff Database Engineer at Xata. Joining from Prague, Czech Republic, Gulcin discusses her experiences working with legacy databases, the evolution of Postgres, and her passion for building accessible tech communities.
Software Engineering Radio: SE Radio 642: Simon Wijckmans on Third-Party Browser Script Security
Simon Wijckmans, founder of c/side — a company that focuses on monitoring, securing, and optimizing third-party JavaScript — joins SE Radio host Kanchan Shringi for a conversation about the security risks posed by third-party browser scripts. Through real-world examples and insights drawn from his work in web security, Simon highlights the dangers, including malicious attacks such as the recent Polyfill.io incident.
Developer Tea: Coaching Yourself: Career Coaching Personas for Everyday Engineers, Part Three - Shoulder Socrates
In today's episode we discuss the concept of adopting self-coaching personas, and discuss the third persona, "Shoulder Socrates."
Shoptalk Show: Chris Person on Forums, Reddit, and Cooperative Reporting
Chris Person from Aftermath joins us to chat about the state of forums in 2024, being downwind of knowledge, forum drama, Reddit and StackOverflow's impact on forums, the importance of the individuals caring for knowledge and information, and the benefits and struggles of cooperatives in reporting.
WP Builds: 398 – What just happened? Episode 2. An uneventful 3 months
In this episode, Nathan Wrigley and Rae Morey discuss key events in the WordPress community. Highlights include an automated plugin review system achieving zero backlog, the expansion of the Kim Parsell Memorial Scholarship to WordCamp Europe and Asia, and HeroPress’ call for sponsorship.
Laravel Podcast: Laracon AU Update & Nightwatch Q&A
In this episode of the Laravel podcast, host Matt Stauffer is joined by Taylor Otwell and Jess Archer at Laracon Australia to discuss the new Laravel Nightwatch product and answer listener questions about the Nightwatch announcement.
PHP Architect: The php[podcast] 2024.11.7: PHP for Fun and PHProfit
This week on the PHP Podcast, Eric and John talk about New Features in PHP 8.4, The Magic Behind Laravel’s defer(), Doctrine Introduces EnumType Columns, Serialization/Deserialization, Laravel’s Nightwatch, PHPTek 2025, and more…
Frontmatter Podcast: Pete Zerger, Author of CISSP: The Last Mile
In this episode of the Frontmatter podcast, Len Epp interviews Pete Zerger, a cybersecurity strategist and Chief Information Security Officer, and author of the LeanPub book, CISSP: The Last Mile.
Mostly Technical: 59: Definitely For Profit
Ian and Aaron are back this week to discuss Aaron's adventures with the terminal, Ian's ideas for the future of Mostly Technical, a trip to Boise, and so much more.
Syntax: How to Pick a JS Package
Wes and Scott discuss strategies for finding, evaluating and integrating JavaScript packages and libraries into projects.
The Changelog: AI makes tech debt more expensive
Evan Doyle says AI makes tech debt more expensive, Hunter Ng researches the ghost job ad phenomenon, Gavin Anderegg analyzes Bluesky in light of its recent success, Martin Tournoij rants against best practices & Evan Schwartz tells us why he thinks binary vector embeddings are so cool.
|
Working with PHP Attributes: Do’s & Don’ts
In this post, we’ll explore best practices for using attributes in a way that enhances code clarity. I’ll also provide a table of “do’s and don’ts” with examples for each comparison, highlighting scenarios where attributes work well—and where they may not.
Introducing the Resume Parser/CV Parser for Laravel
Based on the popularity of our Resume/CV Parsing AI API endpoint, we’ve crafted a specialized, lightweight Laravel library just for you.
PHP: The Garbage Collector explained with simple words
The Garbage Collector (GC) is the internal memory management system in PHP, but there are some subtleties to understand.
Inheritance Is Poisoning Your Code. Stop Overusing It.
Inheritance is often considered a cornerstone of object-oriented programming, but it can introduce complexities in code and conflict with SOLID principles, resulting in challenges such as tight coupling, difficulties in testing, and systems that are less maintainable and harder to evolve over time.
Is Your Laravel Application at Risk? The register_argc_argv Vulnerability Explained
After receiving a GitHub notification about a security advisory affecting my public repositories, I found myself asking, “What the hell is that? and How a Simple PHP Setting Can Lead to Major Security Risks in Laravel”.
How FilamentPHP Transformed My Backend Development Journey and Simplified Admin Panel Creation
A few years ago, when I first delved into the world of web development, I found myself naturally gravitating towards the backend side of things. The logic, the structure, and the unseen architecture that powers applications fascinated me.
|
Interesting Projects, Tools and Libraries
felixkpt/nestedroutes
A package for handling nested routes in PHP applications. This package provides a flexible and intuitive way to define and manage nested routes, with support for role-based permissions.
power-captcha/integration-typo3
POWER CAPTCHA protects your TYPO3 forms against bots and unauthorized persons. GDPR compliant!
ziphp/twig
The Twig integration for the Yii framework.
whitecube/laravel-links
Store & resolve internal URLs without having to worry about route, slug or domain changes.
ufutx/laravel-favorite
Allows Laravel Eloquent models to implement a 'favorite' or 'remember' or 'follow' feature.
samrap/acf-fluent
A fluent interface for the Advanced Custom Fields WordPress plugin.
tebru/gson-php
Gson for PHP: Convert PHP objects to and from json.
dyegogssouza/pami
Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented.
antweb/fusion-antfusion
A FusionCMS addon.
theprivateer/permalink
Simple utility for creating URL friendly 'slugs'.
|
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?
|
|
|
|