PHP Weekly - PHPWeekly October 31st 2024

Curated news all about PHP.  Here's the latest edition Is this email not displaying correctly?
View it in your browser.
PHP Weekly 31st October 2024

Hi everyone,

This week's newsletter falls on Halloween and we hope you're all enjoying your sweet treats. In keeping with the spirit of Halloween we have a podcast episode from Syntax where they read community submitted horror stories about web development mistakes. Over at Stack Overflow they chat about how to encourage kids to try coding. JSON fields are the topic of choice for the guys at No Compromises, while The Changelog tackes developing with Docker. In our Reading section we have a subscriber submitted article from Luka, and he provides an insight into when the TDD approcah makes sense. We also have an article for those starting out with Laravel, as well as a video on how to create tech videos for YouTube for those of you who are interested in sharing your insights in front of the camera. Finally we have a long list of tutorials, including Simplifying string checks, advanced PHP exceptions, and creating a CLI application with Laravel and Docker. We would like to give a shoutout to our sponsor, Sevalla for their support. If you want seamless scaling with Kubernetes, Cloudflare, and more, check out their link below.

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

All the best,
Adrian


Please help us by clicking to our sponsor:

Sponsor LogoSupercharge Your PHP Projects with Sevalla Cloud Platform!
Unleash your projects' potential! Scale seamlessly with Kubernetes and Cloudflare, and watch your apps, databases, and static sites thrive at Sevalla

Articles


PHP Fibers: How PHP is Finally Warming Up to Asynchronous Programming
So, let’s take a deep dive into PHP Fibers: what they are, how they work, and why you might find yourself grinning as you introduce them into your codebase.

Please don’t: using the same models for write and read in PHP
Models are a great tool to communicate with a data storage. We can define how the data looks like, and that makes sure that it’s compatible with the data storage, typically a database.

The Hidden Benefits of Modular PHP: How to Build Scalable Applications Like a Pro
In this article, we will explore the essential principles of building modular PHP applications, providing a comprehensive guide to structuring your codebase for optimal scalability and maintainability.

7 Benefits of Integrating LLM and PHP: Enhance, Automate, Secure
Customers want quick, smart, and personalized online experiences in today’s world. Many businesses aim to improve these interactions and streamline their operations without overspending. In this situation, they can get help by integrating LLM with PHP.

Stop Struggling with CRUD! Here’s How to Build Better PHP Apps Like a Pro
Mastering CRUD not only enhances user satisfaction but also lays the groundwork for scalable and maintainable code. Well-implemented CRUD structures lead to optimized performance, reduced complexity, and improved maintainability.

Top 10 CodeIgniter Plugins and Libraries to Enhance Your Project
Here's a rundown of the top 10 CodeIgniter plugins and libraries that CodeIgniter development experts in the UK recommend for enhancing your project.

Every Developer Should Know These Essential CakePHP Plugins
Explain briefly what CakePHP plugins are and how they extend the core functionality of the framework.

Tutorials and Talks


Nuxt 3 + Laravel Sanctum Authentication: Secure Your SPA and API with Ease
The nuxt-sanctum-authentication module bridges the gap between Nuxt 3 and Laravel Sanctum, providing a streamlined and efficient way to handle both SPA (Single Page Application) and API token-based authentication.

Creating a CLI Application With Laravel and Docker
If you are building a CLI-only project, you could also consider using the community project Laravel Zero. Everything we discuss in this article will work with Laravel or Laravel Zero (with a few tweaks to the Docker image).

Using the Service Layer Pattern in PHP for Clean and Scalable Code
In this article, we’ll walk through the fundamentals of the Service Layer pattern, its benefits, and how to implement it in a PHP application using practical examples.

Building a Simple File Management System with PHP & MySQL
Today, I want to share with you my journey of creating a File Management System using PHP and MySQL. This project is a great way to learn about file uploads, database interactions, and overall web application development. Let’s dive in!

How and When to Use saveQuietly() for Silent Updates in Laravel
Here’s a step-by-step guide with a hands-on example of saveQuietly() in Laravel, including a detailed explanation of each part.

How to Generate App Key in Laravel 11
Let’s explore How to Generate App Key in Laravel 11. This key is essential for encrypting data and ensuring security within your Laravel project.

Debugging PHP in VS Code
There seems to be a lot of articles on debugging PHP on VS Code, but all of them seems to have a lot of steps and a bit complicated. So here is a simple guide to debug your PHP code on VS Code.

Customizing Collections in Laravel: Meet the CollectedBy Attribute
Ever wanted to customize your model collections without overriding methods? Laravel’s new CollectedBy attribute makes this elegant and straightforward! Let's explore this clean approach to collection customization.

Laravel Queues 101: Streamlining Asynchronous Processes for Faster Performance
In modern web applications, performance and responsiveness are critical. Long-running tasks like sending emails, processing images, or generating reports can slow down your application if handled synchronously.

Simplify String Checks in Laravel with doesntContain
Need to check if a string doesn’t contain certain words? Laravel’s new doesntContain method for the Str helper makes this task a breeze! Let's explore how this simple yet useful feature works.

Laravel API Documentation with Scramble: Best Practices and Tutorial
I will share my experience in creating Laravel application documentation using Scramble in this article.

Advanced PHP Exceptions handling: How to
In today’s article, we will explore advanced techniques for handling exceptions in PHP, focusing on error handling, logging, and useful enhancements like enabling debug states etc.

How to use XSLT with PHP (very simply)
Using XSLT with PHP is very easy to do — but you will need to check you have the right modules installed. Lets take a quick look.

News and Announcements


PHP 8.4.0 RC3 available for testing
The PHP team is pleased to announce the release of PHP 8.4.0, RC3. This is the third release candidate, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.

PHP 8.2.25 & PHP 8.3.13 Released!
The PHP development team announces the immediate availability of PHP 8.2.25 & PHP 8.3.13. This is a bug fix release. All PHP 8.3 users are encouraged to upgrade to this version.

Introducing Web Services Tool for PHP-FPM
The Web Services Tool (WST) is a command-line application developed to test PHP-FPM, commissioned by the Sovereign Tech Fund (STF). Its primary goal is to facilitate testing of the integration between different web servers and PHP-FPM across various environments and configurations.

Symfony 7.2.0-BETA1 released
Symfony 7.2.0-BETA1 has just been released. Here is the list of the most important changes since 7.1

Symfony 7.1.6 released
Symfony 7.1.6 has just been released. Here is the list of the most important changes since 7.1.5

Introducing Wave V3 – The Ultimate Laravel SaaS Starter Kit!
I'm super excited to share that Wave V3 is officially here! ???? Wave is an open-source SaaS boilerplate built with Laravel and Livewire, designed to help you launch your SaaS product faster than ever. And yes – it’s completely free to get started!

SymfonyCon Vienna 2024 | December 5 – 6, 2024 Vienna (Austria)
We are thrilled to welcome you at SymfonyCon Vienna 2024! We will meet you at the Austria Center Vienna for the annual international Symfony conference.

Podcasts and Vlogs


The Stack Overflow: How can you get your kids into coding? We asked an 8-year-old.
Ben welcomes Ricky Robinett, VP of Developer Relations and Community at Cloudflare, and his eight-year-old daughter Fay for a chat about how AI tools are helping new developers get started and how to encourage your kids to try coding.

No Compromises Podcast: Should we use a JSON field for this?
In today's episode of No Compromises, Aaron and Joel use a couple examples from recent projects to talk through reasons they would and would not use a JSON field.

Software Engineering Radio: SE Radio 639: Cody Ebberson on Regulated Industries
Cody Ebberson, CTO of Medplum, joins host Sam Taggart to discuss the constraints that working in regulated industries add to the software development process.

Shoptalk Show: DX, JSON, XML, HTML, and Databases! Oh My!
How important is the DX of software vs how important is the person showing off the software, Douglas Crockford and JSON, remembering XML, trying to write better HTML for email, new TC39 proposal, workshopping t-shirts, and what do you do if you want a little bit of database on your website?

WP Builds: 395 – HeroPress: What it is, and why it’s so important
In this episode we have Topher DeRosia discussing HeroPress, a platform sharing inspiring stories within the WordPress community.

Mostly Technical: 56: Tier Maker
Ian and Aaron discuss Aaron's trip to San Francisco, Bluesky vs. Twitter, and why Ian's not doing his secret side project plus our tier rankings for...pizza toppings?!

Syntax: Spooky Web Dev Horror Stories - PART 1
Scott and Wes read community submitted horror stories about web development mistakes.

The Changelog: Developing with Docker (the right way)
Daniel Quinn weighs in on how to develop with Docker The Right Way, Mitchell Hashimoto says Ghostty will be publicly released this coming December, Kevin Li writes about the value of learning how to learn, The Browser Company moves on from Arc & the React Native team ships its new architecture.

Reading and Viewing


How to Create Tech Videos for YouTube with Josh Cirre
In this episode, we are joined by Josh Cirre to discuss his journey from creative beginnings in music and graphic design to his current role at Laravel and his passion for video production. Josh shares valuable insights on starting a YouTube channel, finding comfort in front of the camera, and the importance of using tools like OBS for efficient video editing.

The Irony of Static Typing in Dynamic Languages
One upon a time, when I started my journey in the software development world, dynamic languages such as Python, PHP and JavaScript were appreciated for their flexibility and concise syntax suited for rapid development.

Getting started with Laravel
A framework simply gives you a set of code (or a frame/base structure) to which you start building on top. Laravel is a full-stack PHP framework that allows you to build end-to-end applications (client and server-side applications).

Building Resilient and Scalable Systems by default
In this article we will dive into how to build resilient and scalable architecture, yet we will introduce it in a way, that actually speeds up development.

Less painful PHP
I’m switching to Go and want to share with you my experience after almost 10 years of development in PHP.

Effortless Schema Management in Laravel: Navigating Complex Database Migrations
In this post, we’ll explore best practices and strategies for mastering database migrations in Laravel, helping you manage complex schema changes with ease.

How PHP Generics Can Save You from Rewriting Doctrine Repositories
What if I told you that with PHP generics, we can implement all the most useful repository methods just once? No more repeating yourself for every entity. Let’s dive in and see how to make it happen.

When does the TDD approach make sense?
To do TDD or not to do TDD? That is the question. Personally I never bought into TDD practices. But I always use TDD when I need to develop a feature that will require me to test a lot of different variants and edge cases.

Interesting Projects, Tools and Libraries


silverstripe/totp-authenticator
A TOTP authenticator for use with silverstripe/mfa.

dhope0000/lxd
PHP-based API wrapper for LXD REST API.

jocic/google-authenticator
Complete & easy-to-implement MFA solution for use with Google Authenticator App.

codem/silverstripe-domain-validation
A set of fields, including editable userform fields to perform domain validation via DNS over HTTPS.

panix/mod-sendpulse
Sendpulse REST API client library.

Bottelet/translation-checker
find translations you forgot to add to your language files, check, and maintain translations in yor Laravel application.

panphp/pan
A simple, lightweight, and privacy-focused product analytics php package.

Blaspsoft/blasp
Blasp is a profanity filter package for Laravel.

webforward/gitdeploy
Easy to use automatic git deployment for PHP projects with composer and npm support.

cindyullmann/proxy-manager
A library providing utilities to generate, instantiate and generally operate with Object Proxies.

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 14. 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 newsletter

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 15. Free trial.

Copyright © 2024 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 October 24th 2024

Thursday, October 24, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 24th October 2024 Hi everyone, It's another stacked issue of

PHPWeekly October 17th 2024

Sunday, October 20, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 17th October 2024 Hi everyone, News, updates and articles on the

PHPWeekly October 3rd 2024

Thursday, October 3, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 3rd October 2024 Hi everyone, It's our first newsletter for the

PHPWeekly September 26th 2024

Friday, September 27, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 27th September 2024 Hi everyone, Summer is officially over and we

PHPWeekly September 19th 2024

Friday, September 20, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 20th September 2024 Hi everyone, We hope you're all doing well.

You Might Also Like

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power