PHP Weekly - PHPWeekly June 13th 2024

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

Hi everyone,

New updates are dropping this week. Starting with new security updates for PHP 8.2 and 8.3. We also have a new Xdebug update for the month of May, along with new updates from Laravel 11. In Podcast we have new episodes from Laravel News on Minimal Exceptions and ultimate validations. No Compromises tackles the frustrations with troubleshooting, while Maintainable talks about the fear factor in maintainable software. Finally in our Reading section we have using models as flags, Database Management in Wordpress, and when to use Eloquent ORM, Query Builder and RAw SQL. 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


Value Objects in PHP can protect you from bad data
One of the things that we need to care about when working with object oriented programming is that the data we are working with is valid at every moment.

Deep Dive into Eloquent: 40 Rarely Used Eloquent ORM Methods Every Laravel Developer MUST Know
Let’s start with the normal and then move into the best. You are going to see many beautiful methods that will really boost your application speed and efficiency. Let’s go.

Mastering Laravel Development with the PHP Scratchpad
By providing a fast and efficient way to write, test, and debug PHP code, the Scratchpad allows you to iterate quickly and focus on building your application.

Mastering PHP Generators
In this article, we’ll look at what PHP generators are, how they work, and why you should consider using them in your next project.

Factory Pattern can encapsulate complexity in PHP
Sometimes I hear comments against the Factory Pattern, meaning that it just introduces complexity with no real value, and I want to explore at least one use case in which I think it’s beneficial.

Level Up Your Laravel Development with Facades: A Friendly Guide
In this post, we’ll break down Facades in a way that’s easy to understand, even for beginners.

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


A Quickstart Tutorial on PHP Generators
To optimize memory usage, the crwlr/crawler library leverages PHP's Generators. If you want to write a custom step for your crawler, the step must return a Generator. Since working with generators can be a bit tricky if you're new to them, this post offers an intro on how to use them and highlights common pitfalls to avoid.

Automate comment system in Laravel: A comprehensive guide
Today, let's delve into the world of Laravel comments using the fantastic package from beyondcode.

How do you add page links and manage changes to a page by changing a single file in PHP?
Today I have learned to add page links in PHP project. And also know how to manage files that contains the data of pages.

Nginx: Doing IP Geolocation Right In Nginx
Knowing the geolocation of your site's users is handy thing. maybe you want to force your canadian users into a degraded, second-rate version of your ecommerce site, or maybe you want to redirect people from brazil to a frontend you ran through google translate.

Directory Templates: How to Pick the Best One for Your Project
This guide will help you dig deeper into Larafast Directories Boilerplate, by discussing the key factors to consider and the benefits of using customizable templates.

How to Remove HTML Markup from Text in PHP
Removing HTML from text is an easy and effective way to sanitize client-side text inputs.

Apartment Management System Project in PHP with Source Code
Apartment Management System Project in PHP is used to help people in apartments pay bills like maintenance bills and water bills, make a complaint, and update their information.

Handling JSON Data In Laravel with Eloquent And JSON Columns: Complete Guide
In this post, we’ll look at how to work with JSON data in Laravel, specifically concentrating on JSON columns in your database and utilizing the Eloquent Model in Laravel to manipulate this data.

News and Announcements


PHP 8.2.20 and PHP 8.3.8 Released!
The PHP development team announces the immediate availability of PHP 8.2.20 and PHP 8.3.8. This is a security release.

Xdebug Update: May 2024
In this monthly update I explain what happened with Xdebug development in the past month. These are normally published on the first Tuesday on or after the 5th of each month.

Updates for security issue affecting IntelliJ-based IDEs 2023.1+ and JetBrains GitHub Plugin
A new security issue was discovered that affects the JetBrains GitHub plugin on the IntelliJ Platform, which could lead to disclosure of access tokens to third-party sites. The issue affects all IntelliJ-based IDEs as of 2023.1 onwards that have the JetBrains GitHub plugin enabled and configured/in-use.

Use a Closure with updateOrInsert() in Laravel 11.10
This week, the Laravel team released v11.10, with the ability to pass a callback to updateOrInsert, support for soft-deleted models with explicit route model binding, and more.

"Fast Projects" by Larafast: Real life, ready to use Laravel based Boilerplates
Larafast continues to extend its boilerplates list. Introducing Larafast Fast Projects, a new collection of ready-to-go boilerplates designed to accelerate your Laravel development journey.

A Week of Symfony #910 (3-9 June 2024)
This week, Symfony 5.4.40, 6.4.8, 7.0.8 and 7.1.1 maintenance versions were released. In addition, we organized the SymfonyOnline June 2024 conference and merged the first features of Symfony 7.2, to be released at the end of November 2024.

SymfonyCon Vienna 2024 - Submit your talk before July 8th
SymfonyCon Vienna 2024, our next annual International Symfony conference, will take place on December 5 & 6! Start preparing for your participation by submitting a paper for a talk or workshop, registering for the conference, or becoming a conference partner.

Podcasts and Vlogs


PHP Ugly: 385: Early Worm
This week on the podcast, Eric and John talk about DHH's move to Linux, SQLite making a come back?, No more space for Spaces at JetBrain, and more...

Laravel News Podcast: Minimal exceptions, time wardens, and ultimate validation
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: This startup uses a team of AI agents to write and review their pull requests
In this episode we chat with Saumil Patel, co-founder and CEO of Squire AI. The company uses an agentic workflow to automatically review your code, write your pull requests, and even review and provide opinions on other people’s PRs.

No Compromises Podcast: Troubleshooting an empty session
Why isn't this working? It can be frustrating when something doesn't work as expected!In this episode, we talk through a recent issue Joel had with sessions and oauth ...

Maintainable Podcast: Scott Hanselman - The Fear Factor in Maintainable Software
In this episode of Maintainable, Robby welcomes Scott Hanselman, VP of Developer Community at Microsoft and host of the Hanselminutes Podcast, to discuss the emotional side of maintainable software.

Software Engineering Radio: SE Radio 619: James Strong on Kubernetes Networking
Infrastructure engineer and Kubernetes ingress-Nginx maintainer James Strong joins host Robert Blumen to discuss the Kubernetes networking layer.

Shoptalk Show: Svencodes
Sven Neumann aka Sven Codes talks with us about SudokuPad, developing a cross-platform app, integrating new puzzles and features, the benefits of being easy to use, building a community, and monetizing an app while not upsetting your user base.

WP Builds: 376 – Exploring typography and accessibility with Piccia Neri
In Podcast #376, guest Piccia Neri, a seasoned designer and long-time collaborator with WP Builds, discusses the evolution of her career and the critical role of accessibility in web design.

WP Briefing: Episode 81: It’s your first WordCamp? Welcome!
This episode is designed for first-time attendees; we’ll explore what to expect, from Contributor Day activities to mastering the art of socializing and networking. Whether you’re aiming to contribute to the WordPress…

Mostly Technical: 38: Morning Person
Ian & Aaron discuss what's going on with Aaron's course and Ian's feistiness on Twitter before diving into what's going on with Aaron's HVAC system (seriously) and a lot more.

Syntax: Potluck - The Value of TypeScript × Vue vs Svelte × Leetcode
In this potluck episode, Scott and CJ discuss TypeScript complexity, Svelte vs Vue, internationalization, the future of React, Astro vs SvelteKit, learning C# or Rust alongside JS/TS, finishing projects, and scoping project quality based on timeline and team size.

The Changelog: Apple finally gets Siri-ous
Apple announces its “new” style of AI, piku gives you “git push” deployment on your own servers, Dabo Chen rebuilds nanoGPT in a spreadsheet, Mark Seemann thinks you’ll regret using natural keys in your database design & Glyph Lefkowitz describes his grand unified theory of the AI hype cycle.

Reading and Viewing


Using Models as Flags
One thing I've been experimenting with lately, with positive results, is using models as flags. When you need to flag one of your models somehow, you might add a boolean to your table to indicate a certain status.

Database Management In WordPress: 9 Tips For Efficient Data Handling
Whether you’re building a simple blog or a complex web application, efficient data handling is paramount for optimal performance and security. In this article, we’ll delve into advanced database management techniques to streamline your WordPress projects.

Eloquent ORM, Query Builder, Raw SQL: When To Use Which?
In this article, we’ll be reviewing each of them in terms of its definition and how to implement them. I’m gonna be using Laravel as the framework to demonstrate everything for the sake of simplicity and understandability.

Introduction to gRPC: Building a Golang Server and a PHP Client
In this article, we will explore the basics of gRPC, and walk through a practical example of implementing a gRPC server in Golang and a client in PHP.

Critical PHP Flaw Puts Windows Servers at RCE Risk
In recent cybersecurity news, a critical vulnerability in the PHP programming language has been identified, posing significant risks to Windows servers worldwide.

Interesting Projects, Tools and Libraries


bjerke/laravel-enums
Helpers for handling enums and enum translations in Laravel.

akshaykhale1992/console-logger
A simple logger for PHP which logs into Browser's console log instead of a File or a Database.

vladimir-alekseev-go/yii2-image-processor
Configurable image processing for Yii2.

fastknife/ajcaptcha
This is a behavior verification code PHP back-end implementation package.

sunkan/aws-auth-policy
Library to help with generating auth policies for AWS Gateway API Authorizers.

ruafozy/cinip
Wrapper for bcmath that offers readable expressions

firren123/junit-laravel
A simplified version of the laravel framework unit test.

kentaroutakeda/laravel-safe-routing
Yaml based type safe routing for laravel.

omasn/object-handler
The component allows filling objects from an associative array based on class strict property maps.

vicephp/virtue-access
Making access management more Pythonic...

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 newsletters

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 15. 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 June 6th 2024

Thursday, June 6, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 6th June 2024 Hi everyone, If you're looking for after Symfony

PHPWeekly May 30th 2024

Monday, June 3, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 30th May 2024 Hi everyone, We've officially hit the mid-year

PHPWeekly May 23rd 2024

Thursday, May 23, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 23rd May 2024 Hi everyone, It's a week of comebacks in this

PHPWeekly May 16th 2024

Friday, May 17, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 16th May 2024 Hi everyone, New PHP updates, news and guides

PHPWeekly May 9th 2024

Thursday, May 9, 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

You Might Also Like

Ranked | The Worst Cities for Rush Hour Traffic 🚗

Saturday, October 5, 2024

We look at the worst cities for rush hour traffic, both globally and in the US specifically. View Online | Subscribe | Download Our App Presented by Voronoi: The App Where Data Tells the Story FEATURED

⚙️ Special Edition: Eric Xing and the Age of AI Empowerment

Saturday, October 5, 2024

We met up with Dr. Eric Xing to talk about the realities of AI. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🐍 New Python tutorials on Real Python

Saturday, October 5, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Python 3.13: Cool New Features for You to Try In

Hooked On Clarendon 💡

Saturday, October 5, 2024

The very common font that kicked off a redesign. Here's a version for your browser. Hunting for the end of the long tail • October 05, 2024 Hooked On Clarendon I saw a font recently, and it

Largest-Ever DDoS Attack Just Occurred—3.8 Tbps in Just 65 Seconds!

Saturday, October 5, 2024

THN Daily Updates Newsletter cover Mastering Spring Boot 3.0 ($31.99 Value) FREE for a Limited Time A comprehensive guide to building scalable and efficient backend systems with Java and Spring

Re: No more spam!

Saturday, October 5, 2024

If you are tired of getting spam texts and phone calls, I have a new discovery that you need to read about. It's a service called Incogni, and I'd recommend it to any iPhone Life reader

📧 Implementing the Outbox Pattern

Saturday, October 5, 2024

​ Implementing the Outbox Pattern Read on: m​y website / Read time: 8 minutes The .NET Weekly is brought to you by: Visually Building API-Driven Applications with Postman Flows ​ Explore how Postman

JSK Daily for Oct 4, 2024

Friday, October 4, 2024

JSK Daily for Oct 4, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Understanding CommonJS vs. ES Modules in JavaScript JavaScript has undergone significant

🕹️ 10 Tips for When PSN Isn't Working — Should You Buy Office 2024?

Friday, October 4, 2024

Also: What to Know About eSims, and More! How-To Geek Logo October 4, 2024 Did You Know It's true, in space no one can hear you scream; sound travels via the vibration of atoms (such as the atoms

iOS Dev Weekly - Issue 681

Friday, October 4, 2024

Back to our regular scheduled programming this week! ⌚ View on the Web Archives ISSUE 681 October 4th 2024 Comment Last week's downtime on Curated set me thinking about this newsletter and about