PHP Weekly - PHPWeekly July 25th 2024

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

Hi everyone,

Last week we had an article about dealing with bugs on a Friday, little did we know that the whole world was going to experience a major IT outage the following day. Hopefully we will have a blue screen-free Friday so we can all enjoy this week's newsletter. We have plenty of new Podcast episodes this week starting with Laravel News on generic eloquent, resize observers and mastering query scopes. The No Compromises team also has a new podcast where they talk about why it's good to have a separate test suite for external services. Developer Tea is also back and this week's topic is about a simple structure for prioritization and information flow in your daily work. Reverse Proxy servers is the topic of choice for the guys over at Syntax Podcast, while The Changelog touches on Cloudstrike blue Friday solutions among other things. Finally, in our Reading section we have the best Laravel Tutorials and resources for developers from the people at PHPStorm and 7 tips on how to write clean code in PHP. 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 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:

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


array_find in PHP 8.4
PHP 8.4 adds a handful of functions that have been missing for a while: array_find() and its variants. The purpose of array_find() is simple: pass it an array and a callback, and return the first element for which the callback returns true.

A guide to Laravel's model events
In this article, we're going to look at what model events are and how to use them in your Laravel application. We'll also look at how to test your model events and some of the gotchas to be aware of when using them.

Using Laravel for Machine Learning: A Practical Guide
In recent years, the intersection of web development and machine learning has become increasingly prominent.In this blog post, we’ll explore how Laravel can be leveraged effectively for machine learning tasks.

18 Must-Know Techniques for Advanced Routing in Laravel
Unlock the full potential of Laravel’s routing system with these 18 advanced techniques. Whether you’re building complex web applications or optimizing existing ones, these tips will help you master Laravel routing and take your development skills to the next level.

Let’s start using PHP Traits
Unlocking Code Reuse with Traits While Avoiding Common Pitfalls for Cleaner, More Maintainable Code.

Performance Tuning in Laravel
In this blog post, we’ll explore three key areas of performance tuning in Laravel.

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


How to Use Laravel Blade Templating Engine with a Pure Vanilla PHP Project?
Today, I challenged myself to implement a Laravel MVC (Model, View, Controller) approach using pure vanilla PHP. To tackle this, I utilized the standard Laravel Blade templating engine for the view part of the project, but without installing Laravel since my project is purely vanilla PHP.

Laravel Tip: Extract Validated Input Elegantly
As developers, we often need to extract only a few items from a validated request. Instead of manually unsetting or filtering, Laravel provides a clean and efficient way to do this using the safe() method. Here’s how.

How to Install and Use Composer Packages in PHP Project?
As in my last post, I explained how to install and use Composer in PHP. Today, we will learn how to install Composer packages in a PHP project. The packages we need to install are collections and pestphp/pest.

Secure Authentication and Authorization Between Laravel Microservices Using JWT Tokens
This guide will walk you through using JWT tokens for authentication and authorization between Laravel microservices, with detailed explanations and code examples.

Simple Running Background Task Laravel
So, I recently work on project Point of Sales, the Point of Sales itself have a function for synchronize data.

Pagination in Laravel
In this post, we’ll dive into the various methods Laravel offers for paginating data and how you can leverage them in your applications.

Easy Way To Resolve “Class Not Found Error” In Laravel: A Beginner’s Guide
Errors/Bugs are a prominent part of every developer’s development lifecycle. Being able to reduce the number of bugs you encounter overtime enables you to finish your work faster and improve coding skills and understanding.

News and Announcements


API Versioning in Laravel 11
With the release of Laravel 11, the application skeleton was slimmed down to remove extra files that aren't required on every project. Part of that change removed all service providers from the application source code except the AppServiceProvider.

Introducing Built with Laravel
BuiltWithLaravel.com, a list of companies and organizations using Laravel in the non-Laravel world. This is the list to use when you want to show someone how widespread Laravel's adoption is.

PHP 8.4.0 Alpha 2 available for testing
The PHP team is pleased to announce the second testing release of PHP 8.4.0, Alpha 2. This continues the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.

A Week of Symfony #916 (15-21 July 2024)
This week, development activity was slower than usual and focused on tweaks and fixes on all supported branches. Meanwhile, we announced the first talks and workshops for the SymfonyCon Vienna 2024 conference.

SymfonyLive Berlin 2025: Save the date!
The next SymfonyLive Berlin 2025 will take place on April 3 - 4! Enjoy now the early bird registration ticket & the call for papers.

Podcasts and Vlogs


PHP Ugly: 390: Bad APIs
This week on the podcast, Eric and John talk about The good and the bad of APIs, Javascript in you MySQL, broken code and broken dreams, and more...

Laravel News Podcast: Generic Eloquent, resize observers, and mastering query scopes
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: Java, but why? The state of Java in 2024
Ben and Ryan chat with listener, professional pilot, and Java enthusiast Lenny Primak about what he finds exciting about Java in 2024.

No Compromises Podcast: Why we have a separate test suite for external services
Writing tests that communicate with a third party can be a little tricky, but we've found an approach that balances speed and confidence.

Maintainable Podcast: Tanmai Gopal: Unlocking the Potential of Unified APIs
In this episode of Maintainable, Robby Russell sits down with Tanmai Gopal, the CEO and co-founder of Hasura.

Software Engineering Radio: SE Radio 625: Jonathan Schneider on Automated Refactoring with OpenRewrite
Jonathan Schneider, the co-founder of Moderne and the creator of OpenRewrite, talks with SE Radio’s Gregory Kapfhammer about automated software maintenance.

Developer Tea: Now, Next, Later, Never - A Simple Daily Framework for Managing Information and Prioritization
In today's episode, we'll discuss an absolutely simple structure for prioritization and information flow in your daily work. The flow relies on a basic text editor - that's it!

Shoptalk Show: CarTalk, Ownership of A Book Apart, and URL Shorteners
Dave's putting together a platform for his presidential bid and workshops his policies, discussing vehicle options for a family in 2024, Chris and other authors get ownership of their A Book Apart books back, and the ramifications and reasoning behind Google killing a URL shortener.

WP Builds: 381 – No Script Show, Episode 13 – What is the W3C doing about AI?
In this episode of the WP Builds Podcast, Nathan Wrigley and David Waumsley discuss the significant and evolving role of AI on the web, focusing on the World Wide Web Consortium’s (W3C) new report titled “AI and the Web, Understanding and Managing the Impact of Machine Learning Models on the Web”.

WP Briefing: Episode 84: A WordPress 6.6 Sneak Peek
Join WordPress Executive Director, Josepha Haden Chomphosy, as she offers an exclusive preview of the upcoming WordPress 6.6 release, accompanied by special guest Meher Bala, the release’s coordinator. Don’t miss this opportunity for an insider’s look!

Frontmatter Podcast: Peter Stevens, Author of The Illustrated Guide to Scrum: Scrum Explained Through Infographics
In this interview, Leanpub co-founder Len Epp talks with Peter about his background and career, manufacturing innovations and what it means to be a “Musk” company, Scrum, and about his approach to writing and illustrating for professionals.

Mostly Technical: 45: The Contest
Ian and Aaron talk about the investment that got away, why Try Hard is a media company, bringing back the forum, and an incredible idea for a new contest.

Over Engineered: Code standards w/ Matt Stauffer
Today's episode is a story that starts with two independent projects—Tighten's `tlint` and InterNACHI's `laralint`—but meanders to all the right places, including the future of PHP itself, the intersection of bikeshedding and art, and so much more.

Syntax: Self Hosting: Reverse Proxy Servers
Discussion on what reverse proxy servers are, popular options, and various use cases like combining multiple apps and servers, handling SSL, security, serving static assets, and local development.

The Changelog: Southwest flies high over CrowdStrike outage
Brendan Gregg details how eBPF can help us have no more blue Fridays, Misty De Meo thinks GitHub is starting to feel like legacy software, Gavin D. Howard does not want Rust to be used for everything.

Reading and Viewing


The Best Laravel Tutorials and Resources for Developers
Whether you’re a beginner just starting with web development or an experienced pro looking to boost your skills, this blog post will guide you through the best educational resources available for mastering Laravel.

Testing Saloon API Integrations in Laravel
The following article is a short snippet from the "Building an API Integration Using Saloon" chapter of my book "Consuming APIs In Laravel".

Legacy WordPress web development workflow
Before you accept a project involving an existing WordPress website, ask yourself some important questions: Do we want to work with WordPress at all? (still? again?) Are we still ready to do it? What will we probably need to learn?

Enhance form interactions with wire:model.lazy in Laravel Livewire v3
Laravel Livewire v3 introduces the wire:model.lazy directive, which delays updates to your model until the user has finished typing. This reduces server load and enhances the responsiveness of your forms, especially when dealing with heavy or real-time data.

Why FilamentPHP Is a Great Choice for Building CMS
In this article, I’ll tell you about FilamentPHP, which according to the documentation, is described as a set of sleek Fullstack components for Laravel.

7 Tips to Write Clean Code in PHP
Are you having difficulty reading/developing the codes you’ve written in the past? Or, like me, you are looking for an answer to the question of how to write better code.

Interesting Projects, Tools and Libraries


nekhbet/laravel-gettext
Adds localization support to laravel applications in an easy way using Poedit and GNU gettext.

fuko-php/masked
Masks sensitive data: replaces blacklisted elements with redacted values.

brotkrueml/schema
API and view helpers for schema.org markup.

ansien/simple-job-queue-bundle
Simple background jobs for your Symfony application without RabbitMQ or other external dependencies.

fomvasss/laravel-url-facet-filter
Building and displaying facet filter parameters and managing them.

perry-rylance/wordpress-class-factory
A small class implemeting the factory method using WordPress' filter system, designed for making WordPress classes extensible.

roke22/google2fa-laravel
A One Time Password Authentication package, compatible with Google Authenticator.

ladamalina/remote-user-bundle
Symfony RemoteUserBundle.

hkt/expressive-auth
Zend Expressive authentication via Aura.Auth.

lukasbecker/kirby3-gtm
Integrate Google Tag Manager into your kirby site.

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.



Sponsor this newsletters

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 July 18th 2024

Thursday, July 18, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 18th July 2024 Hi everyone, If you don't feel like reading this

PHPWeekly July 11th 2024

Thursday, July 11, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 11th July 2024 Hi everyone, Halfway through the year and also

PHPWeekly July 4th 2024

Thursday, July 4, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 4th July 2024 Hi everyone, This week's newsletter contains

PHPWeekly June 27th 2024

Thursday, June 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 June 2024 Hi everyone, we have a long list of podcast episodes

PHPWeekly June 20th 2024

Thursday, June 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 June 2024 Hi everyone, If you want to know the latest news and

You Might Also Like

iOS Dev Weekly - Issue 688

Friday, November 22, 2024

How do you get an app featured on the App Store? There's a new process, and it's great! 📝 View on the Web Archives ISSUE 688 November 22nd 2024 Comment Every developer, from solo indie devs to

Why Nvidia's CEO loves NotebookLM

Friday, November 22, 2024

I love my Alexa-enabled microwave; Best early Black Friday deals -- ZDNET ZDNET Tech Today - US November 22, 2024 Jensen Huang Even Nvidia's CEO is obsessed with Google's NotebookLM AI tool

Digest #151: Uber’s Migration, Terraform Tips, AMI Creation, and Helm Chart Scanning

Friday, November 22, 2024

Learn zero-downtime migration techniques, improve testing workflows, and master AMI creation. Plus, explore Terraform tools, Helm chart validation, and debugging AWS EC2 issues. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

SWLW #626: AI makes Tech Debt more expensive, The problem with most L&D strategies, and more.

Friday, November 22, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

Warning: Over 2,000 Palo Alto Networks Devices Hacked in Ongoing Attack Campaign

Friday, November 22, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 22, 2024

⚙️ Businesses increase AI spend to $13.8 billion

Friday, November 22, 2024

Plus: World leaders endorse digital green action plan ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 11/22/2024

Friday, November 22, 2024

New blogs from Syncfusion Building Oqtane Modules with Syncfusion Components for Blazor [Webinar Show Notes] By Carter Harris This blog provides show notes for our Nov. 14, 2024, webinar, “Building

ASP.NET Core News - 11/22/2024

Friday, November 22, 2024

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! Integrating .NET Aspire With Azure Storage — by fsazanavets Lanayx/Oxpecker: ASP.NET Core based F# framework

Recording: 'Data Storytelling: What Organizations Need to Know Going Into 2025'

Friday, November 22, 2024

Thank you for your interest in our latest webinar. As promised here is your recording of the event. View email in browser Recording Now Available Thank you for your interest in receiving a recording of

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects