PHP Weekly - PHPWeekly June 20th 2024

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

Hi everyone,

If you want to know the latest news and everything that's happening n the world of PHP, then you've come to the right place. This week we have new content from the PHP Roundtable podcast. The panel discusses the adoption and current state of PHP in the industry among other insightful topics. The Changelog covers the onset of Senior Engineer Fatigue, while over at Maintainable they talk about React Native and the art of flexibility. We have an article on mastering PHP File paths as well as a chronicle of the evolution of PHP from 5.4 to 8.3 with a rundown of significant changes and improvement across the PHP versions. Finally in our Reading section we have articles on using service classes in Laravel, and discovering the difference between stateful and stateless PHP web application architecture. 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


Tagged Singletons
Tempest, the framework Brent Roose is working on, allows you to attach a tag to a singleton definition, which means you can have multiple singletons of the same class, as long as their tags differ.

Create a DateTime from a Timestamp With this New Method Coming to PHP 8.4
Creating a DateTime from a Unix timestamp will be more convenient in PHP 8.4 with the new createFromTimestamp() method. It will support both a typical Unix timestamp as well as timestamps containing microseconds.

Mastering PHP File Paths: Simplifying Your Project's Structure
This article will discuss the absolute and relative paths, directory separators, file functions, including files in PHP, and how to use file paths in PHP.

The evolution of PHP from 5.4 to 8.3, and what has changed
The evolution of PHP from version 5.4 to 8.3 represents a significant transformation in terms of performance, features, and best practices. Here’s an overview of the key changes and improvements across these versions.

Secondary constructors in PHP
The main advantage of using “multiple” constructors is experienced when you need to create a new object in a consistent state depending on certain conditions and want to avoid numerous void arguments for the constructor.

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


Asserting a JSON Response Structure in Laravel
When writing tests for API responses in Laravel, it can be useful to validate the structure of the response. Laravel has the fluent assertJson() method, which you can use to verify JSON values in a given test response.

Setting up Vim for PHP and laravel in 2024
I am going to mostly document my own journy of setting up Vim (Not Neovim!) for PHP and laravel. Feel free to follow along.

How To Build an AI-Powered Voice Assistant With Twilio, Laravel, and OpenAI
In this tutorial, you will learn how to build an AI-powered voice assistant that can understand and respond to complex questions using Twilio Programmable Voice and OpenAI.

Profiling PHP (Laravel)Applications with xhprof. Finding bottlenecks!
In today’s guide, we’re diving deep into the realm of PHP application profiling. We’ll explore key techniques to enhance performance and identify what’s slowing down your applications.

Laravel Elasticsearch Integration: From Routing to Search
In this article, we will walk you through the steps on how to set up Elasticsearch integration in your Laravel application.

Using PHPMailer: A Comprehensive Guide By CODEMaster
This guide will walk you through the steps to set up and use PHPMailer, sourced from its GitHub repository.

How to Execute Code Before or After Testing in Laravel
In this article, we will look at two ways to do this: using Laravel events and using PHPUnit events.

How to Delete Old Revisions for Each Content Type in Drupal 9?
In this guide, we’ll walk through creating a custom Drupal script to delete older revisions for all content types, keeping only the most recent ones automatically.

News and Announcements


Laravel Herd v1.7 is out with updates to the dump UI
Laravel Herd v1.7 is now out and includes a few new features to the dump UI. The MacOS version is out now, and the Windows version will follow shortly.

Neovim Plugin to for Navigating Laravel and Livewire Components
LALI Components is a Neovim plugin for autocompletion of Laravel and Livewire components by community member Ricardo Ramirez. It offers component navigation using gf, prompting you to choose the component when more than one exists, as well as autocompletion using nvim-cmp.

A Week of Symfony #911 (10-16 June 2024)
This week, the upcoming Symfony 7.2 version updated some code to use constructor property promotion and added a new constraint to validate YAML contents. In addition, we published more transportation information and discounts for the SymfonyCon Vienna 2024 conference.

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.

Forum PHP 2024 - Paris (France) - October 10 & 11
Join the biggest PHP event organized by the French PHP user group, organized for the third time in Disneyland Paris, at the Hotel New York - The Art of Marvel!

Podcasts and Vlogs


PHP Ugly: 386: PHPever Dream
This week on the podcast, Eric and John talk about Porn on Twitter but nobody will ever know you like it, new license for Redis, PHP and Rust, and security issues with JetBrain plugin, and more...

The Stack Overflow: Making ETL pipelines a thing of the past
On today’s episode we chat with Cassandra Shum, VP of Field Engineering at RelationalAI, about her company’s efforts to create what it calls the industry’s first coprocessor for data clouds and language models.

Maintainable Podcast: Robin Heinze - React Native and the Art of Flexibility
In this episode, Robby welcomes Robin Heinze, Director of Engineering at Infinite Red, to discuss the intricacies of building and maintaining robust software systems.

Software Engineering Radio: SE Radio 620: Parker Selbert and Shannon Selbert on Robust Job Processing in Elixir
Shannon Selbert, co-founder of Soren and developer of Oban, and Parker Selbert, creator of the Oban background job framework, chief architect at dscout and co-founder of Soren, speak with SE Radio host Gavin Henry about robust job processing in Elixir.

Shoptalk Show: Cloudflare #HotDrama, Auth, and Prototyping Thoughts
We dive a bit deeper into the Cloudflare drama of the past couple of weeks, Instagram ads vs Cara art, what to do about Auth in your app, pre-negging any sponsorships, prototyping and feedback on projects, and ideas for future topics.

The PHP Roundtable: 090: PHPRoundtable June 2024
In this episode on PHPRoundtable, the panel discusses the adoption and current state of PHP in the industry. We also share out thoughts on what we feel could be some potential improvements for the development experience. We also talk about the importance of understanding PHP's internals and embracing change to keep up with the evolving landscape.

Mostly Technical: 40: One Big Bet
Ian & Aaron discuss Aaron's various small bets, why they're both so tired, the upcoming variety show.

Software Unscripted: From Game Dev to Web Dev
Richard talks with Wolfgang Schuster about his experiences first as a professional game developer, and then later as a professional Web developer. Theytalk about the differences in programming practices he's seen between the two, including things like automated testing, dependency management, and releases.

Syntax: How We Built a Netflix Style “Save for Offline” Feature Into Syntax
Scott and Wes discuss how they built an offline playback feature for Syntax podcast episodes using the Cache API to save files locally in the browser.

The Changelog: The onset of "Senior Engineer Fatigue"
Luminousmen writes about Senior Engineer Fatigue, Microsoft rethinks its AI-based Recall feature, Mike Hoye gives a big shout out to the “diff” program, Thom Holwerda covers ChromeOS’ quiet switch to Android Linux subsystems & Mihail Eric tells the inside story on how Alexa dropped the ball on being the top conversational system on Earth.

Reading and Viewing


An operation-oriented API using PHP and Symfony
When developing an api, we usually tend to organize our api endpoints using the CRUD approach which is the acronym for (CREATE, READ, UPDATE and DELETE). In other words, we create an endpoint for each CRUD operation.

Why I use Doctrine with Laravel
I thought that the future of PHP frameworks would be small assemblies like micro-frameworks, such as Lumen, where you gather all the necessary packages used in the project.

From Legacy to Modern: Migrating PHP 7.2 to 8.2 and Laravel 6 to 11
Moving to PHP 8.2 and Laravel 11 brings with it many improvements that can greatly enhance your application’s capabilities and improve the developer experience.

Service Container & Service Providers in Laravel 11: Binding, Resolvers, and Dependency Injection
This blog post will dive deep into Service Container, Service Providers, Binding, Resolvers, and Dependency Injection in Laravel 11.

Using Service Classes in Laravel
Service classes separate business logic from controllers, making the code more organized, readable, and maintainable.

Mastering Stateful and Stateless PHP Web Application Architecture
Discover the differences between stateful and stateless PHP web application architecture. Learn how to leverage these architectures for high-performance, scalable web applications using insights from “Mastering Swoole PHP.”

Interesting Projects, Tools and Libraries


betterbrief/silverstripe-jsconfig
Create a clean JavaScript data interface between your frontend and your SilverStripe application.

renan/email_reply_parser
Small library to parse plain text email content and identify fragments of quoted texts, signature or original body content.

iakumai/sphinxsearch-bundle
Sphinx search bundle for Symfony 2.

muyaedward/messenger
Simple user messaging tool for Laravel.

fidelosoftware/mailing
Discover mailserver configuration from email address.

ahmadhsalim/eloquent-filter-resolver
Resolves a string based filter query into an eloquent query.

deepaspl/theme-bundle
Provides theming support for Symfony4 Bundles.

teampro/language-translation-scanner
An elegant way to scan all text of blade files and send to database them.

alangustavo/trader-supertrend
Get supertrend indicators from php and php-trader library.

zoparga/billingo-laravel
Simple wrapper package for Billingo invoice app API.

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 13th 2024

Thursday, June 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 13th June 2024 Hi everyone, New updates are dropping this week.

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

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