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

Edge 446: Can AI Build AI Systems? Inside OpenAI's MLE-Bench

Thursday, November 7, 2024

A new benchmark that evaluates machine learning engineering workflows in LLMs ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Get Unbiased News for Free

Thursday, November 7, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life News with just the facts. Find unbiased reporting at 1440. Check out 1440—the fastest way to an impartial point-of-view. The team at 1440 scours over

Charted | The Composition of U.S. Households Over Time (1960-2023) 📈

Wednesday, November 6, 2024

The structure of American households has shifted significantly since 1960, driven by record-low fertility rates and more people living alone. View Online | Subscribe | Download Our App Presented by:

🔊 How Alexa Speakers Have Changed in 10 Years — I Want More Expensive Mobile Games

Wednesday, November 6, 2024

Also: Using Symbolic Links in Linux, and More! How-To Geek Logo November 6, 2024 Did You Know Merv Griffin composed the theme song used for Jeopardy and, since the inception of the show, made over 70

JSK Daily for Nov 6, 2024

Wednesday, November 6, 2024

JSK Daily for Nov 6, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Unveiling the New Angular 3D Circular Charts Component The Angular 3D Circular Charts

Daily Coding Problem: Problem #1600 [Easy]

Wednesday, November 6, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Implement a stack API using only a heap. A stack implements the following

Know What You Control 🪰

Wednesday, November 6, 2024

How a bug-fixing endeavor gave me a good POV on election night. Here's a version for your browser. Hunting for the end of the long tail • November 06, 2024 Know What You Control If you're stuck

Spyglass Dispatch 003: Lina Gone • Prediction Market Victory Laps • TikTok Saved? • Apple's Smarter AI • The Return of Tim Apple

Wednesday, November 6, 2024

Lina Gone • Prediction Market Victory Laps • TikTok Saved? • Apple's Smarter AI • The Return of Tim Apple The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel free to forward

Top Tech Deals 💰 $20 Monster Earbuds, TCL TVs, Anker Power Station, and More

Wednesday, November 6, 2024

Pre-Black Friday deals you won't want to miss. How-To Geek Logo November 6, 2024 Top Tech Deals: $20 Monster Earbuds, TCL TVs, Anker Power Station, and More Pre-Black Friday deals you won't