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!

April 4, 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 [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 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.

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