PHP Weekly - PHPWeekly May 23rd 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 edition of PHPWeekly. This week in Podcasts we have new episodes from PHPArchitect and PHP Roundtable. Derick Rethans joins the people at PHP Roundtable to discuss security in PHP, PHP Internals, and Tracing. At Mostly Techinical it's the Laravel vs. JavaScript discourse as one of the topics, while at Frontmatter they interview Phil Sturgeon who is the author of the Leanpub book Surviving Other People’s APIs. In Tutorials we have a guide on error handling in Laravel, Understanding Prepared statements in PHP and MySQL, as well as a fun guide on how to turn a country code into and emoji flag. Finally in our Reading section we have 5 useful Laravel packages to help enhance your capabilities, as well as a quick and easy guide on PHP Syntax. 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 Look at What's Coming to PHP 8.4
PHP 8.4 is coming soon and in this post let's look at what has been announced so far, and what new features you might expect.

Disable Vite During Testing in Laravel
I recently had a project where I wanted github actions to run the tests of a laravel project but i didn't want to install node and vite during the CI process.

Performance Metrics Using Guzzle
In this article we're going to investigate how you can track performance metrics using Guzzle. Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.

New Proposed Array Find Functions in PHP 8.4
Four new array functions are likely coming to PHP 8.4 that are still in the RFC voting stage. We're encouraged that the voting is already 100% "yes" votes thus far, with voting ending May 29, 2024. While the RFC acceptance of these functions is pending, it seems likely that these functions are coming to PHP 8.4.

Handling Nullable Relationships in Laravel Models: Best Practices vs. Manual Checks
When dealing with relationships in Laravel models, such as the author relationship in a Post model, it's essential to consider the best practices for handling nullable relationships.

Unlocking the Power of Attributes in PHP
In this article, we will take a look at PHP attributes, their syntax, usage, and practical applications, especially in the context of the Laravel framework.

Can Your Website Handle the Amazon Treatment? Node.js vs. PHP
Imagine Amazon built with PHP. Every time you search for a product, the entire page would have to reload from scratch to show the results. This can be slow, especially during peak hours with many users searching at once.

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


Laravel Passport: API authentication with access and refresh token
In Laravel, we can use authentication systems like Scantam, and Passport. Still, Passport is one of the most popular authentication systems in Laravel.

Turn a country code into an emoji flag
Flag emojis are a fun and visual way to represent countries and regions. These emojis are part of the Unicode standard and are created using a pair of regional indicator symbols.

Laravel 9 - Use Fake data in blade File without Create Factory
In this section, we will see how to incorporate fake data directly into Blade files without the need to create a factory file. Utilizing the fake() helper method, you can swiftly prototype designs and populate them with simulated data.

How to Check MySQL Database and Table Sizes
From modest few-megabyte databases perfect for small-scale applications to behemoths spanning several terabytes designed to handle extensive enterprise-level data – MySQL databases display a broad spectrum of sizes.

Automating Financial Statement Analysis for Microfinance: A Developer’s Guide: Part 2
This is the second and final part of the series on how to automatically analyze financial transaction statements using the SAT tool.

Understanding Prepared Statements in PHP and MySQL
Let’s dive into what prepared statements are, their benefits, and how to implement them in PHP and MySQL.

Error Handling in Laravel: Graceful Degradation
Laravel, the ever-reliable PHP framework, comes equipped with powerful logging and error handling features to empower you as a developer.

News and Announcements


CakePHP 5.1.0-RC1 Released
Improvements: Connection now creates unique read and write drivers if the keys read or write are present in the config. Adding associations with duplicate names will now raise exceptions + so much more.

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

PhpStorm 2024.2 Early Access Program Is Now Open
Today, we’re opening the Early Access Program (EAP) for the next version of PhpStorm.

A Week of Symfony #907 (13-19 May 2024)
This week, the first release candidate version of Symfony 7.1 was published so you can test it in your own projects before the stable release in two weeks. Meanwhile, we continued publishing more talks and information about the upcoming SymfonyOnline June 2024 conference.

Laracon AU 2024 tickets are now on sale
The first release of Laracon AU tickets are now on sale, with Blind Bird pricing available for $549 per ticket - an early discount of $150 on this year's ticket price - but be quick, as Blind Bird tickets are limited.

Podcasts and Vlogs


PHP Ugly: 383: Theoretically Absolutely
This week on the podcast, Eric and John talk about Tek Talk Videos Live, MySQL CTE, ULID, and more...

The Stack Overflow: OverflowAI and the holy grail of search
Product manager Ash Zade joins the home team to talk about the journey to OverflowAI, a GenAI-powered add-on for Stack Overflow for Teams that’s available now.

Maintainable Podcast: Andrea Guarino - Leveraging Static Analysis for Better Code
In this episode, Robby interviews Andrea Guarino, a Software Engineer at Sonar, about the importance of leveraging static analysis tools for maintaining clean and adaptable code.

Software Engineering Radio: SE Radio 616: Ori Saporta on the Role of the Software Architect
Ori Saporta, co-founder and Systems Architect at vFunction, joins host Jeff Doolittle for a conversation about the role of the software architect. The episode begins with Ori’s thoughts on what is typically missed or overlooked regarding this role.

Shoptalk Show: Strum Machine with Luke Abbott
Luke Abbott is the creator of Strum Machine, an app that simulates backing tracks by stitching together individual notes, chords, and strums recorded on guitar, standup bass, and mandolin.

WP Builds: 373 – No Script Show, Episode 10 – User Preferences: rethinking web design
We get into some of the new features that have been added to CSS and what they enable you to do, and how widely supported they are.

PHP Architect: php[podcast] 24.05.21
John and Eric share more of the day-to-day behind-the-scenes work that goes on at php[architect].

The PHP Roundtable: 089: PHPRoundtable May 2024
Derick Rethans hooped on to the show to join Eric, Sara, Joe, and TJ, and discuss security in PHP, PHP Internals, and Tracing. Here are some links from the show.

Frontmatter Podcast: Phil Sturgeon, Author of Surviving Other People's APIs
Phil Sturgeon is the author of the Leanpub book Surviving Other People’s APIs. In this interview, Leanpub co-founder Len Epp talks with Phil about what he’s been up to since he was last on the podcast, co-founding the environmental charity Protect Earth, and his latest book, Surviving Other People’s APIs.

Mostly Technical: 35: Laravel vs. JavaScript with Dax & Adam Elmore
Ian & Aaron are joined this week by Dax & Adam Elmore to discuss the Laravel vs. JavaScript discourse, selling coffee over the command line, and a lot more.

Software Unscripted: Season 1 Episode 91 Comparing F#, Elm, and Haskell with Michael Newton
Richard talks to Michael Newton, a programmer working as a consultant and trainer who has used several different functional programming languages in professional settings. 

Syntax: React Server Components with PHP, Selling Accessibility, WTF is Cloudflare + more
Potluck episode answering submitted questions on various web dev topics.

The Changelog: Kyle explains "Legacy Software" to the aliens
Taylor Troesh writes Kyle explaining “Legacy Software” to the aliens, Vitaly Friedman addresses why so many designers feel misunderstood and under appreciated in business contexts, Oracle dumps Terraform for OpenTofu & hackers discover how to reprogram NES Tetris from within the game.

Reading and Viewing


Is class instantiation without extra parenthesis coming to PHP 8.4?
The RFC for omitting parentheses around the new expression is likely coming to PHP 8.4. This RFC is currently in the voting phase, with 21 "yes" and 3 "no" votes. Voting ends May 24th, so there's still a chance the 2/3 vote could fail, but optimistically, it looks like it's heading in the right direction.

Avoiding Imports and Aliases in PHP
In this post, we'll explore strategies to avoid excessive imports and aliases, ensuring a more maintainable and straightforward code structure.

Removing orphaned Parents with Doctrine
Previously, we considered a common real-life case where, to maintain referential integrity, we might delete all child entries when the parent entry is deleted. For example to delete author with all his articles.

5 Useful Laravel Packages to Enhance Your Development
Laravel’s extensive ecosystem offers countless packages to extend and enhance its capabilities. Here are five useful packages every Laravel developer should know about. Let’s dive in!

PHP Syntax Made Easy: A Quick Reference Guide
Taming the magic of PHP? This blog is your ultimate companion! Get clear explanations, code examples, and a cheat sheet to solidify your PHP syntax knowledge. Let’s write some powerful code!

Implementing Feature Flagging in PHP Using AST Parsers
In this article, we’ll explore how to implement feature flagging in PHP using AST parsers, specifically with the nikic/php-parser library.

Web Development’s Full Circle: Are We Back to PHP in the JavaScript Era?
As we embrace new technologies, we can’t help but hear the echoes of the old ones — especially PHP. But is this really a step backward, or are we just seeing innovation come full circle?

Interesting Projects, Tools and Libraries


scr34m/php-malware-scanner
Scans PHP files for malwares and known threats.

biplane/yandex-direct
PHP library for Yandex.Direct API.

poletaew/sms-segment-calculator
PHP-based tool to calculate and display SMS segmentation data for a given message body.

niclalalla/flarum-ext-group-invitation
Invite users into groups via links and give point to the inviter.

tide/tidecrudbundle
A bundle to perform automated crud actions to entities, includes pagination.

fiisoft/phpexcel
Some useful classes to manipulate Office Excel files with PHPExcel library.

coercive/fatalnotifyer
Coercive FatalNotifyer Utility.

railroad/intercomeo
Intercom integration.

hpeccatte/properties-parser
Parser for properties files.

eastown/laravel-api-token
API Token authentication for laravel.

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 14. 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 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

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

You Might Also Like

Charted | Visualizing Cobalt Production by Country in 2023 🔋

Thursday, June 13, 2024

This graphic illustrates estimated cobalt production by country in 2023 in metric tons. How much did the DRC add to the mix? View Online | Subscribe Presented by: Which Minerals Will Drive Clean Energy

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.

Issue 319 - Model S with original battery and motors at 430k miles

Thursday, June 13, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 319 -

Frontline Ukrainians: ‘We Need Drones and Freedom’

Thursday, June 13, 2024

Top Tech Content sent at Noon! Meet the device ushering in a new era of hearing clarity Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, June 13, 2024

Programmer Weekly - Issue 209

Thursday, June 13, 2024

View this email in your browser Programmer Weekly Welcome to issue 209 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "I didn't work hard to make Ruby

Join the #blockchain-api Writing Contest and Win a Slice of the $1000 Prize Pool!

Thursday, June 13, 2024

The contest kicks off today—jump in and get 💸 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏

Python Weekly - Issue 654

Thursday, June 13, 2024

View this email in your browser Python Weekly Welcome to issue 654 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Let's reproduce GPT-2 (124M) In

Web Tools #569 - React Tools, ChatGPT, AI Tools, Mobile

Thursday, June 13, 2024

WEB VERSION Issue #569 • June 13, 2024 Advertisement The Best New App for Newsletter Reading Meco is a distraction-free space for reading newsletters outside the inbox. The app is packed with features

Can't hear TV dialogue? Change these 3 settings

Thursday, June 13, 2024

Why DaVinci Resolve beats Final Cut Pro; Best iPhone accessories -- ZDNET ZDNET Tech Today - US June 13, 2024 placeholder Can't hear TV dialogue? Changing these 3 settings can make a big difference

Tesla shareholders to vote today on $56B pay package

Thursday, June 13, 2024

Ford poaches talent for low-cost EV, and GM gives Cruise $850M View this email online in your browser By Rebecca Bellan Thursday, June 13, 2024 Image Credits: Getty Images / Patrick Pleul/picture