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

Launch pad decongestion

Monday, May 6, 2024

We've got some very cool news from Hubble Networks, which became the first company to connect a Bluetooth chip to a satellite. View this email online in your browser By Aria Alamalhodaei Monday,

Daily Coding Problem: Problem #1433 [Medium]

Monday, May 6, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Nest. Create a basic sentence checker that takes in a stream of characters and

Want to become an AI consultant?

Monday, May 6, 2024

My take on this new industry ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Visualized | Interest Rate Forecasts for Advanced Economies 📈📉

Monday, May 6, 2024

In this graphic, we show the IMF's interest rate forecast for the US, Europe, the UK, and Japan for the next five years ahead. View Online | Subscribe Presented by Voronoi: The App Where Data Tells

⚙️ Apple AI updates

Monday, May 6, 2024

Plus: X AI stories & YouTube "skip to the good part" ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Unlock Time Series Data, FTC Chair Joins StrictlyVC & More

Monday, May 6, 2024

TechCrunch Events Roundup | May 6 TechCrunch Events TechCrunch events roundup Unlock the power of time series data with industry experts from AWS and InfluxDB on May 16. Join us next week for this free

Deepdive – product strategy, AI, leadership, emotional intelligence

Monday, May 6, 2024

Earlier this month, we presented our Virtual edition of INDUSTRY: The Product Conference, featuring some of our favorite product leaders worldwide. There were seven great keynote presentations, live

Noonification: The Human Roots of Rising Fascism

Monday, May 6, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 6, 2024? The HackerNoon Newsletter brings the HackerNoon

Code Story - Apr 24

Monday, May 6, 2024

Welcome to the April addition of the podcast newsletter. Please enjoy, and check out any of the episodes you might have missed below. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Dell turns 40: How a teen founded a tech giant

Monday, May 6, 2024

Samsung's new entry-level OLED TV; Google Threat Intelligence -- ZDNET ZDNET Tech Today - US May 6, 2024 placeholder Dell turns 40: How a teenager transformed $1000 worth of PC parts into a tech