It's the first day of the month and a brand new edition of PHPWeekly. This week's newsletter is Laravel heavy on the content as Laravel 11's launch is just around the corner. We have articles on what's in store on this update and some new features. We also have an article on Laragenie, an AI 'colleague' made for the command line which might you might want to consider setting up. In Tutorials we have some handy PHP string functions in a list for future reference, as well as Parsing CSV files in PHP with different delimiters. In Podcasts we have new episodes from Maintainable on helping clients understand maintenance work. Over at Developer Tea the topic this week is finding leverage by escaping functional fixedness. Finally in our Reading section we have Laravel Middleware Mastery and automating property dependency injection in Laravel. 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,
Please help us by clicking to our sponsor:
Get 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.
A Look At What's Coming To Laravel 11
Laravel 11 is not scheduled to be released until Q1 of the 2024, but some new features have been shared out, and Taylor goes through some big new improvements in his Laracon keynote.
Meet Laragenie: The AI ‘Colleague’ That Understands Your Codebases
Ever wondered what it would be like to have instant, contextual answers to questions about projects, without having to wait on others for responses?
Stop using old-fashioned closures in modern PHP. There are 4* ways to replace them
So, closures. We got that possibility in PHP a long time ago, in 2014. It’s a handy way to define an anonymous function and immediately pass it if we don’t need to reuse it.
Dive into the Streamlined Directory Structure in Laravel 11
We think you’ll love the fresh skeleton you start with in a Laravel 11 app that is coming out next week! Newcomers will appreciate the minimalism, and experienced developers upgrading will not experience breaking changes in how a typical Laravel application is structured.
Unlocking the Power of Caching in Laravel
Caching, in simple terms, is a technique used to store frequently accessed data temporarily. In the context of web development, this could be anything from database queries to HTML output.
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
Handling Errors with Third-Party APIs
Learn how to create, throw, and handle custom exceptions when making requests to third-party APIs
Display Desktop Notifications in PHP CLI Applications
In this article, we're going to take a look at how to use the "JoliNotif" (jolicode/jolinotif) package to display desktop notifications from your PHP CLI applications.
Laravel - Setup Expo Push Notifications
Today, I'll guide you through each step on how to make your Laravel app send Expo push notifications.
Some handy PHP String functions
Hey buddy, here are some handy-dandy PHP String functions for you.
How to Use ImportAction in Laravel Filament with RelationManager
Laravel Filament, a powerful tool for building admin panels, offers a variety of features for managing data, including the ImportAction.
PHP: about empty()
The empty() helper is a built-in PHP function that is often used to check inputs. The problem is it has some quirks you might not know yet.
Parsing CSV Files in PHP with Different Delimiters
A CSV delimiter determines how the data is divided and allows for proper parsing of the CSV file.
News and Announcements
Download Over 1,500 Google Fonts in Your Laravel Project
Laravel Webfonts is a package that allows you to easily download, install, and preload over 1,500 Google fonts locally in your Laravel project.
Symfony 7.0.3 released
Symfony 7.0.3 has just been released. Here is the list of the most important changes since 7.0.2.
Laravel 10.42 - Global Defaults for the HTTP Client, a Max Validation Rule for Passwords, and more
This week, the Laravel team released v10.42 with global default options for the HTTP client, a max validation rule for the password rule object, a string unwrap helper, and more.
PHP Annotated – January 2024
Welcome to the January edition of PHP Annotated! We’ll recap the most interesting developments in the PHP community over the past month, featuring handpicked news, articles, tools, and videos.
A Week of Symfony #891 (22-28 January 2024)
This week, development activity was calmer than usual and focused on fixing bugs of stable Symfony versions. Meanwhile, we published a recap of the SymfonyOnline January 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!
Podcasts and Vlogs
PHP Ugly: 369:The PHPrice Is Right
This week on the podcast, Eric and John talk about New Job Opening, New Employee, New Speaker for php[tek], new Sponsor, some PHP, and more...
The Stack Overflow: Inside Intuit's generative AI system, GenOS
In today’s episode of the podcast, sponsored by Intuit, Ben and Ryan talk with Shivang Shah, Chief Architect at Intuit Mailchimp, and Merrin Kurian, Principal Engineer and AI Platform Architect at Intuit.
Maintainable Podcast: Jeanine Soterwood - Helping Clients Understand Maintenance Work
Robby has a chat with the Software Development Team Lead at Thoughtbot, Jeanine Soterwood. Unraveling the intricacies of Ruby on Rails, they explore the often overlooked importance of keeping apps up-to-date and maintaining a robust test suite.
Software Engineering Radio: SE Radio 600: William Morgan on Kubernetes Sidecars and Service Mesh
William Morgan, founder of the Linkerd service mesh and CEO of Bouyant, joins SE Radio’s Robert Blumen for a discussion of sidecars, service mesh, and a forthcoming enhancement to kubernetes to support sidecars natively.
Developer Tea: Finding Leverage by Escaping Functional Fixedness
Finding leverage is difficult to do, but a lot of the reason for this is that we allow ourselves to fall into well-traveled cognitive pathways.
Shoptalk Show: Where Will The Web Be 12 Years from Now?
We've got your feedback as well as our thoughts on where we all think the web will be in 2036 - as we celebrate 12 years of ShopTalk Show history, we're looking forward to what's to come with ideas around cookie banners, undo, no more passwords, React, Deno, Node, and Mozilla's future, ChatGPT's thoughts, accessibility, blockchain, VR / AR, hoverboards, P3 color space, indie web, JS bundle sizes, and more!
WP Builds: 358 – Exploring web accessibility: a conversation with Gen Herres
So today we’re chatting with Gen Herres about web accessibility. Gen is an experienced WordPress developer who has been in the field for over a decade. After making the typical mistakes in website development
Create Dynamic Discounts with Custom Conditions on Laravel With the Discountify Package
Discountify is a Laravel package designed for managing dynamic discounts with custom conditions. You can use this package to create flexible conditions around discounts using the following Condition class.
Eager Load Limit is Coming to Laravel 11
With the release of Laravel 11 in February 2024, Laravel will have native support for limiting the number of eagerly loaded results per parent.
Elegant immutable object pattern in PHP
As many of you know, immutability is an extremely useful concept that makes code more predictable and generally easier to understand.
Laravel Middleware Mastery: Navigating From Basics To Advanced
Laravel Middleware is like that buddy who helps you manage the crowd at your epic house parties. It checks out every guest (a.k.a. request) at the door, making sure theyre cool to enter (like having the right password or being on the guest list).
Automating Property Dependency Injection in Laravel
Hello Laravel enthusiasts! Have you ever tried automating traditional dependency injection methods in Laravel? Today I will show you a different approach that combines Laravel’s framework with PHP features.
A Vital Interview Concept: Arrays vs Linked Lists in PHP
Visualize an array as a row of mailboxes with numbers in an apartment complex.
Interesting Projects, Tools and Libraries
Symfony 4/5/6 bundle which allows you to use @Cron annotations to configure cron to run your console commands.
A metaphone pt_BR function.
Multilanguage support for your site.
Yii Composer installer.
The Phaxio API PHP library.
Configure Cron task through PHP.
A list of useful shortcut-function for debugging.
Automation of database tasks.
Laravel ID Encrypt Helper.
Please help us by clicking to our sponsor:
Protect 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?