PHP Weekly - PHPWeekly April 4th 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 April 2024

Hi everyone,

We hope you've all had a restful long weekend last week. We're back with a fresh newsletter for the firt month of April. This week we have a lot of insightful articles for your reading pleasure. We start of with how to simplify filters using Object Oriented programming. If you want to know the 3 best PHP Symfony traits to use to make managing entities easier, you can also find it in the Articles section. In tutorials we have guides to soft deletes in Laravel, Deploying a Laravel site on shared hosting subdomain and how to set up a server using Vultr. Finally, in podcasts this week we have new episodes from Laravel News on Laravel 11, Flat Camps and enriching queries, as well as a discussion on the common phases a database go through on No Compromises. 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


Laravel Facades Vs Class Aliases
There's a difference between what Laravel calls facades and class aliases. Let's take a look at both, how they're different from each other, and how they became so intertwined with each other in the public eye.

Five most helpful daily features PHP 8 introduced
I decided to separate the five updates that I found to be the coolest and most useful in PHP 8.

Laravel Request Validation With Best Practices
In this blog post, laravel request validation is crucial for secure and efficient API development. Follow the best practices.

Simplify Filters with Clean OOP Practices
Have you ever struggled to maintain complex filtering logic in your Laravel applications? Procedural filtering, a common approach, can quickly become messy and difficult to manage as your application grows.

What Are the Best 3 PHP Traits for Symfony?
Today, I want to share 3 PHP Symfony Traits I always use to make managing entities easier and make projects grow smoothly.

Introducing the PHP Code Obfuscator: Safeguarding Your Scripts with Style
In the vast landscape of web development, security is paramount. With every line of code, developers face the challenge of protecting their creations from prying eyes and malicious intent.

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 set up a server with Vultr
In this guide we'll be showing you how to work your way around the Vultr Control Panel so you can deploy your own server and integrate it into ServerAuth for easy server management.

A guide to soft deletes in Laravel
In this article, we'll cover what soft deletes are, the advantages and disadvantages of using them, and how to use them in your Laravel application.

Deploying a Laravel site on Shared Hosting Subdomain
In this article, I will guide you through the process of deploying a Laravel site on a shared hosting subdomain using a real-world example.

Access parent component value from the Repeater in Filament
If you want to interact with fields outside of Repeater input, then you can use use $get('../../parent_field_name').

Unleash MAMP’s Power! Start MAMP from Terminal & Access MySQL/PHP Anywhere (Easy Guide)
This guide will walk you through some tips and tricks that helped me and now gonna help you as well. These hacks will save you time and give you more control over your development environment.

How to Validate a ZIP File in PHP
Using a few lines of code, we can easily call a free API to validate ZIP archive files.

My Journey to Build a Cross-Platform Integration Between WooCommerce, NetSuite and WhatsApp
Project involving WooCommerce, NetSuite and Woztell API integration. Handling customer, product, order and coupon data and synchronize in between systems. It was done through RESTful APIs which sounds really cool. Let me share the process now.

News and Announcements


Generate Code Coverage in Laravel With PCOV
Laravel has every testing tool you'll need to productively write feature and unit tests, giving you more confidence in your code and fewer bugs. Using an out-of-the-box installation, we can immediately see coverage reports with artisan using the --coverage flag.

Symfony 7.0.6 released
Symfony 7.0.6 has just been released. Here is the list of the most important changes since 7.0.5:

A Week of Symfony #900 (25-31 March 2024)
This week, Symfony organized the SymfonyLive Paris 2024 conference with great success. Development activity focused on fixing bugs and tweaking new features for the upcoming Symfony 7.1 version. Lastly, this week we celebrate the 900th issue of the "A Week of Symfony" series. Thanks to all the folks who read this every week.

PHP Velho Oeste 2024, May 17-18, 2024
PHP Velho Oeste is a community that aims to move the PHP language ecosystem in the western region of Santa Catarina, Brazil, known as Velho Oeste(Old West).

Laravel Live Denmark: A Two-Day Event in Copenhagen, Denmark on August 22-23, 2024
Laravel Live Denmark is a two-day Laravel conference that will take place in Copenhagen, Denmark, on August 22-23, 2024. This event will be the first Laravel conference in the Nordic countries, where more than 300 Laravel and PHP enthusiasts worldwide will gather for two days of talks, learning, and networking.

Podcasts and Vlogs


PHP Ugly: 378: PHP At-Bat
This week on the podcast, Eric and John talk about TJ Miller sharing knowledge, Googles new granular permissions, TailwindCSS is hiring, and more...

Laravel News Podcast: Laravel 11, Flat Camps, and enriching queries
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: Are long context windows the end of RAG?
The home team is joined by Michael Foree, Stack Overflow’s director of data science and data platform, and occasional cohost Cassidy Williams, CTO at Contenda, for a conversation about long context windows.

No Compromises Podcast: The life cycle of database hosting
You launched a hobby project and then it starts to get some traction. What next? How do you get a more solid foundation under your app when it comes to database hosting? In this episode, we discuss the common phases we see a database go through during an app's life.

Software Engineering Radio: SE Radio 609: Hyrum Wright on Software Engineering at Google
Hyrum Wright, Senior Staff Engineer at Google, discusses the book he co-edited, “Software Engineering at Google,” with host Gregory M. Kapfhammer.

Developer Tea: Principles of Work - Shorten Your Feedback Loops
Your feedback loops should be short enough that the cost of making a mistake is low enough that the value of the learning in the feedback loop exceeds the magnitude of the cost of a mistake.

Shoptalk Show: Blake Watson on Home Cooked Apps
What is a home cooked app? Blake Watson is on this episode to talk all about the kinds of apps that make a good home cooked app, tips and advice he has for making them, resisting the urge to monetize or growth hack them, and a few CodePen v2 thoughts sprinkled in at the end.

WP Builds: 366 – Need a lightweight calendar? Have a look at Pie Calendar
Today we have a conversation with Jonathan Jernigan, the co-creator of the Pie Calendar plugin for WordPress.

WP Briefing: Episode 76: A WordPress 6.5 Sneak Peek
Join WordPress Executive Director, Josepha Haden Chomphosy, as she offers an exclusive preview of the upcoming WordPress 6.5 release, accompanied by special guest Dave Smith, one of the Editor Tech leads for this release. Don’t miss this opportunity for an insider’s look!

Laracast Snippet: Horses for Courses
We love tools: linters, type checkers, test runners, asset compilers, et al. Whilst these tools can help solve problems, they might also be a sledgehammer when all you really need is a screwdriver.

Mostly Technical: 29: Super Epic Crazy with Adam Wathan
Ian and Aaron are joined by Adam Wathan (our first returning guest!) to talk about Aaron's future plans for courses & consulting, Adam's plans for hiring at Tailwind, & a lot more.

Software Unscripted: Season 1 Episode 88 Gleam 1.0 with Louis Pilfold
Richard talks with Louis Pilfold, creator of the Gleam programming language, about the language's 1.0 release, as well as other topics like backwards compatibility, hot-swapping code in production, and implementing a typed version of Erlang's famous OTP system, which had also been famously considered to be un-typeable.

Syntax: UI Components: ShadCN, Tailwind UI, Headless, React Aria, Radix UI
This episode covers different categories of UI component libraries for building web apps, from low-level headless utilities to full featured design systems. Key factors in choosing a UI library are functionality, accessibility, styling, and ability to adapt the components.

The Changelog: Who in the world is Jia Tan?
The big story right now is the recently uncovered backdoor in liblzma (aka XZ) – a relatively obscure compression library that happens to be a dependency of OpenSSH. This incident is noteworthy for so many reasons: the exploit itself, how it was deployed, how it was found, what it says about our industry & how the community reacted. Let’s dig in!

Reading and Viewing


DB64: Fixing IndexedDB’s Ugliness in JavaScript
Let’s explore how DB64 can circumvent versioning restrictions.

Laravel Snappy vs Laravel Dom PDF
There is a common question when PDF render comes to the table, which one is better between Laravel Snappy and Laravel Dom PDF. Both work for the same result, render a PDF, however there are major differences between them.

Securing Your PHP Applications: Understanding Common Vulnerabilities and Best Practices
In this article, we’ll demystify PHP security by exploring common vulnerabilities and providing practical strategies to mitigate them. We’ll include real coding examples and scenarios to illustrate key concepts and best practices for securing PHP applications.

Laravel Invokable Single Action Controllers — How Do They Really Work?
Are Laravel’s invokable controllers using the standard PHP’s __invoke() method? If so, how? What’s the magic with the __invoke method anyway?

A brand new way to serve a Laravel PHP Applications
Since Laravel 11 is “still in the kitchen” and our project is still taking form, i’d highly suggest start using Octane with RoadRunner instead of the classic apache or nginx configuration.

Understanding Inheritance in Object-Oriented Programming
Inheritance in Object-Oriented Programming (OOP) is a mechanism that allows a class (called a subclass, derived class, or child class) to inherit properties and behaviors from another class (called a superclass, base class, or parent class).

Interesting Projects, Tools and Libraries


spatie/laravel-responsecache
Speed up a Laravel application by caching the entire response.

remotion/lambda
A PHP library for working with Remotion Lambda.

digital-pacific/ci-toolbox
This toolbox combines other various popular PHP tools and runs them easily with Rabbit.

activecollab/bootstrap
All packages and code that is needed to glue them together for a typical PHP project.

topthink/think-captcha
captcha package for thinkphp.

gorg/ldaporm-bundle
An Ldap ORM for Symfony2.

funddy/jsrouting-bundle
JsRouting for Symfony2.

shard-cache/shard-cache
Atomic Referenced-Object Caching System based on Entities Using GUIDs as Unique Identifiers.

kyos/find-closest-value
Finds the closest arithmetic match in an array, using Binary Search.

mateusz/frontend
Provides frontend widgets that nicely integrate with a SilverStripe site.

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 14. 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 March 28th 2024

Thursday, March 28, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 28th March 2024 Hi everyone, The long weekend is coming up, and if

PHPWeekly March 21sh 2024

Thursday, March 21, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 21st March 2024 Hi everyone, Laravel 11's afterglow is still

PHPWeekly March 14th 2024

Friday, March 15, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 14th March 2024 Hi everyone, Laravel 11 has finally been released.

PHPWeekly March 6th 2024

Thursday, March 7, 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 March 2024 Hi everyone, It's the last month of the first

PHPWeekly February 29th 2024

Thursday, February 29, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 29th February 2024 Hi everyone, This week we have a couple of

You Might Also Like

The Calm Voice Of Chaos 🏆

Friday, December 27, 2024

The protest singer whose songs shaped 2024. Here's a version for your browser. Hunting for the end of the long tail • December 27, 2024 The Calm Voice Of Chaos This year's Tedium awards start

JSK Daily for Dec 27, 2024

Friday, December 27, 2024

JSK Daily for Dec 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Performance Optimization in React Pivot Table with Data Compression The Syncfusion React

Daily Coding Problem: Problem #1650 [Hard]

Friday, December 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Recall that the minimum spanning tree is the subset of edges of a tree that

🧠 3 Ways Quantum Computing Will Change Our World — How to Transfer Data to Your New iPhone

Friday, December 27, 2024

Also: Great Spotify Features That Apple Music Has Too, and More! How-To Geek Logo December 27, 2024 Did You Know 2004 was the last year that hidden (or "pop-up") headlamps appeared on a mass-

Charted | How U.S. Household Incomes Have Changed (1967-2023) 💰

Friday, December 27, 2024

When looking at inflation adjusted data, US households have definitely gotten a whole lot richer since 1967. View Online | Subscribe | Download Our App FEATURED STORY How US Household Incomes Have

Can Pirates Save Democracy?

Friday, December 27, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 27, 2024? The

The 2025 Predictions You Can't Afford to Miss 🔮

Friday, December 27, 2024

Get a head start on what's to come in the New Year. Join VC+ to gain access to our 2025 Global Forecast Series and other exclusive insights! View email in browser HOW LEADERS STAY AHEAD IN 2025 The

DeveloPassion's Newsletter #182 - 2024 Retrospective

Friday, December 27, 2024

A newsletter discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's Newsletter #182 -

End 2024 on a High Note: The Top Writing Tips and Templates You Need

Friday, December 27, 2024

What's good, @newsletterest1! As we welcome 2025, let's take a moment to celebrate the incredible stories that fueled our hacker minds in 2024! We've compiled a roundup of the most-used

Private AI data + AI in Hollywood

Friday, December 27, 2024

my 2024 favorites ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏