PHP Weekly - PHPWeekly November 7th 2024

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

Hi everyone,

We're less than two weeks from the release of PHP 8.4, but in the meantime we're here to cover the latest news and updates from the PHP community. We have a couple of news roundups from Laravel News and PHP Annotated in our news section, as well as the latest update for Laravel v11.30. In our Podcast section the guys at PHPUgly have announced the final episode of their podcast. If you want to get the full details tune in to episode 401. We wish them all the best we hope they will soon be back in better spirits in a new incarnation of their show. In Developer Tea this week's topic is adopting self-coaching personas, meanwhile at Syntax they chat about Copilot updates and Github's Universe conference. Finally in our Reading section we have articles on how to supercharge your Symfony apps with Smart Device Detection, why your PHP code sucks without some PHP 8 features, and a deep dive on Laravel Herd and whether it's worth replacing Laragon with it. We have all that and more, so we do hope you enjoy this week's newsletter.

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.

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


Fixing Our OPcache Config Sped Up Our PHP Application By 3x
Managing OPcache correctly during our atomic deployments has: sped up our application by 3x, reduced CPU utilisation by 10x, saved hundreds of days of loading time for our users.

Laravel Under The Hood - A Little Bit of Macros
How often have you wished for a method that doesn't exist on collections or string helpers? You start chaining methods, only to hit a wall when one of them turns out to be missing.

Get The Most From Blade: Laravel's Templating Engine
A templating engine is like a tool that helps you keep your content and layout separate. This makes your code cleaner and easier to manage. Instead of mixing HTML with your data, you create templates that define how your content should look, and the engine takes care of filling in the details.

Essential Laravel Tips form and for Entry-Level Developers
Getting Started Right with Laravel.

Free Component Libraries For Your Next Laravel Application (part one)
You have several stack options for your Laravel project. Here I'm gonna provide free component librarys to use for popular and special stacks.

Essential Security Practices to Protect Your PHP Application from Common Vulnerabilities
Here’s a hands-on example with a part-by-part description to help you understand how to secure your PHP application.

10 PHP Code Snippets Every Developer Should Keep Handy
This article presents 10 essential PHP code snippets that every developer should keep in their toolkit.

Tutorials and Talks


A Guide to Pagination in Laravel
In this article, we're going to answer those very questions and explore how to use pagination in Laravel for both Blade views and API endpoints.

Lloyds Payment Card Integration Using PHP: Cardnet Hosted Payment Page (Connect Solution)
Here’s how you can set it up, integrate it with PHP, and make it a seamless experience for your users.

How to Generate Pdf in PHP CodeIgniter 4 using *dompdf*
Create a users table in your MySQL database.

Integrating PHP with Front-End Technologies: A Comprehensive Guide
This comprehensive guide will walk you through the various ways to integrate PHP with front-end technologies, highlighting best practices and tools that can enhance your web development projects.

Laravel 11 Display Image from Storage Folder Example
In this post, I will show you how to display image from storage app public folder in laravel 11 application.

Creating focused domain applications. A Symfony approach (Part 1)
This is the first post of a series that i've decided to create in order to explain how I organize my symfony applications and how I try to write code as domain-oriented as possible.

Machine Learning in PHP: Build a News Classifier Using Rubix ML
This project is perfect for beginners who want to dip their toes into machine learning using PHP, and you can follow along with the complete code on GitHub.

Cleaner Test Header Management with Laravel’s withoutHeaders
Need to remove multiple headers in your Laravel tests? The new withoutHeaders method lets you do it in one clean shot! Let's explore this handy testing improvement.

Configuring Xdebug with Docker Compose on Ubuntu
This tutorial explains how to set up Xdebug with Docker-compose for local development on Ubuntu.

Building Custom Collection class in PHP
A Collection class is an OOP-Replacement for the PHP array data structure, which provides a convenient wrapper for working with arrays of data.

News and Announcements


Laravel Roundup - November
Welcome to the November edition of the Laravel Roundup. This covers recent highlights, community events, Laravel jobs, and more!

Laravel 11.30 Released
This week, the Laravel team released v11.30, which includes defer testing helpers, the ability to define custom unique string IDs for Eloquent models, the use of backed Enums with AuthorizesRequests, and more.

PHP Annotated – October 2024
Welcome to the October edition of PHP Annotated! This recap is carefully handcrafted and brings you the most interesting developments in the PHP community over the past couple of months, so you don’t have to sift through the noise—we’ve done it for you.

A Week of Symfony #931 (28 October - 3 November 2024)
This week, Symfony 5.4.45, 6.4.13, and 7.1.6 maintenance versions were released. We also published the first beta version of Symfony 7.2, so you can start testing it in your own applications before its release at the end of November 2024. Lastly, we shared more details about some of the talks planned for the SymfonyCon Vienna 2024 conference.

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


PHP Ugly: 401: So long and thanks for all the fish
So long and thanks for all the fish.

The Stack Overflow: How a creator of React is rethinking IDEs
Tom Occhino, now Chief Product Officer at Vercel, tells Ben about how he contributed to the development of React at Facebook and the contentious decision to make React open-source.

Maintainable Podcast: Katerina Skroumpelou: Bridging Engineering and Advocacy for Scalable Software
Robby and Katerina discuss her career journey, starting in engineering and recently moving into product advocacy.

Software Engineering Radio: SE Radio 640: Jonathan Horvath on Physical Security
Jonathan Horvath of Z-bit discusses physical access control systems (PACS) with host Jeremy Jung. They start with an overview of PACS components and discuss the proprietary nature of the industry, the slow pace of migration to open standards, and why Windows is commonly used.

Developer Tea: Coaching Yourself: Career Coaching Personas for Everyday Engineers, Part One - The Available Manager
In today's episode we discuss the concept of adopting self-coaching personas, and discuss a critical first persona to start with.

Shoptalk Show: Navigating the Pros and Cons of Web Components
Riffing off a Dave Rupert blog post, Chris and Dave talk through the pros and cons of web components, when to use them, when it's a bad idea to use them, what would it take to make the Next.js of web components, and how long until we don't need anymore frameworks?

WP Builds: 396 – New show “At The Core” with Birgit Pauli-Haack – Episode 1.
Today we have the first instalment of our (yet another) new quarterly show. This one is called “At The Core,”, and I’ll bet you can’t guess what it’s about!?! Erm… WordPress Core, and all the recent updates that we can squeeze into 45 minutes!

Syntax: Copilot Kills Cursor? Reacting to Github Universe Keynote
Scott and Wes discuss GitHub's AI announcements from GitHub Universe conference, including Copilot updates to match Cursor features, new AI marketplace, workspace improvements and text-to-code generator Spark.

The Changelog: Tactile controls are back in vogue
IEEE Spectrum reports on the return to physical buttons and dials, Microsoft released GenAIScript, iFixit’s Elizabeth Chamberlain announces a big Right to Repair win, Daniela Baron reimagines technical interviews & John O’Nolan, shares some thoughts on open source governance and how to create trust within technology, communities, and media.

Reading and Viewing


New in EasyAdmin: Pretty URLs
Since day one, EasyAdmin has used query string parameters to pass the necessary information for rendering backend pages.

Top 50 PHP Libraries You Haven't Heard Of (But Should Be Using!)
This article aims to introduce you to 50 unique PHP libraries that can transform the way you code.

Efficient Mac Development Tools Unveiled: Productivity Secrets for Backend Engineers
In this article, I’ll share my experience accumulated over years of Mac development, introducing several Mac applications and plugins that I find particularly helpful for backend programmers.

Laravel AI service with support for multiple LLMs
In this article I’ll show you my implementation of a Laravel AI component that powers the integration between Inspector and LLMs providers.

Supercharge Your Symfony App with Smart Device Detection: Meet EprofosUserAgentAnalyzerBundle
In an era where users switch between phones, tablets, and desktops seamlessly, detecting devices accurately can be a major headache.

Why Your PHP Code Sucks Without These PHP 8 Features?
Let’s be real — if you’re still coding in PHP 7 (or older, gasp!), your code is probably holding on to its flaws like an old car with worn-out brakes.

Securing WordPress Themes Against Backdoor Vulnerabilities
In this article, we’ll dive into the methods hackers use to create backdoors through vulnerable themes, the impact of these intrusions, and practical steps you can take to protect your WordPress site from backdoor attacks.

What is Laravel Herd, and is it worth replacing Laragon for it?!
Almost all of us as backend Laravel or PHP developers use a server like Laragon or XAMPP, though most of us prefer Laragon for its flexibility, especially when switching PHP versions.

Interesting Projects, Tools and Libraries


innocenzi/bluesky-notification-channel
Bluesky notification channel for the Laravel framework.

sprout-laravel/sprout
A flexible, seamless and easy to use multitenancy solution for Laravel.

eddturtle/phinx
Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

vatttan/apdf
Make export as a pdf in Laravel with supporting for utf charcters like farsi letters.

tomk79/filesystem
Simple filesystem utility for PHP.

casperboone/laravel-zabbix-graph
Get nice looking graphs of your Zabbix devices in Laravel.

marcocesarato/sqlparser
This class can parse SQL to get query type, tables, field values, etc.. It takes an string with a SQL statements and parses it to extract its different components.

generationtux/radioland
Pubsub library for PHP.

jasperfw/jasperfw
A simple but powerful MVC framework developed to allow developers to get sites up and running quickly.

payter/wp-remp-connector
WP plugin, helper for retrievie of REMP CRM user data.

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 31st 2024

Thursday, October 31, 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

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

You Might Also Like

🧠 7 Ways Tech Can Improve Your Mental Health — YouTube Music Has One Feature No Streaming Service Can Compete With

Tuesday, December 3, 2024

Also: You Should Play More Simulation Games, and More! How-To Geek Logo December 3, 2024 Did You Know The candy name "Milk Duds" is rather literal. The candies were first produced in 1926

Free Webinar: Key Trends in 2025 🔮

Tuesday, December 3, 2024

Join us Dec 12th to explore key trends shaping 2025—geopolitics, tech, markets, and more. View Online | Subscribe | Download Our App FREE WEBINAR - December 12th, 11am PST 2025 Outlook: Key Trends on

Django Performance, pathlib, Poetry, and More

Tuesday, December 3, 2024

Django Performance: Scaling and Optimization #658 – DECEMBER 3, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Django Performance: Scaling and Optimization Performance tuning in the context of

Daily Coding Problem: Problem #1626 [Easy]

Tuesday, December 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Let's represent an integer in a linked list format by having each node

Why Go slices throw up surprises

Tuesday, December 3, 2024

Plus a look forward to Go 1.24, and a Go-powered alternative to Google Analytics. | #​534 — December 3, 2024 Unsub | Web Version Together with Google Go Weekly The Draft Go 1.24 Release Notes — Last

Charted | 30 Years of Global Equity Returns, by Region 🌎

Tuesday, December 3, 2024

The US has been the dominant global equity market as the top returning region for 10 years out of the past 15. View Online | Subscribe | Download Our App Presented by Brazil Potash Rising food costs

Invite your friends to read Code Story

Tuesday, December 3, 2024

Thank you for reading Code Story — your support allows me to keep doing this work. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Code Smell 282 - Bad Defaults and How to Fix Them

Tuesday, December 3, 2024

Top Tech Content sent at Noon! Advertise on this Newsletter! 50% off!! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 3, 2024? The

Issue 162

Tuesday, December 3, 2024

💰🪖 Silicon Valley's new gold rush: AI giants chase Pentagon dollars. US landlords caught using AI to fix rental prices. How China is stealing the world's semiconductor technology. ͏ ͏ ͏ ͏ ͏ ͏ ͏

How Apple Watch can predict illness

Tuesday, December 3, 2024

New AI browser; The case against Google; Cyber Monday leftovers -- ZDNET ZDNET Tech Today - US December 3, 2024 sample-image-16-9-red.jpg How to use your Apple Watch to predict when you may get sick