PHP Weekly - PHPWeekly January 26th 2023

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

Hi everyone,

This week we have some firsts for the year starting off with the first PHP Annotated for January. There's also the first PHPArchitect podcast for the year so do check them out. There are new releases from laravel and the last release candidate from PHPStorm. In tutorials we have guides for Laravel container, PHP codesniffer, and optimising queries with the WhereRelation method on video. Finally in our Reading section we have two articles on helping secure your website using Finite State machines, regex md5 checksum and PHP.     

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 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


Secure PHP Application Development
In this article, I will be talking about php secure development in detail. In addition to this article, I have included plenty of code examples. 

collect.js: A Laravel-Like Syntax for JavaScript Arrays
If you're anything like me, you're probably jumping between writing PHP code in Laravel and then building the frontend in JavaScript quite often when working on projects.

[PHP Guidelines series] Adapter design pattern + a dangerous workaround to implement Class Adapter
As announced here, I am working on a series of posts related to good and bad development practices.

Interfaces and Polymorphism in PHP - Practical Guide
Polymorphism in PHP does not support overloading, or in other words, compile-time polymorphism.

Stop Caching Relations Inside Your Models in PHP
Database models are the heart of your application. Restrain yourself from caching anything inside!

Tutorials and Talks


Leaning On The Container
Laravel has a fantastic dependency injection container, yet many people shy away from it. In this tutorial, I will walk through how I lean on Laravels container to make my code work for me.

Using PHP Codesniffer With Laravel
As of Laravel 9, the excellent Laravel Pint comes bundled with a new Laravel installation. 

CakePHP 4 Tutorial 2022 - Fetching Associated Data (Part 12)
In this part we are going to learn how CakePHP fetches associated data and how to filter a given query regarding their associated entities.

Write Cleaner Queries With WhereRelation
In this week's #QWW, we're optimizing our queries with the WhereRelation method. It makes our code more readable and shorter at the same time.

How To Get The Total Database Size In Mysql Using A Query
In this tutorial I'll show you how to get the total database size in MySQL using a simple statement.

How to Create Responsive FileManager in Laravel?
If you have some corrections, recommendations or anything else to say please let me know.

Allowing users to send emails with their own SMTP settings in Laravel 9
Various guides exist on how to do this in Laravel, but all the ones I found (this and this) worked only up to Laravel 8.

Laravel Ecommerce Tutorial: Part 4, Managing Product Categories
From the last 3 tutorials we laid all the foundational features of an ecommerce store from manage users to role based access control. In this post, we'll start to build the "ecommerce" part of this application.

News and Announcements


Laravel 9.48 Released
The Laravel team released 9.48 this week with conditional fragment helpers, HTTP configuration options for Symfony mailers, a new DB schema helper, and more.

Jetstream and Breeze Updated to Inertia v1.0 + Dark Mode for Jetstream
The Laravel team released new versions of Laravel Jetstream and Breeze in which both starter kits have been upgraded to Inertia v1.0. In addition, both now have Laravel 10 support to start testing and prepare the way for the general release on February 7th, 2023.

Lighthouse SEO monitoring is now available at Oh Dear
We're proud to announce we have added a new check to our service: Lighthouse SEO. Using this check you can detect (and get solution suggestions) for SEO and performance problems.

PHP Annotated – January 2023
Welcome to the January 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.

PhpStorm 2022.3.2 Release Candidate
PhpStorm 2022.3.2 Release Candidate is now available, and it’s the final build before the stable release.

php[tek] 2023 - Chicago, IL
Join us for the 15th Annual Web Developer Conference, php[tek] 2023, May 16-18 2023.

Podcasts and Vlogs


PHP Architect: php[podcast]
Episode 23.1.1 Join us at php[tek] 2023

PHP Ugly: 319: Server Racks and Cats
This week on the podcast, Eric, John, and Thomas talk about PR Review as a Service, AI, the new php[architect] Podcast, and more...

The Stack Overflow: From your lips to AI’s ears (Ep. 530)
The team talks about voice-to-code features, how game developers built accessibility into God of War, and why lab-grown meat is officially safe to eat (hail seitan!).

No Compromises Podcast: Knowing When To Use New Language Or Framework Features
New PHP version! New Laravel version! So exciting! But when does it make sense to upgrade, and when does it make sense to start using new language or framework features?

North Meets South Podcast: The One About Permissions
Jake and Michael discuss some different approaches to role-based permissions, and how to tackle assignment, management, and authorisation of them.

Developer Tea: Management Model of Ability and Will Applied to Self
If you aren't doing something, you either can't or won't. In today's episode, we explore this very simple starting point for behavior change and habit development, and explore the boundaries of the model.

WP Builds: 311 – Summing up the WP Builds ‘WordPress Business Bootcamp” Series
Over the last year, we have been attempting to question everything we know about building WordPress sites and running a web design businesses.

Reading and Viewing


Why Curly Brackets Go On New Lines
This is a curly bracket, or brace: {. It’s rarely used as a punctuation mark, but it is one of the most used symbols in programming languages, where they are used to group code and create scopes. It’s also one of the more debated topics when it comes to code styles.

Unlocking the Power of Laravel’s MVC: A Guide to Building Scalable and Maintainable Applications
We will explore how to use Laravel’s MVC pattern to build scalable and maintainable applications that follow the SOLID and DRY principles.

Efficiently Managing Stateful Processes in Laravel using Finite State Machines
Let’s dive into the world of Finite State Machines (FSM) and how they can help us secure our systems like a boss.

Malware Detection in Web scripts with Regex, md5 checksum and PHP
In this article we are going to create a proof of concept to detect malware in scripts loaded on a web site.

Exploring Code Reuse with Traits in PHP
Here is an example of a simple trait that defines a log() method.

Flutter Symfony Backend PHP
I want to show you how to create a blog app with flutter and symfony as a back-end API for a mobile app.

Humble Developers — The Unicorns of Software Development
I would love to shake a humble developer by the hand. I have spent 20 years looking and only found cowboy…

Interesting Projects, Tools and Libraries


surfnet/stepup-bundle
A Symfony 4|5 bundle that holds shared code and framework integration for all Step-up applications.

ideacatlab/laravel-cookie-consent-enhanced
Make your Laravel app comply with the EU cookie law and implement a cookie control system that allows users to manage their own cookie preferences.

nibynool/password-policy
A set of password policies to enable easy validation of a range of password requirements.

gemblue/tiny-wallet
Simple Wallets for PHP Projects.

objui/phpmail
This is a tool for sending email to PHP.

wenprise/debug
Debugging functions, wrapping around Symfony's VarDumper.

pinano/datatables-bundle
Symfony2 bundle for wrapping the famous dataTables jquery plugin by SpryMedia.

derptest/phpmachinist
Testing object factory for PHP.

philippfrenzel/yiimetroui
Yii2 MetroUI Widget Extension.

stvkoch/simple-example
Example very Simple Model/SQL Buidler and Config Libray.

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 © 2023 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 January 12th 2023

Friday, January 20, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 12th January 2023 Hi everyone, This week we have a newsletter

PHPWeekly January 19th 2023

Friday, January 20, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 19th January 2023 Hi everyone, We've gathered all the latest

PHPWeekly January 5th 2023

Thursday, January 5, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 5th January 2023 Hi everyone, Welcome to the new year. Hope you all

PHPWeekly December 22nd 2022

Thursday, December 22, 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,

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

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