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!

October 10, 2024

Hi everyone,

In this week's newsletter we have a couple of news roundup articles starting with the first ever Laravel roundup from Laravel News and the second one is the long overdue Roundup update from the PHP Core team, so be sure to check them out. In Tutorials this week we have guides for Laravel pipelines, a two part series on running PHP on AWS serverless architecture, and Managing PHP deprecation notices. We also have new releases from Laravel 11.26 and CakePHP. Finally in Podcasts we have PHPUgly's 400th episode as well as session deep-dives and more backend enums from Laravel News. Over at Developer Tea the topic this week is all about learning to prioritise so everything falls into place. While the guys at Shoptalk have share their thoughts on the latest tiff between WordPress and WP Engine. Wes and Scott discuss various techniques to prevent spam and fraud on the Syntax podcast, and over at Changelog the topic this week is the slow death of the hyperlink. 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

Laravel Roundup - October
Welcome to the first edition of the Laravel Roundup. At the beginning of each month, we plan to create a post highlighting the latest news, jobs, and community-related items.

PHP Core Roundup #19
Welcome back to the PHP Core Roundup series, we cover what's new and changing in PHP and provide an update on the recent proposals to change and discussions around them. Our last update was almost a year ago, and that was because we felt the PHP Core Roundup posts were getting stale and our previous format was repetitive and had a lot of changes that made the posts excessively long.

Laravel SoftDelete: Avoiding the Unique Constraint Problem
In case you’ve been using Laravel for a while, especially when projects involve data integrity, most likely you have already encountered the SoftDelete feature. Pretty useful because you can “delete” records without really taking them out of the database. What Laravel does is just add a deleted_at timestamp so it marks it as deleted, but remains in the system.

Manipulating Arrays with PHP
Arrays are a crucial data structure in PHP, allowing you to store multiple values in a single variable. PHP offers various functions to manipulate arrays effectively. Here are some common ways to work with arrays.

Scaling PHP for Big Data: 10 Effective Techniques for Processing 1 Billion Rows
This article outlines these techniques and their use cases to help you build scalable, high-performance PHP applications.

Mastering Redis Transactions in Laravel: Atomic Operations Made Easy
Redis transactions — a powerful feature that allows you to execute multiple commands as a single, atomic operation. Let’s dive into how Laravel makes this process smooth and efficient.

Backup and Restore Command for Symfony Migrations
In this article, we’ll explore a Symfony command that implements this idea — SafeMigrateCommand.

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

A Guide to Laravel Pipelines
When building web applications, it's handy to break down a feature's complex processes into smaller, more manageable pieces, whether by using separate functions or classes. Doing this helps to keep the code clean, maintainable, and testable.

How to run PHP on AWS ServerLess architecture ? Part 1 - What's serverless?
In this series (derived from a talk I gave to AWS User Group Poitiers), we'll discuss what serverless is and how to get PHP (if that's your favorite language) to run on Lambda.

SharpAPI Laravel Integration Guide
Welcome to the SharpAPI Laravel Integration Guide! This step-by-step tutorial on how to integrate SharpAPI into your next Laravel AI application. Whether you're looking to enhance your app with AI-powered features or automate workflows, this guide will walk you through the entire process, from authentication to making API calls and handling responses.

Normalizing Fancy Text to Normal Text in Laravel
Text input from users are not at all interesting. With the advent of Unicode in the smartphones, users now have the luxury (and sometimes the whimsy) to input text in a variety of styles and formats.

Understanding Laravel's MorphTo Relation: A Practical Guide
This tool is part of Laravel's polymorphic relations, which let a model belong to more than one other model on a single association. Sound confusing? Let's break it down with some simple examples and explanations.

Push to the background in Laravel with Defer
In this episode of the Quick Win Wednesday series, we're talking about pushing things to the background in Laravel. Instead of using Jobs and a Queue, we can now defer things.

Using observers in Laravel to track model events
In this tutorial, I'll walk you through setting up Observers in Laravel and show how you can use them for tasks like tracking and logging data changes.

Harnessing the Power of Full-Text Search in Laravel
In the world of data retrieval, sometimes a simple LIKE clause just doesn't cut it. Enter full-text search - a powerful tool for efficient and relevant data queries. Laravel makes this advanced feature accessible through the whereFullText and orWhereFullText methods. Let's dive in!

Implementing Lazy Loading for Canvas Rendering in Yii 1
In this post, we will explore how to implement lazy loading for canvas rendering in a Yii1 application while keeping the main rendering logic in PHP.

Managing PHP Deprecation Notices: Strategies for Refactoring Legacy Code
In this tutorial, we will walk through how to manage deprecation warnings in PHP, discuss strategies for refactoring legacy code, and explore best practices to ensure that your application continues to function smoothly in modern environments.

News and Announcements

CakePHP 5.1.1 Released
Improvements: Fixed regression in meta tag generation. Fixed missing method errors in Console only applications. EventAwareApplicationInterface was added + a lot more!

Laravel 11.26 Released
The Laravel team released v11.26 this week, with the ability to gracefully stop a pool of processes, using Enums when defining Rate Limiting, an Artisan command to make Job Middleware and more.

The Inertia 2.0 Beta is Coming Soon
If you caught the The Laracon US 2024 Keynote by Taylor Otwell this year, you saw the excellent features coming to Inertia 2.0. It turns out that the beta might drop at the end of next week.

A Week of Symfony #927 (30 September - 6 October 2024)
This week, Symfony 7.2 entered into its stabilization period before its final release at the end of November 2024. Some of the new features merged this week include: support for Mailtrap webhook, a new utility method in the String component, support for a new logical operator in the ExpressionLanguage component, and a new way to sort the extracted translatable contents.

PHP Forum 2024, October 10 & 11, Disneyland Paris
Let's take advantage of our good knowledge of our host venue to push the event even further! With the opening of a 3rd track in parallel, the return of workshops, multiple actions to limit the impact on your budgets and the Sustainable Ambition Event Label: the PHP Forum 2024 pushes all the limits and continues to reinvent itself.

Podcasts and Vlogs

PHP Ugly: 400: Tom's Second Rodeo
No real show notes for this one. Episode 400 was a blast. Thanks to all our listeners, sponsors, and supporters on Patreon for all the encouragement over the years. Oh, and welcome back Tom Rideout.

Laravel News Podcast: More backed enums, explaining MySQL, and session deep-dives
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: Rust is evolving from system-level language to UI and frontend development
Ben and Ryan chat with Daniela Miao, cofounder and CTO of Momento, a real-time data platform. They discuss the advantages of real-time observability, the challenges of multi-tenancy in databases and caching, the use of WebAssembly in UI development, and the benefits of Rust.

Maintainable Podcast: Alan Ridlehoover: Building Robust Systems Through Behavior-Centric Testing
In this episode of Maintainable, Robby speaks with Alan Ridlehoover, Senior Engineering Manager at Cisco Meraki. Alan shares his perspective on building well-maintained software by focusing on behavior-centric testing, clear code ownership, and thoughtful technical decisions that stand the test of time.

Software Engineering Radio: SE Radio 636: Sriram Panyam on SaaS Control Planes
Sriram Panyam, CTO at DagKnows, discusses SaaS Control Planes with SE Radio host Brijesh Ammanath. The discussion starts off with the basics, examining what control planes are and why they’re important.

Developer Tea: Prioritization is the Ultimate Skill
Learn to prioritize, and everything else falls into place. This is clarity through perspective and purpose.

Shoptalk Show: W Hot Drama Week (WordPress, WP Engine, and Web Components – Oh My!)
We're getting some feelings out about WordPress and Matt Mullenweg vs WP Engine drama, as well as the Web Components conversation that happened this past week.

WP Builds: 392 – New Show “Feeling Insecure? with Tim Nash” Episode 1
Tim Nash, seasoned WordPress security expert, launches “Feeling insecure?” podcast discussing tools, legislation, vulnerabilities, and security best practices for WordPress. This show, just like the other new shows I’ve recently started (and the ones I’m still to unveil) will happen about once a quarter, and this is the first one!

Mostly Technical: 53: Talking About Liquid
Ian and Aaron reunite to talk about bad design, WordPress drama, Aaron's secret physical product, why you want to be liquid, and more.

Syntax: Preventing Spam and Fraud
Wes and Scott discuss various techniques to prevent spam and fraud when developing web apps, including CAPTCHAs, third-party verification services, rate limiting, and manual review.

The Changelog: The slow death of the hyperlink
A bias against hyperlinking has developed on platforms, GitHub engineering continues to evolve Issues, Evan You announces VoidZero, some companies are only pretend hiring & Klaas van Schelven asks: does it scale (down)?

Reading and Viewing

Statamic, Radical Design, and more with Jack McDade
In this episode, we welcome Jack McDade to the show to talk about Statamic, his Radical Design course, business, marketing, and more.

Join the Open Source Pledge
The Open Source Pledge is a group of companies with a shared commitment to paying the maintainers of the Open Source software. The pledge aims to establish a new social norm in the tech industry of companies paying Open-Source maintainers so that burnout and related security issues, such as those in XZ and Apache Log4j, can become a thing of the past.

Qualities of a Senior PHP Engineer
As a PHP developer, the title “Senior PHP Engineer” can be quite appealing. If you genuinely enjoy PHP and are just starting out, I’d like to outline some qualities that a Senior PHP Engineer should possess, hoping to assist junior or mid-level PHP engineers.

Dynamic Payment Processor Selection in Laravel 11: Using the Factory Pattern
In the previous posts, we explored two different methods for handling payment processing in Laravel.

Using Symfony’s HeaderBag as a Service: A Debugging Superpower in API Contexts
In this article, I’ll show you how Symfony’s HeaderBag, when registered as a service, can be a powerful tool for debugging APIs in production. By attaching custom headers that indicate cache hits and misses, you can instantly understand what’s happening in your API without adding unnecessary logging or breaking the flow of execution.

Why I Prefer Service Objects Over Higher Order Functions in PHP
As the title already tells, I’m about to compare service objects with higher order functions.

Hands-On Learning: Key Programming Projects in the PHP Training Curriculum
In this article, we’ll explore the key programming projects that form an essential part of the PHP training curriculum.

Interesting Projects, Tools and Libraries

plug-and-pay/sdk-php
This is a PHP SDK to make easier to communicate with the Plug&Pay API.

stepovenko/laravel-nova-chained-translation-manager
The Laravel Nova Chained Translation Manager allows you to easily edit and customise the translations of your current Laravel environment.

kenjis/monkey-patch
Monkey patching for exit(), functions, methods, and constants.

ahead4/cache
A lightweight file-system cache system.

yatin/yii2-qrcode
QR Code Generator.

berlin-bird-studios/blade-components
This package provides a set of blade components.

kagagnon/bem-php
PHP shortcodes to generate BEM class with a Laravel integration.

kapilpaul/laravelmount
Installer file for your laravel app. You can just install like any cms.

abelaguiar/filter-laravel
Make filters in laravel.

kuiper/cache
cache component for swoole coroutine.

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