Curated news all about PHP.  Here's the latest edition Is this email not displaying correctly?
View it in your browser.
PHP Weekly 23rd March 2023

Hi everyone,

We have a lot in store in this week's newsletter starting with the latest bug fix update from PHP 8.2. We also have the latest version release from Pest and PHPStorm. In our Podcast section we have the latest from No Compromises about the possibility of going overboard with rules in programming, while on Developer Tea the topic is maintaining optimism. In Tutorials we have a new Quick Win Wednesday Youtube video on how to order by relationship in Eloquent, and a guide to passwordless Authentication in Laravel from Laravel news. Finally, our Reading section is stacked with interesting articles including an examination on Drupal's strength and weaknesses that may hamper it's future growth, from our friends at Symfony Station. 

We hope you like this week's newsletter. We would like to give a shoutout to our sponsors and their continued support. Do check out their links below. 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


Laravel Array Helpers Every Developer Should Know About
This article will explore some Laravel array helper functions that every developer should know.

Make More Things The Same
A nice refactor from Aaron Francis.

Limited By Committee
PHP is like a camel: there's little to say when it comes to beauty or elegance, but it does seem to survive many harsh conditions. So, who am I to judge?

Maximize Your Coding Skills: How To Use These 5 PHP Functions Like a Pro
These are my notes about some PHP functions that are less used or developers exactly don’t know the usage.

Improve PHP Application Performance With Database Connection Pooling
Statelessness is a fundamental aspect of modern internet applications.

Discover the Hidden Gems of Laravel Lint with These Expert Tips
Laravel Lint is a powerful tool that helps developers ensure their code is consistent and error-free. In this post, we’ll explore some of the hidden gems of Laravel Lint and provide expert tips to help you get the most out of this amazing tool.

The 4 Steps That Nearly Tripled My PHPUnit Test Efficiency
Recently on my commercial project, I tried to optimize the runtime of my PHPUnit tests.


Tutorials and Talks


Passwordless Authentication in Laravel
Sometimes we don't want users to have passwords. Sometimes we want to send a magic link to a user's email address and have them click to gain access.

Applying a Colored Overlay to a Background Image
I recently worked on a project that had a background image covering the entire body of the page. One of the differences was that the background also needed a colored overlay, in this case a black overlay with slight opacity.

Livestream: Building your first Laravel Application
Sometimes we need to go back to basics, so looking back at building your first Laravel Application is something that shouldn't be overlooked.

How to Order by Relationship in Eloquent
In this week's #QWW we're learning how we can order data based on a relationship's column

Upgrade your project to PHP 8.2 with Rector
I wanted to upgrade a project to PHP 8.2 and figured I could use Rector for this.

Get Started With PHP From Scratch
Today we’ll get you started with PHP from the very beginning, breaking down what PHP is, why you should learn it, and some of its unique advantages.

How to Resolve Method Not Found Warnings in Laravel Packages using Docgen
One of the most common problems that Laravel package developers face is not properly documenting their facades or maintaining the docs.

News and Announcements


PHP 8.2.4 Released
The PHP development team announces the immediate availability of PHP 8.2.4. This is a bug fix release.

MySQL for Developers Course is Live
The long-awaited MySQL for Developers course by Aaron Francis went live today! This course is free, consisting of over 7 hours and 64 videos with everything a developer needs to know about MySQL.

PEST 2.0 is Now Released
PEST, a testing framework that focuses on simplicity, has just launched v2.0.

PhpStorm 2022.2.5 Is Now Available
PhpStorm 2022.2.5 is a bug-fix update. Here are the most notable bug fixes in this build.

A Week of Symfony #846 (13-19 March 2023)
This week, the upcoming Symfony 6.3 version added support for 103 status code (Early Hints), updated the service container builder to use PHP weak references, and added three new components: Webhook and RemoteEvent and a Scheduler component. Lastly, Symfony announced a new Symfony conference in Berlin (October 5-6, 2023).

SymfonyLive Paris 2023
Join us this week for the French SymfonyLive conference on March 23 & 24 ! Very last days to register! The full schedule is available here.


Podcasts and Vlogs


PHP Ugly: 327: Ugly at Scale
This week on the podcast, Eric, John, and Thomas talk about New Laravel packages, trouble with Docker, PHP Core, and more...

The Stack Overflow: Moving up a level of abstraction with serverless on MongoDB Atlas and AWS
On this sponsored episode of the podcast, we chat with Andrew Davidson, SVP Products at MongoDB, about how they’re turning a database into a fully-managed service that developers can use in a more natural way.

No Compromises Podcast: Too Many Rules?
Rules in programming can be extremely helpful, especially on a team. But is it possible to go too far with rules? We discuss a couple recent scenarios where we could have made a rule, but decided not to.

Software Engineering Radio: SE Radio 555: On Freund on Upskilling
On Freund, founder of Wilco and former VP of Engineering at WeWork, speaks with SE Radio’s Brijesh Ammanath about “upskilling” – going deeper or increasing the breadth of your skills.

Developer Tea: Working Balance - Confronting Reality with Optimism
In today's episode we explore the duality between confronting difficult realities while maintaining optimism. Specifically, we discuss a critical question: what does it mean to be optimistic?

Shoptalk Show: 557: ChatGPT, Conferences, Fidgets on the Web, and Modern CSS in Real Life
When will AI be able to tell you the risk / reward of cleaning up trees? Are conferences back? Bringing fidgets to the web, internet as an anxiety machine, and Chris is working on talk on modern CSS in real life.

WP Builds: 318 – Rob Howard on what they’re doing at MasterWP
On the podcast today, we have Rob Howard. No, not the film director, but the one from MasterWP.


Reading and Viewing


5 Tips and Tricks for working with the Laravel HTTP Client
These tricks include using HTTP macros, configuring the HTTP client for container services, portable base URL configuration, preventing stray requests in tests, and listening to HTTP events.

My First Experiment With Svelte: Shorthex
For the past few months, I’ve been experimenting with Svelte & SvelteKit. Svelte peaked my interest because it’s a tool molded by the web. A lot of Svelte APIs piggyback on existing web affordances like plain HTML and CSS variables.

Does Drupal Have a Path to Growth?
Is Drupal growing? I would say no. But is Drupal predestined to a slow and slight decline year after year? Or does it have a growth path? That’s what I will explore in this opinion piece. One that I hope is wrong.

Using PHP Anonymous Classes To Test Collection Services
In this article we will see how to use anonymous classes to test we get the right service from a collection.

Final and Readonly Classes in PHP
In the past, when you didn't want other classes to extend a certain class, you could mark it as final.

A Better Way to Optimize (And the Illusion of “Balance”)
Setting a goal on the edge of your comfort zone and letting it consume you can be as meaningful and invigorating as it gets.

The elePHPant In The Room: Wordpress
There is no denying that PHP took a great leap forward in the last years. The transformation is so generalized that “the PHP experience” has become, to many, somehow irrecognizable.


Interesting Projects, Tools and Libraries


corazzi/laravel-reauth
Reauthenticate users using middleware.

zsgogo/hyperf
A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

sop/pkcs8
A PHP implementation of PKCS #8 encrypted private-key.

ignatenkovnikita/yii2-swagger
Swagger UI v3 intergation with yii2.

spekkionu/assetcachebuster
Prefixes asset urls with a unique hash which will allow invalidation of asset files cached by the browser.

lankhaar/laravel-multilingual
Add a language switcher to your multilingual Laravel application.

dimadin/simple-email-queue
Put email in queue and send it one by one, by limits.

umpirsky/locurro
Local currency converter.

spargon/laravel-auth-logger
Laravel Auth Logger stores user authentication logs and sends out notifications whenever a user logs in from a new system.

netcommons/visual-captcha
VisualCaptcha for NetCommons Plugin.


Jobs

 ------
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $75/week for an adver



Please let me know if you are interested by emailing me at articles@phpweekly.com

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