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
 

 

Key phrases

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

a16z’s Infrastructure team gets a new general partner

Friday, April 19, 2024

Post News is shutting down and Wall Street isn't feeling a Salesforce-Informatica pairing View this email online in your browser By Christine Hall Friday, April 19, 2024 Image Credits: Andreessen

New Roundtable! Additive for Mass Production Applications

Friday, April 19, 2024

The Outlook for the Future View this email in your browser engineering.com Roundtable - Additive for Mass Production Applications: The Outlook for the Future 6 Considerations for Choosing the Right

📷 What to Know About Macro Photography — Why You Should Buy a Budget Motherboard

Friday, April 19, 2024

Also: How to Automatically Highlight Values in Excel, and More! How-To Geek Logo April 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Is the wind going out of the AI sails?

Friday, April 19, 2024

Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to

Llama 3 is out - Weekly News Roundup - Issue #463

Friday, April 19, 2024

Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1417 [Easy]

Friday, April 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with

Charted | How Hard Is It to Get Into an Ivy League School? 🎓

Friday, April 19, 2024

We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations

Dark Matter & Tortured Poets

Friday, April 19, 2024

New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a

Impact of AI on Product Management

Friday, April 19, 2024

​ Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical

⚙️ Zuck has entered the chat(bot)

Friday, April 19, 2024

Plus: AI video's coming to mobile! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌