PHP Weekly - PHPWeekly February 8th 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 add to your list of resources? Well, this week we've added two new podcasts on our list. Thanks to David Carr and his blog post on podcasts that he listens to as a PHP developer, we have added in Frontmatter and Mostly Technical podcasts to our weekly roster. We also have new episodes from No Compromises on which logics belong in your Blade view and which ones belong somewhere else. Maintainable also has Jemma Issroff as their guest this week on her insights from her involvement in the re-write of Prism. We also have some features coming up in Laravel 11 and in the Articles 
section we have one on the Dumpable trait. Doeke Norg also has a new blog out on the infamous repository pattern in PHP, which is a worthwhile read. Finally in our Reading section, we have The Benefits of avoiding abstract controller in Symfony, and a post on the framework obsession anti-pattern. 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 11 Introduces the Dumpable Trait
While the Dumpable trait is technically new in Laravel 11, these I would say that it consolidates the idea of dump() and dd() into a reusable trait so that classes don’t have to manually implement this separately.

The infamous Repository Pattern in PHP
The repository pattern is easily one of the most talked about patterns. Some love it; others... not so much.

Mastering Code Consistency: A Guide to PHP-CS-Fixer Integration with VSCode
In the ever-evolving landscape of web development, maintaining consistent code standards across projects can be a challenging task.

Unleashing the Power of PHP 8 Match Expression
In this article, we'll explore the PHP 8 Match Expression, unravel its syntax, highlight its advantages, and demonstrate its real-life applications.

PHP 8 News: Union Types and Mixed Types
PHP 8 introduced Union Types as a significant improvement in how we can declare data types in PHP.

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


Automatically Hash Laravel Model Values Using the "Hashed" Cast
Hashing is an important security concept that every web developer should know about. It's what allows us to store passwords securely in our databases.

Handling Exceptions to impress in your Tech Interview
Exceptions will always be a constant topic when it comes to Object-Oriented Programming, and today, let's find out how to create them like true software artisans!

Changing Column Datatype in Laravel: A Step-by-Step Guide
Changing the datatype of a column in a Laravel application’s database schema is a common task that developers encounter during the evolution of their projects.

PHP Developers are hiding this str_repeat trick from You! Click to Uncover the Secret!
Are you ready to advance your knowledge of PHP coding? You simply need to look at str_repeat!

Creating Custom Log Files in Laravel: A Step-by-Step Guide
In this guide, we’ll explore how to create custom log files in Laravel, allowing you to organize and tailor your logs to meet the specific needs of your application.

Employees Attendance System using PHP and MySQL
The advantages of using an attendance management system Project include enhanced productivity, cost savings, and legal compliance.

Mastering Behat Testing: A Comprehensive Guide for Implementing BDD in PHP Projects
Behat testing is a Behavior Driven Development (BDD) PHP framework that focuses on describing the behavior of a web application in simple, human-readable language.

How To Insert Data Into Mysql Database Using Core Php For Beginners
The htdocs folder serves as the root directory for the local web server. Any files or folders placed in this directory are directly accessible via the web browser.

News and Announcements


CakeDC/CakePHP-db-test version 3.0.0 is now released!
CakePHP 5 and PHPUnit 10 now compatible.

Make your app faster with PHP 8.3
PHP 8.3 is the latest version of PHP. It has exciting new features and major improvements in performance. By upgrading to 8.3, you can achieve a significant increase in speed.

Laravel Reverb
Laravel Reverb is a new first-party WebSocket server for Laravel applications, bringing real-time communication between client and server.

Model Casts are moving to methods in Laravel 11
Model casts in Laravel 10 are defined via the $casts array property. However, in Laravel 11, you can define a casts() method, which opens the possibility to use static methods on built-in casters as well as define static methods for custom casters.

A Week of Symfony #892 (29 January - 4 February 2024)
This week, Symfony 5.4.35, 6.3.12, 6.4.3 and 7.0.3 maintenance versions were released. The 6.3.12 version is the last one in that branch, so you should consider upgrading to Symfony 6.4 or higher soon. Meanwhile, the development activity was very intense and focused on adding new features to the upcoming Symfony 7.1 version, including a new TypeInfo component. Finally, we published a blog post about our experience upgrading websites to AssetMapper.

The PHP Foundation Team Update 2024
Now in our third year, we're gearing up to grow our impact. This year, four more developers are joining the PHP Foundation to further advance PHP.

Podcasts and Vlogs


Frontmatter Podcast: Joaquim Torres, Author of Digital Transformation and Product Culture
In this interview, Leanpub co-founder Len Epp talks with Joca about his background and career, managing digital transformations in different industries, including internet services, real estate, and more, as well as his book, Digital Transformation and Product Culture.

Mostly Technical 22: My Mind Vise
Ian & Aaron give out their Super Bowl Predictions, recap the first wave of announcements from Laracon EU, & more.

PHP Ugly: 370: Speaking Gifts
This week on the podcast, Eric and John talk about php[tek], speakers, ideas, dropping tables, and more...

Laravel News Podcast: Laravel 11 is coming, Typesense, and creatin beautiful charts
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: AI isn't putting tech workers out of jobs, the stock price is
On today’s home team episode: a new study confirms that AI isn’t putting us out of business, why tech layoffs have been good for share prices, and the programming students learning to code with Copilot.

No Compromises Podcast: Move that logic out of your view
Ever feel like your Blade views are getting too logic-heavy? What logic belongs in the view, and what logic would be better somewhere else? We use a recent PR discussion to talk through these points.

Maintainable Podcast: Jemma Issroff-Running the Parser in the Rain
Robby has a conversation with Jemma Issroff, a Senior Software Engineer, speaker and the author of the book, “Ruby Garbage Collection in Under Two Hours” They delve into the intricacies of well-maintained software, and Jemma brings her wealth of experience, particularly from her involvement in Prism, a notable rewrite of the Ruby parser.

Software Engineering Radio: SE Radio 602: Nicolas Carlo on Improving Legacy Code
Nicolas Carlo talks with host Sam Taggart about Nicolas’s recent book, Legacy Code First Aid Kit. They start by defining legacy code and the general issues that developers face when dealing with it.

Developer Tea: Apply Little's Law To What You Can Control
Little's Law explains, in a given queuing system, what the relationships of throughput within that system are.

Shoptalk Show: 601: Brad Frost on A Global Design System + Frostapalooza
Brad Frost has got design systems on his mind—at a global scale. What is a global design system? Are two design systems ever the same? How would this slot inside atomic design? What has been the response from the web community to global design system as an idea? And what's Frostapalooza?

WP Builds: 359 – No Script Show, Episode 3 – Modern CSS layouts
So we’re back with another ‘podcast hijack’, in which the WP Builds podcast is temporarily taken over by a new podcast that I’m doing with David Waumsley. It’s called “The No Script Show”, and we’re getting back to the basics which we feel we’ve lost touch with, namely HTML and CSS.

WP Briefing: Episode 72: Why Your Website Matters
In the latest WordPress Briefing, Josepha Haden Chomphosy explores the reasons for choosing a website supporting your digital presence, covering topics from trust-building to professionalism to owning a unique online domain.

Reading and Viewing


The Framework Obsession Anti-Pattern
Generally, people fall into this anti-pattern when they try to use a particular tool, framework, architecture, or methodology to solve all kinds of problems.

Is it time to ditch MySQL and PostgreSQL for SQLite?
SQLite is getting all the hype lately, but can it really compete with MySQL and PostgreSQL for production web applications?

Laravel and GraphQL: Revolutionizing Web Development Beyond REST APIs
In the ever-evolving world of web development, the integration of Laravel with GraphQL is emerging as a powerful alternative to traditional REST APIs.

Constructor and constructor promoted properties in PHP
In this blogpost, we will be discussing about constructors and constructor promoted properties in PHP.

The Benefits of Avoiding Abstract Controller in Symfony
Before Symfony transitioned to using abstract controllers, it used to extend the Symfony\Bundle\FrameworkBundle\Controller\Controller class.

Unlocking Laravel’s Potential: A Junior Developer’s Roadmap
This idea came to me while reviewing assignments where I noticed that many developers are not utilizing Laravel to its full potential.

Wars of Symfony Runtimes: A Performance Odyssey
Choosing the right runtime for your Symfony applications can be a decisive factor in the success of your project.

Interesting Projects, Tools and Libraries


sdelfi/yii2-invisible-recaptcha
Validates form post with Goolge Invisible Recaptcha

julienmru/laravel-paybox-gateway
Laravel Paybox gateway.

softspring/cms-translation-plugin
A translation extension for softspring cms.

dpp/composer-plugin
Composer plugin for integration with the Drupal Project Platform.

php-static-analysis/phpstan-extension
PHPStan extension to read static analysis attributes.

jojo1981/data-resolver
Generic extensible data resolver.

wms/ldap-bundle
Ldap Authentication bundle for Symfony2.

sylius/fixtures-bundle
Configurable fixtures for Symfony applications.

coreproc/nova-system-info-card
A Laravel Nova card that shows you your system information.

yevgen-grytsay/repeatable-task
Execute a task limited times or until its result becomes satisfying.

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 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

PHPWeekly January 4th 2024

Thursday, January 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 January 2024 Hi everyone, It's our first newsletter for the

You Might Also Like

📺 There's Still A Place for Universal Remotes — 10 Apps I Always Install on a New Mac

Saturday, December 28, 2024

Also: How to Add Emails to Your Tasks To-Do List in Gmail, and More! How-To Geek Logo December 28, 2024 Did You Know In December 2014, two con men from Girona, Spain, agreed to sell a fake Francisco de

Ranked | The World's Top 30 Countries, by Automobiles Manufactured 🚙

Saturday, December 28, 2024

In 2023, China led global car production, contributing nearly a third of total output. Which countries followed in this competitive industry? View Online | Subscribe | Download Our App FEATURED STORY

🐍 New Python tutorials on Real Python

Saturday, December 28, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Learn From 2024's Most Popular Python

15,000+ Four-Faith Routers Exposed to New Exploit Due to Default Credentials

Saturday, December 28, 2024

THN Daily Updates Newsletter cover Resilient Cybersecurity ($39.99 Value) FREE for a Limited Time Reconstruct your defense strategy in an evolving cyber world Download Now Sponsored LATEST NEWS Dec 28,

Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026

Saturday, December 28, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026 If you have outstanding credit card debt, getting a new 0% intro APR credit

📧 What Rewriting a 40-Year-Old Project Taught Me About Software Development

Saturday, December 28, 2024

​ What Rewriting a 40-Year-Old Project Taught Me About Software Development Read on: m​y website / Read time: 7 minutes The .NET Weekly is brought to you by: As the year wraps up, it's clear API

This Week in Rust #579

Saturday, December 28, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 579 — 25 DEC 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

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