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!

December 15, 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 [email protected].

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
[email protected]

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.

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