PHP Weekly - PHPWeekly December 15th 2022

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

Hi everyone,

PHP 8.2 is now out in the wild. In a few weeks or months we'll be getting reviews from the early adapters. I'm quite certain there are users out there who will be slowly pushing into this version later rather than sooner, for one reason or another, but the important thing is that this version is out and new features are being added - for better or for worse is still up for debate. This week the buzzword seems to be all about the AI ChatGPT and how some people think it will be the harbinger for the future takeover of developer jobs (not likely) as shown in many articles and discussions including a couple that we've included here. We also have new releases from Laravel and Symfony. 

We do hope you enjoy this week's newsletter. In the next two weeks we will be posting our year end digest where we will be featuring the best articles that we've gathered for the year. So if you want some reading material to get you caught up with the PHP news over the holiday season, we've got you covered.  

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. You can connect with me on LinkedIn:
https://www.linkedin.com/in/adrianteasdale/

All the best,
Adrian


Please help us by clicking to our sponsor:

encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 13. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.

Articles


Demystifying Tests In Laravel
This one will be a rapid-fire oriented post so that you can both see how easy it is to test your Laravel app, and you can refer to it whenever you want to remember how to test something.

Laravel Meets ChatGPT
ChatGPT arrived a few days back it's already been the talk of the town in the software industry.

The Hell of Calculating The Size of Strings in PHP
For some reasons, there are many ways to count characters in a string in PHP. It seems to be such a basic task, and having (at least) four days of doing so is curious. More than that, it could confuse a PHP neophyte.

Managing (Laravel) API: Performance Checklist
Or — if you’re into click baits — “11 insider secrets for making your Laravel API run like a dream”.

Simple Trick to Improve Your Classes in PHP
My secret trick how to code better. See how to make your classes better and avoid having too many responsibilities.

Tutorials and Talks


Eloquent API Calls
Time and again, I have spoken about API integrations, and each time I find an improvement from the last, once more into the fray.

Supercharging Your Artisan Commands With Termwind
If you're building a Laravel application, package, or CLI (command-line interface) application, you'll likely create your own custom Artisan commands at some stage.

How to use the Query Builder correctly in Laravel
In this video we're having a look at the Query Builder, and how to use it correctly.

Tailing Multiple Laravel Logs With Envoy
When you have deployed your Laravel application across multiple servers, for example when running multiple workers, you can run into a situation where you need to quickly tail the log to see what is going on.

How to upgrade to PHP 8.2 on Mac (and Laravel Valet)
Now that PHP 8.2 has been released, it's time to upgrade the PHP of your Mac.

How To Upload And Zip Single Or Multiple Files in PHP
In my article today, I will show you how you can upload both single and multiple files in PHP and save them in a zip file.

Deploying a Laravel 7 Application on AWS Fargate (Part 1)
In this series of articles we will see how to create and deploy a production-ready Laravel application on AWS Fargate.

News and Announcements


PHP 8.2.0 Released!
The PHP development team announces the immediate availability of PHP 8.2.0. This release marks the latest minor release of the PHP language.

Laravel 9.43 Released
The Laravel team released 9.43 this week with the ability to specify columns eagerly with withWhereHas(), the model:show command now lists model policies, a new Stringable method, and more.

PhpStorm 2022.3: PHP 8.2, New UI (Beta), Code Vision, Redis Support, Quick-Fixes Preview, and More
This major update brings a preview of the new UI, complete PHP 8.2 support, Redis support in database tools, Code Vision for PHP, quick-fix preview, Xdebug config validation, support for ParaTest, reader mode for PHPDoc, and many other features.

Symfony 6.2.1 Released
Symfony 6.2.1 has just been released. Here is the list of the most important changes since 6.2.0

A Week of Symfony #832 (5-11 December 2022)
This week, Symfony 6.2.1 maintenance version was published. Meanwhile, we started working on the new features of the upcoming Symfony 6.3 version (to be released at the end of May 2023): we introduced build parameters, deprecated the ProxyManagerBridge package and added a ClockAwareTrait to help write time-sensitive classes. Lastly, we celebrated the SymfonyWorld Online 2022 Winter Edition conference.

Podcasts and Vlogs


How To Code Well: 186 - Will ChatGPT Be A Better Developer Than You?
PHP 8.2 is here. Check out some of the features.

PHP Ugly: 314: PHP 8.2 Release Party
This week on the podcast, Eric, John, and Thomas talk about PHP 8.2 release, php[tek] talk submissions, PHP Lands, and more...

The Stack Overflow: The Next Step In Ecommerce? Replatform With APIs And Micro Frontends
Your ecommerce solution doesn't need to know what you're selling, just how to sell it.

No Compromises Podcast: Why Do You Write Your Tests Like That?
We discuss two "interesting" patterns we've observed in a number of Laravel projects. Let's take a step back and think about why we write tests the way we do.

Software Engineering Radio: Episode 541: Jordan Harband and Donald Fischer on Securing the Supply Chain
Open source developers Jordan Harband and Donald Fischer join host Robert Blumen for a conversation about securing the software supply chain, especially open source.

Developer Tea: Get Acquainted With What Holds You Back
What will hold you back from achieving what you want to achieve in your future?

Shoptalk Show: 545: Arc Browser with Nate Parrott
Nate Parrott from The Browser Company of New York stops by to talk about Arc - including the history of Arc, how boosts work, building out dev features, how they deciding on what features to build, and feedback from Dave and Chris on Arc.

WP Builds: 307 – Upselling Services
Today we are talking about Upselling services.

Reading and Viewing


Use Repository Pattern with Laravel
In this article, I will show you how to implement the Repository pattern in your Laravel applications. To do that, we will build an API to manage orders received from clients for a company.

Creating A One API Endpoint With PHP and Symfony
In the last article we saw how to create a one endpoint api and how to define operations. In this second part, we will add security to our api in two ways.

Laravel Horizon Watcher
It is common for people to spend a significant amount of time debugging local jobs, only to realize that they forgot to restart Horizon.

Advent of Code 2022 — Day 5
This is the fifth article in the series where I share my solutions to the puzzles from the Advent of Code 2022. This year I am using PHP and created a platform for comfortable development.

Top 4 PHP Books for Beginners
If you are interested in studying the PHP programming language and looking for a great book to help you advance your PHP knowledge, then you have come to the right place.

Interesting Projects, Tools and Libraries


ibexa/automated-translation
Ibexa Automated Translation Bundle provides interfaces to automatically translate a new content translation from different translation providers.

postfinancecheckout/magento-2
PostFinance Checkout integration for Magento 2.

aryehraber/statamic-captcha
Protect your Statamic forms using a Captcha service.

khartir/typed-config
A tool to create valid config objects from typed classes and data-arrays.

itleague/microservice
General library for microservices.

acadea/boilerplate
An opinionated Laravel boilerplate generator. Generate boilerplates like repositories, routes, events, api docs and much more!

haiquang9994/memongo
Query builder for mongodb.

cwhite92/dotenvdiff
Easily see differences between two .env files.

aliengen/pachyderm
A micro PHP framework for APIs.

neoncitylights/data-url
Allows working with data URLs as entity objects in PHP.

jkribeiro/drupal-composer-paranoia-acquia
Composer plugin to improve the security of composer-based Drupal projects by moving all PHP files out of docroot for Acquia Environments.

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 advert



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 13. 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 13. Free trial.

Copyright © 2022 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
 

 

Key phrases

Older messages

PHPWeekly December 8th 2022

Thursday, December 8, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 8th December 2022 Hi everyone, By the time this newsletter gets

PHPWeekly November 17th 2022

Thursday, November 17, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 17th November 2022 Hi everyone, Hope you're all doing well. The

PHPWeekly November 10th 2022

Thursday, November 10, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 10th November 2022 Hi everyone, A lot has happened this week in the

PHPWeekly November 3nd 2022

Thursday, November 3, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 3rd November 2022 Hi everyone, This week's newsletter is truly

PHPWeekly October 27th 2022

Thursday, October 27, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 27th October 2022 Hi everyone, They say, hindsight is 20/20 - the

You Might Also Like

AI search engine startup Perplexity eyes a $3B valuation

Tuesday, April 23, 2024

Plus: It's Tesla earnings day and AWS wants to host your AI models View this email online in your browser By Cody Corrall Tuesday, April 23, 2024 Welcome back to TechCrunch PM. Today we have big

🎞️ We Tried 3D Printing a Photo — You'll Love This Secret Samsung Galaxy Bluetooth Feature

Tuesday, April 23, 2024

Also: Transferring Your Phone Number to a New Carrier, and More! How-To Geek Logo April 23, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

You're invited – product sense, prioritization, careers

Tuesday, April 23, 2024

Product Sense Product Sense Wednesday, May 1st @ 01:00 PM EST Learn how to identify opportunities, assess risks, and make informed decisions that lead to successful product innovations by better

CTRL-C, Exceptions, Ruff Speed-up, and More

Tuesday, April 23, 2024

Asyncio Handle Control-C (SIGINT) #626 – APRIL 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio Handle Control-C (SIGINT) When the user presses CTRL-C on the keyboard, the OS raises an

Writing Contests Just Landed On Product Hunt 🔥

Tuesday, April 23, 2024

Upvote us to keep the $$$ coming! 👍 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ 

Daily Coding Problem: Problem #1421 [Hard]

Tuesday, April 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i

Ranked | The Top 10 EV Battery Manufacturers 🔋

Tuesday, April 23, 2024

Asia dominates this ranking of the world's largest EV battery manufacturers in 2023. See which battery makers feature in the top 10. View Online | Subscribe Presented by: EnergyX's

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

Noonification: Leetcode: Two-sum an Intuitive Approach

Tuesday, April 23, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with

The best AI chatbot for coding

Tuesday, April 23, 2024

9 video gadget must-haves; 6 things Linux should borrow from MacOS -- ZDNET ZDNET Tech Today - US April 23, 2024 placeholder Can Meta AI code? I tested it against Llama, Gemini and ChatGPT - it wasn