PHP Weekly - PHPWeekly February 15th 2024

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

Hi everyone,

We've added three podcasts on our list this week. The Changelog, Syntax and Over Engineered. We do hope you enjoy their content along with other podcasts we feature weekly in our newsletter. We also have new episodes from Laravel Podcast and this week they talk about the newly hired head of engineering  at Laravel and its impact on the future. North Meets South dicsuss the differences between transactional and campaign emails, while at Maintainable, the topic this week is a deep dive into the basics of software project maintenance. In our Articles section we have Brent Roose tackling how to automate unit testing using AI Assistant in PHP. We also have a compilation of CLI tools that will make you a better and more productive developer on the command line. Finally in our Reading section we have a list of tools to make working with Git more productive, along with using Ecotone for real life solutions for Laravel multi-tenant applications. 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


AI for PHP: How To Automate Unit Testing Using AI Assistant?
Testing. If you’re anything like me, you’ll agree that it’s equal parts important and boring. It’s one of those things that isn’t much fun while you’re doing it, but you know it’ll pay dividends later on.

Five Tools That Will Make You More Productive on the Command Line
I’ve compiled a list of some of the CLI tools I think will make you a better, more productive developer on the command line. This isn’t an exhaustive list, but I’ve picked five CLI tools that I regard as some of my favorite productivity boosters when working with files and code on the command line.

DTO vs VO in PHP
Data Transfer Objects (DTOs) and Value Objects (VOs) are particularly useful when working with dynamically typed languages like PHP, where switching to the use of more structured types is essential to improve the quality of our applications, as well as the readability of the code.

Writing Code like a Senior Developer in Laravel
This article delves into best practices, and common pitfalls, and provides both wrong and right coding examples to guide you in writing clean, efficient, and scalable code in Laravel.

PHP: 7 tricks to help with upgrading Composer packages
Recently I had the pleasure of taking an enterprise app and upgrading it from Laravel 9 to Laravel 10. Like a lot of applications we also had a good number of dependencies to upgrade.

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


Reusable Input Components without Livewire, with Livewire
Follow along to see how we can create a generic TextInput component with a fluent interface that can be reused everywhere with just a few lines of code.

Renaming a Column in Laravel: A Step-by-Step Guide
In this article, we'll explore a step-by-step guide on how to rename a column in Laravel.

Storing classes with user configurable parameters in the database (with Laravel)
In a current Laravel-based software project I'm developing, I was confronted with a small challenge that kept me thinking more than perhaps it should have: how to efficiently store an "abstraction" of certain classes in the database.

Asynchronous state machine with Symfony Workflows
The Symfony Workflow component enables the creation and management of state machines. Let’s explore how it can prove extremely beneficial in constructing complex business logic.

Comparing Function API & Class-based Components in Laravel Livewire Volt
In this video, we're transforming a Livewire Component into a Volt Component. There are 2 options for this, that is a Functional API Component or a Class-based Component. We'll be creating both and comparing them.

Building a Blogging Site with React and PHP: A Step-by-Step Guide
Welcome to our comprehensive tutorial on building a React PHP Blogging Site. This step-by-step guide takes you through creating a fully functional blog using the powerful combination of React for the front end and PHP for the back end.

Mastering Date and Time Operations in PHP with My New PHP Date Formatter Package
I'm thrilled to announce the release of our newly developed PHP Date Formatter package!

News and Announcements


New Laravel 11 Apps Include a Health Check Endpoint
As part of the release of Laravel 11, new applications include a health /up endpoint. This route is defined in the new bootstrap/app.php file by passing the health parameter—which is defined by default in the Laravel 11 skeleton.

Streamed JSON Responses Added to Laravel 10.43
The Laravel team released v10.43 with support for streamed JSON responses, passing a class name to register a global eloquent scope, a new insertOrIgnoreUsing Eloquent method, and more.

A Week of Symfony #893 (5-11 February 2024)
This week, Symfony maintained versions focused on fixing bugs and updating the translation of validation messages to many of the supported languages. Meanwhile, the upcoming Symfony 7.1 version improved the parsing/linting methods of ExpressionLanguage and also improved the BinaryFileResponse. Lastly, we published more details about the talks of the upcoming SymfonyLive Paris 2024 conference.

CakeFest 2024 Talk submissions are officially open
Interested in being a speaker for CakeFest 2024? Talk submissions are officially open. The event will be in Luxembourg August 7-9!

Save the date: Laracon US is coming to Dallas TX Aug 27-28, 2024
Laracon is back for 2024. The flagship Laravel event of the year and the largest PHP conference in the United States is heading to Deep Ellum, Dallas, for two days of learning and networking with the Laravel community.

Podcasts and Vlogs


The Changelog: Changelog News #81 We can dance if we want to...
Changelog Beats drops a new Dance Party album, Will McGugan’s new Toolong (tl) terminal app, Mitchell Baker is out as Mozilla CEO, Microsoft’s Jordi Adoumie announces sudo for Windows, Tatu Ylonen tells the tale of how they got SSH to be port 22 & Jack Lindamood gives an “Endorse” or “Regret” rating for ~50 different services, tools & processes he used over the 4 years he led infrastructure at a startup.

Syntax: CSS Native Scope
This episode covers the new native CSS scoping feature using the @scope rule, how it works, what problems it solves, and browser support status.

Over Engineered: Handling complicated view logic w/ Skyler Katz & Bogdan Kharchenko
Complex view logic can be hard to get right—particularly in server-rendered templates like Blade. We recently had to decide just how much a Laravel Blade component should do, and decided to hash it out on the podcast.

PHP Ugly: 371:Herding Lando
This week on the podcast, Eric and John talk about Laravel Herd, LandoDev, drawbacks to the M2 as a developer, Harry Mack is selling cars, and more...

The Stack Overflow: Exploring the inclusive tech revolution
On this sponsored episode of the podcast, Ben and Ryan chat with Maya Sellon, inclusive design and digital accessibility principal at Shell, about how she’s scaling accessibility and inclusive design practice across an organization the size of Shell.

North Meets South Podcast: The one about sending email
In this episode, Jake and Michael discuss the differences between transactional and campaign email and some approaches to sending them. We also touch on Jake speaking on PHP[TEK] 2024 on the topic of state machines.

Maintainable Podcast: John Nunemaker-How Scary Is This Change?
Robby has a conversation with John Nunemaker, the Owner at "Box Out Sports" and "Fewer & Faster". They dive into the basics of maintaining software projects, highlighting the crucial importance of keeping dependencies and versions up to date.

Developer Tea: Delegation, Ownership, Responsibility, and Agency
In this week's episode we will discuss Delegation, Ownership, Responsibility, and Agency.

Shoptalk Show: 602: What Does Accessibility Really Mean?
Voiceover pays us a visit, we talk about what accessibility really means, the difficulty of closing a dialogue element, web components at work, and jQuery 4 is out.

WP Builds: 360 – Synchronising data and design with Jorge Casals from DataPocket
Jorge chats about how DataPocket serves as a conduit for synchronising data from various platforms to design tools, offering a better flow of information for e-commerce teams.

Laravel Podcast: Hiring at Laravel, Laracons & Laravel Lives, and Typesense
In this episode of the Laravel Podcast, we talk about the recent announcement of hiring a new head of engineering at Laravel and the impact it will have on the future of Laravel.

Reading and Viewing


Five Ways to Be More Productive with Git
In this post, I've gathered some of my favorite tools to make working with Git more productive. I'll cover different types of tools, ranging from git aliases, git tools, git workflows, and more.

Ask AI Questions About Your Codebase from the CLI With Laragenie
Laragenie is an AI chatbot with an Artisan console integration for your Laravel applications. It can understand your source code by indexing directory/file paths. You can then ask questions about your code such as "Describe all the model associations for the App\Models\Post model".

Laravel Multi-Tenant Applications with Ecotone
In this article we will focus on real life solutions, which we can apply in any PHP Application using Ecotone with Laravel.

Return type declarations in PHP
In this blogpost, we will be discussing a very important concept in PHP. This concept helps us write predictable and less error prone code.

Using Laravel to interact with OpenAI’s Assistant API (with Vision)
A couple of months ago Open AI released their Assistant API which is at the time of writing this article still in beta. In short, Assistants are a new and (hopefully) better way of utilizing OpenAI models.

Singleton Design Pattern
In this article, we will talk about another creational design pattern with some examples and real-life analogies for a better understanding.

Interesting Projects, Tools and Libraries


jleagle/curl-wrapper
An object oriented wrapper around cURL.

krejcon3/checkboxtree
Easy checkboxtree.

3ch3r46/yii2-bootui
The Bootstrap 3 widget for yii 2 framework.

bombenprodukt/laravel-package-powerpack
A package to supercharge your packages with Laravel.

davin-bao/statistics
this is a statistics package for laravel.

yii2-module/yii2-insee-sirene
A module that structures the data of the SIRENE database from the INSEE.

citrus-framework/sqlmap
php sqlmap database mapper library.

hmphu/m2-lazyload-native
Implement the native lazy load attribute 'loading' for all images.

riimu/kit-fileresponse
Library for supporting byte ranges, mime types and conditional get.

digital-creative/nova-pill-filter
A Laravel Nova filter that renders into clickable pills.

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 February 8th 2024

Thursday, February 8, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 8th February 2024 Hi everyone, Are you looking for a new podcast to

PHPWeekly February 1st 2024

Thursday, February 1, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 1st February 2024 Hi everyone, It's the first day of the month

PHPWeekly January 25th 2024

Thursday, January 25, 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 January 2024 Hi everyone, New week, new edition of PHPWeekly.

PHPWeekly January 18th 2024

Thursday, January 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 January 2024 Hi everyone, Some people are resistant to change

PHPWeekly January 11th 2024

Friday, January 12, 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 January 2024 Hi everyone, It's a brand new newsletter and

You Might Also Like

📧 Building Async APIs in ASP.NET Core - The Right Way

Saturday, November 23, 2024

​ Building Async APIs in ASP .NET Core - The Right Way Read on: m​y website / Read time: 5 minutes The .NET Weekly is brought to you by: Even the smartest AI in the world won't save you from a

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon