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
 

 

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

Weekend Reading — More time to write

Sunday, November 24, 2024

More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People

🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?

Saturday, November 23, 2024

Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the

JSK Daily for Nov 23, 2024

Saturday, November 23, 2024

JSK Daily for Nov 23, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Not Ready For The Camera 📸

Saturday, November 23, 2024

What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video

Daily Coding Problem: Problem #1617 [Easy]

Saturday, November 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon

🐍 New Python tutorials on Real Python

Saturday, November 23, 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: Black Friday Giveaway @ Real Python This Black

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for