PHP Weekly - PHPWeekly May 9th 2024

Curated news all about PHP.  Here's the latest edition Is this email not displaying correctly?
View it in your browser.
PHP Weekly 9th May 2024

Hi everyone,

Stacked and packed is this week's latest issue of PHPWeekly. After months of no updates we finally have the latest Xdebug update from Derick Rethans in our News section. We also have a statement from the PHP team regarding the glibc/iconv vulnerability issue, so do check them out. In our Articles section we have a video from Brent on a look at the most impactful features from PHP from 2014 up to the present. We also have an article on the 10 PHP functions to avoid for better code quality, as well as how to optimise your Eloquent queries using AI. Finally in Podcasts we have a new episode from the team at North Meets South about onboarding junior developers right out of university, while over at the Changelog we learn why they say your web framework doesn't matter. We have all that and more, so we do hope you enjoy this week's newsletter. If you're a student or developer on the move and want the latest PHP news and updates in one place, then subscribe to PHPWeekly.

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 articles@phpweekly.com.

Do follow us on our social media channels on Twitter and Facebook

All the best,
Adrian


Please help us by clicking to our sponsor:

encrypt php scriptsGet 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


A deeper dive into optimal PHP-FPM settings
In most cases, PHP-FPM settings aren't something an average developer would be in a position to examine more closely. That's ok; not everyone wants or has to spend time dealing with that kind of adjustment on the server.

PHP from 2014 to 2024
PHP has come a long way, let's highlight some of the most impactful features.

Optimize Your Eloquent Queries with AI
The Laravel Slower package is designed for Laravel developers who want to enhance the performance of their applications. This package identifies slow queries and suggests optimizations such as indexing and other improvements.

Simplifying Data Transfer in PHP: The Power of DTOs
Think of DTOs as digital couriers that safely deliver information from one place to another within your app. Let’s dive into what DTOs are and why they’re so handy for PHP developers.

Mastering Standalone Jobs in Laravel 11: Organize Large Codebases with Ease
With the release of Laravel 11, one notable addition is the support for standalone jobs. This allows developers to define job classes outside app/Jobs directory.

10 PHP Functions to Avoid for Better Code Quality
We’ll learn all about PHP functions together, so you can feel confident and skilled in your coding journey.

Hexagonal Architechure (Ports and Adapters) with PHP
Do I not need to think about architecture for simple projects? In my opinion, the answer is: You should always think about architecture because your application may grow, and likely will grow, requiring maintenance.

Jobs

Web Scraping Specialists Wanted
If you're a skilled Web Scraping Specialist with a knack for creative problem-solving, join our remote team to gather data from e-commerce websites and enhance our data-driven solutions. Embrace challenging projects, overcome blocking technologies, and collaborate with a diverse global team in a flexible, fast-paced environment.

Junior PHP/Python Developer - Remote
We're looking for Full-Stack Developers to join our dynamic remote international team. As a developer, you'll work on a range of projects, including Business Intelligence systems, Legal SaaS, and cutting-edge online projects. You'll be responsible for improving legacy systems, monitoring technical systems, and delivering high-quality solutions. You should be proficient in front-end and back-end development, have strong problem-solving skills, and experience with Python, PHP, Postgres, MongoDB, and Linux servers. If you're a self-motivated team player, apply now.



Technical Support Manager - Remote
Are you interested in programming but don't have the experience yet to be a skilled developer? Join our team as a Technical Support Manager and be part of our SaaS company's success. You'll work closely with our customers to provide timely solutions, troubleshoot technical issues, and contribute to feature development. Using your skills, you'll quickly identify and resolve issues, while also working closely with our team to deliver an exceptional customer experience. You don't need to have programming experience to succeed in this role, but you should have a passion for technology and a desire to learn. You will help us enhance our products and deliver an outstanding customer experience.

Tutorials and Talks


How to Refactor a Method With Optional Params
While refactoring and optimising legacy code I’ve ran into a method signature (optional parameters) inconsistency which caused performance issues as part of the expensive operation was being done without developer intention.

Laravel Image Management with Cloudinary: A Step-by-Step Guide to Uploading, Updating, and Deleting Images
In this tutorial, we'll walk through the process of building a form in Laravel 11 to add products to your application, complete with image upload functionality.

2816. Double a Number Represented as a Linked List
You are given the head of a non-empty linked list representing a non-negative integer without leading zeroes.

Database referential integrity with Doctrine
Here could be extensive AI-generated introduction about Database referential integrity, but not today. Suppose you know what is it. The subject of this article is how you can deal with it using Doctrine.

Using Symfony Messenger to Manage Message Queues in Symfony
Symfony, the famous PHP framework, offers a wide range of powerful tools and components for developers of all levels. One of these tools is Symfony Messenger, a bundle that greatly simplifies message handling within Symfony applications.

Mastering Enum Tricks in PHP
Let’s start with the basics. This is a special data type that allows you to define a set of named constants. Each constant represents a possible value of a variable, which makes your code more readable and less prone to errors.

POS (Point of Sale) System in PHP with Free Source Code and UML Diagrams
This Point of Sale System (POS) using PHP with Source Code is designed to help in the management of your business’ inventory.

How to Scan Files for Malicious Code in PHP
If we aren’t extra careful, malicious code stashed in an innocuous file can bypass traditional antivirus detection policies more easily than we might think.

News and Announcements


Xdebug Update: May 2024
I have not written an update like this for a while. I am sorry. In the last months I have not spent a lot of time on Xdebug due to a set of other commitments. Since my last update in November a few things have happened though.

NativePHP Windows Builds are Here
Windows support for NativePHP was announced, which means that you can now build applications for the Windows platform. Windows builds are working, and with that, all platforms will get new versions of PHP to work with.

Statement on glibc/iconv Vulnerability
This specific buffer overflow in glibc is exploitable through PHP, which exposes the iconv functionality of glibc to do character set conversions via the iconv extension. Although the bug is exploitable in the context of the PHP Engine, the bug is not in PHP. It is also not directly exploitable remotely.

Symfony 7.1.0-BETA1 released
Symfony 7.1.0-BETA1 has just been released. Here is the list of the most important changes since 7.0.

A Week of Symfony #905 (29 April - 5 May 2024)
This week, Symfony 5.4.39, 6.4.7 and 7.0.7 maintenance versions were released. In addition, Symfony published the first beta of Symfony 7.1 so you can test it in your own applications before the final release at the end of May 2024.

Podcasts and Vlogs


PHP Ugly: 381: Tek and Friends
This week on the podcast, Eric and John talk about php[tek] 2024 wrap up, glibc/iconv Vulnerability impact on PHP, Property Hooks, release cycle update, and more...

The Stack Overflow: Reshaping the future of API platforms
Marco Palladino, CTO and cofounder of cloud-native API gateway Kong, talks with Ryan about the complexities of multi-cloud Kubernetes architecture, how AI has the potential to improve infrastructure management, and how Kong’s large action model will reshape the future of API platforms.

North Meets South Podcast: The one about onboarding junior developers
Jake and Michael discuss bowling, onboarding new junior developers right out of college, and the mindset required to be able to teach people the very basics of programming (and reading).

Maintainable Podcast: Staffan Nöteberg - On the Power of Monotasking in Software Development
In this insightful episode, we dive deep into the essence of software maintainability with Agile Coach and author Staffan Nöteberg. Unpacking the layers of what it takes for software to be considered well-maintained.

Software Engineering Radio: SE Radio 614: Wouter Groeneveld on Creative Problem Solving for Software Development
Wouter Groeneveld, author of The Creative Programmer and PhD researcher at KU Leuven, discusses his research related to programming education with host Jeremy Jung.

Developer Tea: Talking To Yourself for Better One-On-Ones
In today's episode we discuss a preparation step for your next one-on-one. Don't just wing it - do your homework... and talk to yourself a little bit.

Shoptalk Show: 614: CSS Grid Level 3 aka Masonry with Adam Argyle
Adam Argyle stops by to chat about the conversation that's happening around CSS Grid / Masonry. What do we want? What might Apple's response to Google be? And nitpicking the spec just for fun.

WP Builds: 371 – No Script Show, Episode 9 – Does Baseline solve our browser support problems?
Back in the day, all the browsers were enemies. They all went off and decided how they would do things with no regard for what their ‘rivals’ were doing.

Mostly Technical: 33: The Secret
Ian & Aaron discuss cheese boards, Aaron's lunch adventure, high performance database consulting, and the Drake vs. Kendrick Lamar beef with special guest Dave Hicking aka Producer Dave.

Software Unscripted: Season 1 Episode 90 Native UIs without Electron - with Nathan Sobo
Richard talks with Nathan Sobo, founder of Zed Industries (which creates the high-performance Zed code editor) about his time as an early developer on the Atom code editor, including how that project led to Electron.

Syntax: JS Promises Fundamentals - Part 1
A 3-part series on JavaScript promises. Part 1 covers the basics of what promises are, creating promises, and waiting on promises to resolve.

The Changelog: Why your framework doesn't matter
Bahaa Zidan says your web framework doesn’t matter, DHH writes about magic machines, Dylan Huang reviews thousands of opinions on HTMX, Tim Ottinger says programming is thinking & Tim Spann says small language models (SLM) for the win.

Reading and Viewing


Working with DynamoDB in Laravel
Learn about how to use DynamoDB in Laravel for caching and storing Laravel models.

Exploring Map, Reduce, and Filter Functions in PHP
The map, reduce, and filter functions are fundamental tools for efficient data manipulation. These functions allow developers to write more readable, maintainable, and concise code. Let’s delve deeper into each of these functions and explore how they can optimize data processing tasks.

Advanced Database Query Monitoring in Laravel
In our previous post, we discussed a straightforward method to log database queries during development in Laravel. While effective, sometimes you need more advanced tools for comprehensive query monitoring. In this post, we'll explore some advanced options to take your database query monitoring to the next level.

A Deep Dive into the Performance Features of Laravel Herd and ServBay: The Ultimate PHP Development Environment Showdown
Laravel Herd and the increasingly popular ServBay stand out as exceptional tools for web developers, offering robust PHP development environment with a keen focus on streamlining the development process and bolstering efficiency. But what sets their performance features apart?

Property Hooks RFC for PHP 8.4
Property Hooks RFC passed the vote and will likely get added to PHP 8.4. With an overwhelming 34 to 1 “yes” — which is clearly above the required 2/3 majority — Property Hooks will likely be part of the upcoming version for this winter.

Level Up Your Laravel App: Unleashing the Power of Queues
Users expect applications to react instantaneously, and sluggish performance can lead to frustration and cart abandonment. This is where Laravel queues come in — a potent tool for keeping your app speedy and users happy.

Interesting Projects, Tools and Libraries


podcasthosting/auphonic-client
A PHP library to access the audio service Auphonic through its API.

moccalotto/valit
Validate http requests, input-data and method arguments at runtime using self-documenting code.

chap-pfp/fpdi
FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF.

dmk/mklog
Keep track of developer logs. Provides automatic email notification about important errors.

i-lateral/silverstripe-systemmessages
Add popup notification messages to a Silverstripe site.

eversign/eversign-php-sdk
The official PHP SDK Wrapper for the Eversign API.

latrell/smarty
This package lets you run Smarty3 on Laravel5 elegantly.

ideatic/jquery_fm
Advanced jQuery File Upload & Manager.

jeremib/pdns-php-api
RESTful PHP API server for PowerDNS.

laraish-maintain/pagination
A simple library for generating pagination, updated fork.

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect 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.



Sponsor this newsletter

So, how did you like this issue?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks
Also, if you have a site or blog related to PHP then please link through to our site.
unsubscribe from this list  
 

Protect your PHP code with SourceGuardian 14. Free trial.

Copyright © 2024 PHP Weekly, All rights reserved.
Because you signed for it!
Our mailing address is:
PHP Weekly
Rotterdam House
116 Quayside
Newcastle Upon Tyne, NE1 3DY
United Kingdom
 

 

Older messages

PHPWeekly May 2nd 2024

Thursday, May 2, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd May 2024 Hi everyone, Hope you're all well. This week we

PHPWeekly April 18th 2024

Thursday, April 18, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 18th April 2024 Hi everyone, If it's the latest news and

PHPWeekly April 11th 2024

Saturday, April 13, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 11th April 2024 Hi everyone, It's Thursday and we're here

PHPWeekly April 4th 2024

Thursday, April 4, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 4th April 2024 Hi everyone, We hope you've all had a restful

PHPWeekly March 28th 2024

Thursday, March 28, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 28th March 2024 Hi everyone, The long weekend is coming up, and if

You Might Also Like

Help Shape the Future of Laravel News - Quick Survey

Friday, December 27, 2024

Help shape Laravel News - Quick 2-minute survey Hi there, As a valued member of the Laravel News community, we'd love to hear your thoughts to help us make our newsletter even better in 2025. Would

Data Science Weekly - Issue 579

Thursday, December 26, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

💎 Issue 449 - JRuby with JBang

Thursday, December 26, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 449 Release Date Dec 26, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 449 - JavaScript Benchmarking Is a Mess

Thursday, December 26, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 449 Release Date Dec 26, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 443 - EU asks for views on plan to force Apple to open up iOS

Thursday, December 26, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 443 Release Date Dec 26, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 442 - SOLID: The Liskov Substitution Principle (LSP) in C#

Thursday, December 26, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 442 Release Date Dec 26, 2024 Your weekly report of the most popular .NET news, articles and projects

Daily Coding Problem: Problem #1649 [Easy]

Thursday, December 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Spreadsheets often use this alphabetical encoding for its columns: "A

JSK Daily for Dec 26, 2024

Thursday, December 26, 2024

JSK Daily for Dec 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Performance Optimization in React Pivot Table with Data Compression The Syncfusion React

📱 Issue 446 - Fatbobman's Swift Weekly #063

Thursday, December 26, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 446 Release Date Dec 26, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 444 - Four limitations of Rust’s borrow checker

Thursday, December 26, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 444 Release Date Dec 26, 2024 Your weekly report of the most popular Rust news, articles and projects