sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

June 20, 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 [email protected].

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.

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 | update subscription preferences 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com