PHP Weekly - PHPWeekly December 22nd 2022

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

Hi everyone,

The holiday season is upon us, that's why this week we are sending out the first part of our '2022 Digest' where we've collected the best articles, tutorials podcast and tools from the first half of this year, so if you missed reading some of our newsletters, we have the best ones right here to provide you with the best news about PHP and the brilliant people who have written and produced the content that we bring to you weekly.   

We do hope you enjoy this week's newsletter. From all of us here at PHPWeekly we would like to thank all of you for your support and we all wish you a festive, restful, peaceful and happy holiday season! 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


Best Practice Of Using PHP Enums
Hi, as you know, PHP enums were introduced with PHP 8.1, so there is a good chance you may not use them until now or perfectly. Therefore, let’s look at what an enum is and how to use it in PHP.

17 Killer GitHub Repos You Need to Save Right Now!
To be straightforward, what you will find in this article are treasures. But please bookmark this article, as it will be exhausting and difficult to go through everything at once.

Why TypeScript and PHP Are Good Friends
I am going to explain helpful tips on how to do object-oriented programming (OOP) in both of them. More specifically, I’m transcribing a statically-typed, object-oriented PHP codebase into TypeScript from scratch.

10 Ways to Use Functions in Your Code to Become a Better PHP Developer
Functions are fundamental to writing code, making it vital that you write them well. Well-written functions make your code efficient, easy to read.

Code That Breathes
Have you ever needed to maintain a project that wasn't yours? A project that, when you first opened it, gave you chills down your spine? Even without reading the code in detail, you could already tell it was a mess.

Good Developers vs Bad Developers
Every profession has its good sides and its bad sides. As an experienced software developer, I enjoy many aspects of my daily work, but there are also things that I don’t like or even hate.

Another PHP 8++ Cheat Sheet
PHP (Hypertext Preprocessor) is a powerful C-like scripting language that sometimes suffers from a bad reputation due to its legacy.

Best Tools To Work Smarter, Not Harder, As A Software Developer
Simple ways to impress your manager by being more efficient and not spending extra work hours to show that you are the next model employee of the company.

Tutorials and Talks


4 Steps To Improve Laravel + Docker Performance Issues
The performance improvements that I introduced were (I'll cover each of these in a bit more detail below).

Efficient Pagination Using Deferred Joins
Paginating records across large datasets in a web application seems like an easy problem that can actually be pretty tough to scale. The two main pagination strategies are offset/limit and cursors.

PHP Enums With Practical Examples - Full PHP 8 Tutorial
Let's learn more about the enums feature that was introduced in PHP 8.1 with some practical examples.

SOLID Principles in PHP
Today I want to explain SOLID principles and how we use them in PHP, firstly lets look closer to those principles.

Docker Cheat Sheet for Common Database Engine
I use docker almost everyday, and usually everything is already set-up in the project.

Master PHP & It's Core Concepts, Cheatsheet
I Won't Be Using Code Snippets Because One Can Not Learn By Copy Pasting Forever, With that being said let's begin.

How To Create A Simple Sanitizer For Your PHP Application
Sanitizing data means removing any illegal character from the data. sanitizing user input is one of the most common tasks in a web application.

How To Prevent SQL Injection In PHP: Three Essential Methods
Ignoring SQL injection mitigation skills can be disastrous, especially for a junior developer who has recently been hired by a tech business. Trust me, you don't want to be in this naty situation on your first job.

News and Announcements


PHP Annotated – December 2022
Welcome to the December installment of PHP Annotated, where we’ll catch up on the most exciting things that have happened in the PHP world over the last month, including curated news, articles, tools, and videos.

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

CakePHP 5.0.0-beta1 Released
The core team is proud to announce the first beta release of 5.0.0. This initial release contains most of the new features and breaking changes that 5.0 contains.

A Look at What's Coming to Laravel 10
Laravel v10 is the next major version of Laravel, planned for release on February 7th, 2023. In this post, we wanted to outline all the new features and changes that we know about.

A Week of Symfony #833 (12-18 December 2022)
This week, Symfony 6.2.2 maintenance version was released. Meanwhile, development activity focused on fixing bugs of stable versions and adding new features for the upcoming Symfony 6.3 version, such as the support of labels in dd() and dump() functions. In addition, the last conference keynote video was published for free so you can watch Fabien introducing two new components for Symfony 6.3.

Podcasts and Vlogs


How To Code Well EP 141 - Web Development Guide for 2022
Web assembly won’t replace JavaScript. TypeScript won’t replace JavaScript. GitHub actions won’t replace you. Next.JS won’t replace PHP. PHP won’t replace Python.

The Rabbit Hole: The Definitive Developer's Podcast: 238. Gamification
The idea of gamification has gained a lot of traction in the last few years and is increasingly being used in various aspects of modern life to aid commitment and learning, through enjoyment and engagement.

No Compromises Podcast : The Proper Way to Argue
We've all had disagreements about how to write or organize code, or how a feature should work. We share some tips on how to discuss it productively.

PHP Architect: Domain-Driven Resolutions
As 2021 fades from our memories, we hope that a few of you received fantastic geeky gifts during the holidays.

PHP Ugly 272: Tom's PHP Reflection
This week on the podcast, Eric, John, and Thomas talk about PHP Reflections, PHP Architect, Web3, and more...

PHP Internals News: Episode 98: Deprecating utf8_encode and utf8_decode
In this episode of "PHP Internals News" I chat with Rowan Tommins (GitHub, Website, Twitter) about the "Deprecate and Remove utf8_encode and utf8_decode" RFC.

Laravel Podcast: Laravel Debugbar, with Barry vd. Heuvel
In this episode, we talk with Barry vd. Heuvel, creator of Laravel Debugbar. A package provides an overview that allows you to quickly & easily see what’s going on inside your application. We talk about how he got started & various features.

Maintainable Podcast: Paula Paul - Getting People To Understand Is a Challenge
Robby has a chat with Paula Paul, a distinguished engineer with Greyshore Associates, where she helps organizations adopt cloud-native technology and serves the community as an ABI Syster, diversity speaker, and mentor.

Voices of the ElePHPant: David Bisset talks about WordPress community
Cal Evans hosts WordPress community leader David Bisset as they talk about the WordPress community.

North Meets South Web Podcast: Electric trucks, multiversal madness, and choosing TALL
Jake and Michael discuss pool pumps, electric trucks, Doctor Strange (no spoilers), and when you might choose and use the TALL stack.

Reading and Viewing


PHP: Foreach Easier Than Ever
The foreach construct provides an easy way to iterate over arrays, it works only on arrays and objects.

Intro To PSR (PHP Standards Recommendations)
This article is a simple introduction to a very large topic, so this article will provide you with a quick introduction and resources, to give you the starting point to dive deeper into this interesting topic.

Why You Should Start Self Hosting
Remember Picasa? There is no native application that still comes close to it’s feature parity. But sadly it was discontinued in favour of a cloud application: Google Photos. What happened with Picasa also happened to millions of other applications around the same time Picasa was discontinued.

How The PHP Middleware Pattern Works And Can Easily Be Applied
In this post we'll be looking at Middleware in PHP. This pattern is most common in the handling of requests and responses.

Modernizing PHP: Day 10: Balancing Business And Development Priorities
If you asked a development team about an application, specifically asking how that application should be developed, they would probably tell you that the application should be developed to be as easily maintainable as possible.

The Importance of Good Documentation
We all know documentation is an important part of any software. Whether that is through self-documenting code or hosted documentation on dedicated websites. In the end, all that matters is the quality of the documentation.

How Experienced Programmers Talk
Today, I am going to go into detail, and define the most basic building blocks of programming communication.

Not So Obvious PHP Vulnerabilities
Today I am going to blog about 2 vulnerability types which are tough to detect and hence often overlooked.

Interesting Projects, Tools and Libraries


1on1-questions
Mega list of 1 on 1 meeting questions compiled from a variety to sources.

letter-builder
A small tool to make the creation of medical letters or documentation easier.

states
Library to create classes following the State pattern in PHP.

climate
PHP's best friend for the terminal.

PHPIDS
PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application.

rpk/php-toolbox
A php toolbox useful in every project.

ekok/php-sqlv0.1.3
PHP SQL Utility.

ralphjsmit/laravel-seo
A package to handle the SEO in any Laravel application, big or small.

kitsunecode/uploader
It is a easy PHP upload manager for images, files and media in your application.

kodols/php-mysql-library
A Simple MySQL Library for PHP.

spatie/laravel-login-link
A Blade component component to quickly login to your local environment.

kriswallsmith/assetic
Asset Management for PHP.

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 15th 2022

Friday, December 16, 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

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

You Might Also Like

Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring

Friday, April 26, 2024

Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Build5Nines Newsletter - April 25, 2024

Friday, April 26, 2024

View this email in your browser Build5Nines Build5Nines Newsletter Thank you for subscribing! I look forward to sharing with you the latest cloud news, technical help, and other thoughts around DevOps

Ranked | Which City Has the Most Billionaires in 2024? 💰

Friday, April 26, 2024

Just two countries account for half of the top 20 cities with the most billionaires. And the majority of the other half are found in Asia. View Online | Subscribe Presented by: Discover what drives

iOS Dev Weekly - Issue 658

Friday, April 26, 2024

Meet the Swift Student Challenge winners for WWDC 2024 🎉 View on the Web Archives ISSUE 658 April 26th 2024 Comment Visiting WWDC is always a special experience, but attending is harder than with many

Introducing SwiftUI to the team, Let loose and much more!

Friday, April 26, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. How We Got Everyone on Board with a New Technology

SWLW #596: SRE and the art of improvisation, The power of celebration, and more.

Friday, April 26, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

Notion's New Look | In-App Notifications | Duplicated Automations

Friday, April 26, 2024

Your weekly Notion digest with the finest tip, latest news, and improvements! 🔥 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Don’t celebrate the demise of non-competes quite yet

Friday, April 26, 2024

A slew of lawsuits are heading the FTC's way after it voted to kill non-competes View this email online in your browser By Alex Wilhelm Friday, April 26, 2024 Welcome to TechCrunch AM! I love this

The best work laptop for most people

Friday, April 26, 2024

Old Kindle? Don't do this; How to change your IP address; Net neutrality restored -- ZDNET ZDNET Tech Today - US April 26, 2024 placeholder The work laptop I recommend to most people is not made by

New 'Brokewell' Android Banking Malware Spread Through Fake Browser Updates

Friday, April 26, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.