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!

January 12, 2023

Hi everyone,

This week we have a newsletter stacked with the latest news and content from the wonderful world of PHP. We have new security updates from PHP 8, the first XdeBug update of the year and a Laravel 10 bug hunt 
with a $1,000 prize. We also have a plethora of new tutorials from Arrays, CRUD operations, and custom building PHP MVC framework. As for podcasts we have new episodes from North Meets South, The Rabbit Hole and Developer Tea. Finally for our Reading section we have Symfony Service Subscribers and a comprehensive article on the return statement. 

Last but not least, we have to thank our growing number of subscribers that are now up to 18k and growing! We hope you continue to support as as we continue to provide you with the freshest content provided by the awesome members of the PHP community.   

We do hope you enjoy this week's newsletter. 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

Top 10 Books For PHP Developers
These books will help you learn more about PHP in detail and make you a better software engineer overall.

PHP Version Stats: January, 2023
It's that time again: my biyearly summary of which PHP versions are used across the community.

8 Essential Questions to Ask Before Using a Laravel Package
One of the amazing things about Laravel and PHP is the vast ecosystem of community packages available to accelerate your development process.

Best Practices for PHP Developers: A Collection of Tips and Techniques
Here are some key best practices that PHP developers can follow to write clean, efficient, and maintainable code.

Quick Guide for PHP Prepared Statements
Let's expand on this topic and see how we can implement them in our code.

Tutorials and Talks

CRUD Operations Using Laravel Livewire
Tired of creating boring and tiring Interfaces using traditional methods? Bring in all your attention here as we come up with a tech tutorial on executing the CRUD operations using Laravel Livewire.

Tame Arrays With Map, Filter And Reduce
php's arrays are great. until they aren't. it's easy to let arrays get away on you and wind up writing complex, hard-to-test foreach loops to modify or filter your data. but there's a better way to manage our arrays.

Creating An Application In Yii3 - Part 3 The Container Di
In our post today, we will talk about the container di, but first we must know some important terms, which will help us understand the functioning.

What is Laravel Translation UI and How to Use It?
Laravel Translations UI is a package that provides a simple and friendly user interface for managing translations in a Laravel app.

How to Build a Custom PHP MVC Framework
Have you ever considered playing around with a programming language in its core without using any framework or libraries?

PHP Interfaces: How to Implement and Use Them
An interface is a set of method declarations that a class must implement. It allows you to create a blueprint for classes, ensuring that any class that implements the interface has certain methods and properties.

Using Symfony Service Tags To Keep Code Maintainable
In order to keep the code maintainable and to support new types of equipment, such as Dedicated Storage, Firewalls and Load Balancers, we decided to refactor the code using the service tags feature of the Symfony framework in combination with the Strategy software design pattern.

News and Announcements

Xdebug Update: December 2022
In this monthly update I explain what happened with Xdebug development in this past month. These are normally published on the first Tuesday on or after the 5th of each month.

CakePHP 4.2.12 Released
Baking up a bunch of releases this week. In 4.2.12 the core team fixed regression in Query::offset() and Query::limit().

What’s Next in PhpStorm: The 2023.1 Public Roadmap
In the first release of 2023, we aim to improve performance and bring faster indexing, add 3v4l integration, improve support for generics, as well as PHPStan and Psalm tags, add support for multi-composer and multi-vendor projects, and more.

Laravel 10 Bug Hunt
Laravel 10 is scheduled to be released in February and the Laravel team announced a new bug hunt with a chance to win $1,000 USD.

PHP 8.0.27 Released!
The PHP development team announces the immediate availability of PHP 8.0.27. This is a security release.

A Week of Symfony #836 (2-8 January 2023)
This week, the upcoming Symfony 6.3 version introduced a getEnum() method in ParameterBag and a new WithLogLevel attribute to set the log level for exceptions. In addition, Symfony announced its first official conferences for 2023.

Podcasts and Vlogs

How To Code Well: 188 - Maintain The Line
Let's talk about the current https://howtocodewell.net maintenance mode.

PHP Ugly: 317: Certified PHP Ugly
This week on the podcast, Eric, John, and Thomas talk about php[tek], Laravel certifications, ProxySQL, AI, and more...

The Stack Overflow: Our Favorite Apps, Books, And Games Of 2023 (Ep. 524)
From BeReal to RetroPi, we look back at what brought us joy last year.

North Meets South Podcast: A Belated Christmas Extravaganza
Jake and Michael are joined by TJ Miller (still not the actor), Chris Gmyr, and David Hemphill (neither of whom are actors, either) to look back at 2022, forward to 2023, and yet another one-sided end of year game of Family Feud.

Software Engineering Radio: Episode 545: John deVadoss on Design Philosophies that Drive .NET/Azure
In this episode, host Nikhil Krishna speaks with John deVadoss of NEO Global Development in Seattle about his previous work in the .NET Patterns and Practices and Azure teams at Microsoft. 

Developer Tea: Spectrum of Buy-In For Behavior Change
In today's episode, I'll give you a thinking model for considering different types of buy-in along this spectrum, and when one might help you make better systems for behavior change in your organization.

Shoptalk Show: 547: WordPress and GraphQL with Jason Bahl
Jason Bahl joins the show to talk about the GraphQL and WordPress connection, his work on WP GraphQL plugin, Faust and Atlas from WP Engine, Jamstack and Wordpress, and more.

WP Builds: 309 – Traditional v Agile
Today we are talking about Future Proofing (our tech based business and maybe our clients’ sites).

The Rabbit Hole: Launch Plans
In today’s episode, Alex Bernardin, Lead Product Manager at Stride, joins us to explain the circumstances under which having a launch plan is very important and how you can ensure that it goes to plan.

Reading and Viewing

The Return Statement And How It's Used
I've been covering some pretty advanced database related topics here, but today we are going to go back to the absolute fundamentals of programming and talk about one of the most powerful keywords in any programming language, the return.

Real-Time Two-Way Communication Between Frontend And Backend Using Sockets
Communication between frontend and backend is usually handled by the HTTP protocol. Frontend sends a request to change resource or retrieve data, while backend returns appropriate results.

Laravel: Adding Those Missing Helpers You Always Wanted
One of the things I like from any PHP project is having global helpers. You know, those functions you can call anywhere and remove or save you many lines or verbosity into one, maybe two, while allocating in one place any logic.

Symfony Service Subscribers
Symfony service subscribers are useful when we have a service that needs other services but we don’t know which one it will use. 

Create and Publish a PHP Composer Package
As you might know, packages or libraries came to make developer’s life easier where the package is a piece of reusable code that can be dropped into any application and be used without any tinkering to add functionality to that code.

Level Up Your Code Reviews
Good code reviews are fast and thorough. Reviewing code is a core part of the job. And one of the hardest parts.

Interesting Projects, Tools and Libraries

michael-rubel/laravel-formatters
This package is a collection of classes you can use to standardize data formats in your Laravel application. It uses the Service Container to easily extend or override the formatter classes.

dedmytro/laravel-cloudflare-images
Cloudflare API client and filesystem for Laravel.

acatec/slim-skeleton
A Slim Framework skeleton application for rapid development.

mabrahao/mock-server
Mock server for unit tests.

jstewmc/gravity
A framework-agnostic service and configuration manager for PHP.

liam-wiltshire/laravel-jit-loader
Just In Time relationship loader for Laravel.

butterycrumpet/supersimplecache
A super simple file system cache.

axllent/silverstripe-version-truncator
Automatically delete old versioned Silverstripe records from the database.

ircmaxell/php-math-parser
A simple shunting-yard based math parser and executor for PHP.

jrmadsen67/laravel-dead-route-actions
Check routes for missing controller actions for Laravel.

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