sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

September 12, 2024

Hi everyone,

It's a great week for Laravel. Taylor Otwell, the creator of Laravel recently announced that Laravel has officially teamed up with Accel, and they’re about to take things to the next level. If you want to learn about why the $57 million series A funding is exciting for Laravel, head on to our Articles section. We also have articles on Cache tags and understanding the final Keyword in PHP: Preventing Inheritance and Overriding. In Tutorials we have guides for Laravel password hashing with Salt, Web Optimization with ETags, and A Guide to LLM Retrieval-Augmented Generation with PHP. Finally in Podcasts we have new episodes from Frontmatter with an interview with autor, Michael Feathers giving insights on the growing influence of AI in programming, while The Stack Overflow discusses the evolution of full stack engineers. We have all that and more, so we do hope you enjoy this week's newsletter. If you're a student or developer on the move and want the latest PHP news and updates in one place, then subscribe to PHPWeekly.

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 [email protected].

Do follow us on our social media channels on Twitter and Facebook

All the best,
Adrian

Please help us by clicking to our sponsor:

encrypt php scriptsGet Reliable, Fast & Quality Proxies, Without the Tradeoffs
Scrape or crawl any amount of data, without having to worry, settle or break the bank. Buy HTTP, SOCKS & UDP proxies you can set and forget.

Articles

A New Era for Laravel: $57 Million Series A Funding with Accel – Here’s Why It’s a Game Changer!
Hold onto your hats, folks! Laravel just shook up the development world with some thrilling news—$57 million in Series A funding led by Accel. As a passionate Laravel user and fellow entrepreneur, this announcement is sending shockwaves across the PHP community, and I couldn't be more excited! So, let’s break down why this investment is monumental and why 2024 is gearing up to be the year of Laravel and PHP.

Handling large JSON payloads and extending the Request class
This article uses an approach that increases the memory limit when specific routes are targeted, and it's likely suited for apps that have a few routes that need to process larger files with a maximum of 50 MB (roughly speaking) or less.

Understanding the final Keyword in PHP: Preventing Inheritance and Overriding
This article will explore how and when to use the final keyword, along with practical examples.

Limit Eager Loaded Relationships on Laravel Models
Sometimes when you're eager loading relationships on Laravel models, you might want to limit the number of related models that are returned.

Why I Avoid Using empty() in PHP? A Closer Look
One of the most useful yet widely misunderstood functions in PHP is empty(). At first glance, empty() seems like a handy shortcut for checking if a variable is, well, empty. However, its behavior goes beyond the obvious. According to the PHP documentation, empty() considers the following values as "empty".'

The Power of Cache Tags in Laravel: 7 Reasons You Need Them Now
In this post, we’ll dive into Laravel Cache Tags, explaining why they are essential, how to implement them with examples, and most importantly — when and why you should use them to boost your Laravel application’s performance.

Symfony S3 Service Encapsulation
Today, we’ll be integrating the Amazon S3 service into our Symfony project by utilizing the encapsulation method.

Jobs

Web Scraping Specialists Wanted
If you're a skilled Web Scraping Specialist with a knack for creative problem-solving, join our remote team to gather data from e-commerce websites and enhance our data-driven solutions. Embrace challenging projects, overcome blocking technologies, and collaborate with a diverse global team in a flexible, fast-paced environment.

Junior PHP/Python Developer - Remote
We're looking for Full-Stack Developers to join our dynamic remote international team. As a developer, you'll work on a range of projects, including Business Intelligence systems, Legal SaaS, and cutting-edge online projects. You'll be responsible for improving legacy systems, monitoring technical systems, and delivering high-quality solutions. You should be proficient in front-end and back-end development, have strong problem-solving skills, and experience with Python, PHP, Postgres, MongoDB, and Linux servers. If you're a self-motivated team player, apply now.

Technical Support Manager - Remote
Are you interested in programming but don't have the experience yet to be a skilled developer? Join our team as a Technical Support Manager and be part of our SaaS company's success. You'll work closely with our customers to provide timely solutions, troubleshoot technical issues, and contribute to feature development. Using your skills, you'll quickly identify and resolve issues, while also working closely with our team to deliver an exceptional customer experience. You don't need to have programming experience to succeed in this role, but you should have a passion for technology and a desire to learn. You will help us enhance our products and deliver an outstanding customer experience.

Tutorials and Talks

Prepare your Laravel app for the cloud
In this article, we'll explore how to prepare your Laravel app for deployment in a cloud environment using FrankenPHP, Caddy, Dockerfiles, and finally deploying it to Sevalla.

Optimizing and Cleaning Up Your WordPress Database: A DIY Guide
As your WordPress project grows, you may begin to notice performance issues, often caused by a bloated database. While there are many plugins available to help clean up your database, sometimes it's good to know how to do it yourself. This guide will walk you through manually cleaning and optimizing your WordPress database.

Centralize your notification and job handling
To simplify sending multiple email notifications after various events (like user creation, password resets, etc.), you can take a few steps to centralize your notification and job handling. This approach will make your work easier and more scalable without having to create a separate job or notification for each event.

PHP and Frontend Integration: Bridging the Gap for Dynamic Web Applications
I wanted to share with you some valuable insights on integrating PHP with frontend technologies to create dynamic and interactive web applications. Whether you're a seasoned developer or just starting, understanding how PHP works with HTML, CSS, and JavaScript can elevate your web development skills to new heights.

Laravel Password Hashing With Salt
This article can help you understand how secure your application is from this point of view or if it is necessary to make some changes in your PHP app to increase security.

Web Optimization with ETags: An Example with WordPress
I'm sure this has happened to you. You arrive at your workplace, turn on your computer, open your email, and after checking it, open a terminal and type: git pull. The terminal quickly responds: Already up-to-date..

Sorting Rows with Empty Values at the Bottom and Non-Empty Values in Descending Order in Laravel
When working with databases, it's common to encounter situations where some fields might be empty or NULL. One challenge that often arises is how to sort records so that rows with empty fields appear at the bottom of the result set, while those with non-empty values are ordered in a meaningful way (e.g., descending order).

A Comprehensive Guide to Building a Basic CRUD Application Using PHP, HTML, CSS, and Vanilla JavaScript with XAMPP
In this tutorial, I will guide you step-by-step to create a basic CRUD application using PHP, HTML, CSS, Vanilla JavaScript, and MySQL.

A Guide to LLM Retrieval-Augmented Generation with PHP
This article explains how Retrieval Augmented Generation (RAG) can assist in finding reliable information from source documents by including the best-matching documents as part of the prompt.
 

News and Announcements

Laravel Trends 2024: The Latest Market Insights
As we move through 2024, Laravel continues to solidify its position as one of the most popular PHP frameworks, powering a multitude of web applications across the globe.

PHP Annotated – September 2024
Welcome to the September edition of PHP Annotated! After a brief summer break, we’re back with all things PHP. 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.

Pest 3 is released!
We are excited to share that Pest 3 is now available! Get started with mutation testing today and level up your existing projects by finding untested code. Create consistent code with popular architecture presets, team management, a new configuration API, and more.

Prezet: Markdown Blogging for Laravel
Prezet is a new Laravel Blogging app from Ben Bjurstrom that transforms markdown files into SEO-friendly blogs, articles, and documentation!

Chaperone Eloquent Models in Laravel 11.22
The Laravel team released v11.22 this week, with the chaperone() Eloquent method for inverse relations, support for passing backed Enums to Queuable methods, the ability to pass backed Enums to route ->name() and ->domain() methods, and more.

A Week of Symfony #923 (2-8 September 2024)
This week, the upcoming Symfony 7.2 version focused on adding compatibility with Twig 4 and updating tests to support PHPUnit 10 and later versions. In addition, we published three new talks for the SymfonyCon Vienna 2024 conference.

Podcasts and Vlogs

PHP Ugly: 396: PHP Heads and Shoulders
This week on the podcast, Eric and John talk about Laravel raises million, PhpStorm for Vim users, Your not just a Laravel developer, TJ Miller's new stream, and more...

Laravel News Podcast: Laracon US recap, keynote highlights, and linen
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: The evolution of full stack engineers
On today’s episode we chat with Mrinalini Sugosh, Developer Relations and Community Manager at CKEditor and TinyMCE. She discusses how modern full stack developers have to master both front and backend skills, stitch the two together, and master adjacent skills like data analysis and security compliance.

Maintainable Podcast: Lutz Hühnken: Crafting Resilient Systems with Event-Driven Design
In this episode of Maintainable, Robby speaks with Lutz Hühnken, Head of Engineering Excellence at Upvest, about the transformative power of event-driven architecture in software development.

Software Engineering Radio: SE Radio 632: Goran Petrovic on Mutation Testing at Google
Goran Petrovic, a Staff Software Engineer at Google, speaks with host Gregory M. Kapfhammer about how to perform mutation testing on large software systems.

Developer Tea: How Culture Might Eat Your Values For Breakfast
In this episode we discuss the delineation between culture and values. What you allow is just as important as what you value.

Shoptalk Show: Adam Coster on Game Development and Crashlands 2
Adam Coster talks with us about working with his family in game development, how they get started making games, what all is involved with publishing games, deciding to go Steam and Netflix only for Crashlands 2, how web tech is involved in game development, and the fun of testing and doing Q&A for games.

WP Builds: 388 – Bringing Back Conversations: Matthias Pfefferle on ActivityPub and WordPress
Today on the podcast Matthias Pfefferle joins me to discuss the integration of WordPress with the Fediverse through the ActivityPub protocol.

Frontmatter Podcast: Michael Feathers, Author of AI Assisted Programming
In this episode of the FrontMatter podcast, host Len Epp interviews Michael Feathers, founder of R7K Research and Conveyance. Michael delves into his career journey, from his early interest in technology to becoming a prominent voice in software design and the challenges of working with legacy code.

Syntax: Fun & Profitable Side Projects for Developers
In this episode Scott and Wes discuss side projects - where developers get ideas, setting goals, choosing technology stacks, keeping notes, and actually finishing.

The Changelog: Is Linux collapsing under its own weight?
A Rust for Linux developer resigns amidst rising tension in the Linux community, Bret Victor shows off what he’s been working on for years, Rachel (by the bay) laments how useless “SRE” has become as a role, Doug Turnbull makes the case for hiring junior devs & Baldur Bjarnason says the LLM honeymoon phase is about to end.

Reading and Viewing

Understanding Laravel Middleware: A Deep Dive into Laravel 11's New Approach
In this article, we’ll dive deep into Laravel middleware, explaining what it is, why you should use it, and how to use it effectively. We will also look at the structure of middleware in Laravel 11, which has seen significant changes, including removing the HTTP Kernel.

Unlocking the Power of Data Structures and Algorithms (DSA) in Laravel
Whether you're sorting data, handling complex tasks, or building background processes, understanding how DSA concepts fit into Laravel can give you an edge. Let’s dive into how some fundamental DSA concepts can be implemented in Laravel to optimize your apps.

Laravel Sanctum vs. Passport: Choosing the Right Authentication for Your App
This blog explores the differences between Laravel Sanctum and Passport, their use cases, strengths, and weaknesses, helping you decide the right choice for your app.

Understanding PHP Metaprogramming: Dynamic Code Manipulation
PHP Metaprogramming refers to writing code that can generate or manipulate other code. In other words, it allows programs to have greater flexibility by enabling them to inspect, modify, or even generate new code at runtime.

Simplifying View Logic with Laravel Blade’s Service Injection
Let’s explore how you can leverage this feature to write cleaner, more maintainable code.

Understanding MySQL CPU Usage: Tools and Techniques
CPU usage in MySQL refers to the proportion of a computer's processor resources that the MySQL server utilizes to execute operations, including processing queries, managing database transactions, and maintaining the database system.

PHP Magic Gone Wrong: Fixing the __FILE__ eval() Anomaly in Production
As a software developer, handling unexpected production issues is part of the job. But sometimes, the challenges we face require us to dig deeper into the core of the language we are working with, testing our knowledge of its nuances.

Interesting Projects, Tools and Libraries

luan-tavares/hubspot
Hubspot API for everyone.

causal/fal-protect
Protect everything within /fileadmin/ based on associated folder and file restrictions (visibility, user groups and dates of publication).

matomo/device-detector
The Universal Device Detection library, that parses User Agents and detects devices (desktop, tablet, mobile, tv, cars, console, etc.), clients.

hipsterjazzbo/fire-and-forget
A simple PHP library to just fire off an HTTP request and forget about it.

hamedmehryar/laracancan
Resource Based Permission System for Laravel.

kinoras/rcplus
Roundcube Gravatar integration & spam mail warning.

yosugi/functional-tools.php
Simple functional tools for PHP.

simonberger/tissue-clamav-adapter
A Tissue adapter that implements the ClamAV virus-scanner.

bobdenotter/configuration-notices
A small tool to point out common pitfalls for Bolt 5 configuration settings.

jeromeklam/freeoffice
PHPOffice integration.

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 15. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.

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 | update subscription preferences 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com