We have plenty of new items in this week's newsletter. Starting with the addition of a new podcast from Laravel India and in this week's episode they have Laravel's core team member, Joe Dixon as their guest. We also have new episodes from PHP architect and WP Briefing. New releases from Laravel 10.4 and PhpStorm are also out this week. Our tutorial section is stacked this week including a guide on hosting multiple PHP web applications on a single Ubuntu server using Apache, and keeping code clean and reducing code coupling by using Dependency Injection. Finally, in our Reading section we have tips on building custom Artisan commands in Laravel, as well as incorporating profanity detection in your applications.
We hope you like this week's newsletter. We would like to give a shoutout to our sponsors and their continued support. Do check out their links below. 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.
Leverage Symfony VarDumper Component to Enhance your Dumps
Symfony’s VarDumper Component is a game changer when it comes to debugging. It allows us to dump variables in a clean and efficient way.
14 PHP Arguments That Are Not Used Enough
PHP has a few thousands functions under its belt, and there are even more arguments.
The laravel-data package is fantastic to work with, but it also adds a lot of complexity when outputting data. In this blog post, we will look at how we've improved the performance of the package and, thus, the complete Flare application.
Boost Your Laravel App Speed With These Optimization Tips
Are you looking for successful ways to speed up Laravel performance while working on your project? You’ve come to the right place!
Return Types In PHP
We will be looking into several return types in PHP. Without any further ado, let's dive in.
25 PERFECT AI Prompts for PHP Developers
With prompts ranging from PHP frameworks to database integration, these prompts offer a wealth of actionable insights and guidance to help you optimize your development efforts and deliver outstanding results.
Tutorials and Talks
Extending PHP 8.1 Enums With Attributes
Using classes instead of database enums provides more flexibility if you need to add to the list in the future.
Concurrent, Chunked, Multi-File Uploads With Livewire
Today we'll upload multi-selected files in separate requests, and in chunks—using Livewire! Upload your files close to your users with Fly.io, you can get your Laravel app running in minutes!
Creating A Single Page Application Using Mustache and PHP
Ever wanted to master Mustache single-page application development? Did you know you can use PHP with it? In this tutorial, we go over how you can create a single-page application using Mustache and PHP.
How To Send Messages From Laravel To Slack (2023 Version)
Many companies are using Slack as their primary tool of communication. Trust me, it will just be a matter of time before you are asked to integrate Slack with Laravel. This will also be relevant if you want to integrate things like the Laravel Horizon or Spatie Health notifications.
Automatically Running Commands In Visual Studio Code Projects
Modern web development generally involves running various scripts in your terminal to build assets, analyse your code and more. It's incredibly annoying to run those commands manually everytime you open a project.
How To Implement Dependency Injection In Laravel Livewire
I like to use Dependency Injection (DI) in my code. It helps me to keep my code clean and reduces code coupling.
How to run multiple PHP Web Applications on a Single Ubuntu Server using Apache
This tutorial provides guidance on hosting multiple PHP web applications on a single Ubuntu server using Apache web server and PHP-FPM with different versions of PHP.
Latitude and Longitude Validation In Laravel using Regex
In this tutorial, we will explore how to validate latitude and longitude inputs in Laravel using regex.
How to Add Watermark in Image using PHP?
In this blog post, we will discuss how to add a watermark to an image using PHP. We will be using the GD library, which is widely supported and offers a range of powerful image manipulation functions.
News and Announcements
Laravel 10.4 Released
The Laravel team released 10.4 with a File::json() method, converting existing HasMany relationships to a HasOne relationship, a new test response assertion, and more.
TypeScript Support Added to Laravel Breeze
The Laravel team added opt-in TypeScript support to the Laravel Breeze starter kit.
PhpStorm 2023.1 RC2
The second release candidate for PhpStorm 2023.1 is now available. It’s the final build before the stable release.
A Week of Symfony #847 (20-26 March 2023)
This week, the upcoming Symfony 6.3 version continued adding new features: the Messenger component added Clock support in workers and introduced a way to redispatch a message, the translation component improved performance of message extraction and the new Scheduler component added support for date intervals and periods and introduced a debug:scheduler command.
Laravel Live UK 2023
Laravel Live UK 2023, the official Laravel conference for the UK, is coming to London for a two-day conference on June 22nd and 23rd 2023. Join hundreds of Laravel and PHP enthusiasts for inspirational talks, engaging networking, and amazing learning opportunities.
php[tek] 2023 - Chicago, IL
Join us for the 15th Annual Web Developer Conference, php[tek] 2023, May 16-18 2023.
Podcasts and Vlogs
Laravel India Podcast with Joe Dixon - Laravel Core Team Member
In this episode of the Laravel India Podcast, we're joined by guest Joe Dixon. Joe discusses the how he started with programming and getting into PHP laravel.
php[podcast] Episode 23.3.1
John and Eric share more of the day to day behind the scenes work that goes on at php[architect]. This includes a lot of talk on php[tek]. They also talk about the latest edition of the magazine “Box of PHP”. Join the Discord at https://phpa.me/discord Get your early bird php[tek] tickets before the price goes […]
PHP Ugly: 328: ChatGPTUgly
This week on the podcast, Eric, John, and Thomas talk about GitHub forcing users to be more secure, CoPilot getting smarter, Microsoft going loopy, and more.
The Stack Overflow: The Next Gen Web Browser Has No Tabs, Only Spaces (Ep. 549)
Ben and Cassidy sit down with The Browser Company to talk about reimagining the web browser—and the way we use the internet.
Software Engineering Radio: SE Radio 557: Timothy Beamish on React and Next.js
Host Philip Winston speaks with Beamish about components, routing, JSX, client-side and server-side rendering, single-page applications, automatic code-splitting, image optimization, and more.
Developer Tea: The Pitfall of Control and Antidote of Trust
Your intuition says that control is the ladder you climb to improve your career. But most great leaders tend to do one thing: the opposite of increasing control.
Shoptalk Show: 558: Esoteric Weird Content Editable Problems with Kristin Valentine
Kristin Valentine from Vox joins the show to talk about text editor CMS fun across multiple sites, Vox's Chorus, The Verge redesign, sharing Design Systems, theming articles, and a fun new game called "Can Your Text Editor Do This??"
WP Builds: “Thinking the unthinkable (TTUT). Episode 319: Do we even need WordPress?” with Nathan Wrigley and David Waumsley.
As 57% of the web manages without WordPress, in the wider sense, the answer is no. But 43% use it, including a lot of web design agencies, freelancers and marketers.
WP Briefing: Episode 52: Workflows and Phase Three Visioning with Special Guest Héctor Prieto
On Episode fifty-two of the WordPress Briefing podcast, join WordPress Executive Director Josepha Haden Chomphosy and special guest Héctor Prieto as they discuss phase three and why it’s more than just collaborative editing!
Building Custom Artisan Commands in Laravel: Tips and Tricks
In this article, we’ll explore tips and tricks for building custom Artisan commands in Laravel, focusing on creating efficient, reusable, and well-structured commands.
Demystifying Nginx and PHP-FPM for PHP Developers
In this blog post, we’ll explore these server-side components that bring your applications to life and will walk through some of the key configuration parameters that can allow you to fine-tune your system for maximum performance.
How to Detect Profane, Obscene Language in Text using PHP
Incorporating a profanity detection service into your applications can play an important role in automatic content moderation, preventing foul language from littering public reviews and other elements of user-generated content.
Laravel: Timestamp Or Datetime
What is the difference between timestamp and datetime and when to use which?
Streamline Your Laravel Development with Route Model Binding: A Real-Life Example
In this blog post, we’ll explore how route model binding works and provide a real-life example of how it can be used to simplify the development of a web application.
Some interesting changes in PHP 8.3
As we know, PHP 8.3 will be released on November 23, 2023. In this article, I am going to introduce you to some new features and changes that will be in PHP version 8.3. So stay with me.
Meet Lando — the Perfect Tool for Your Local PHP Development Environment
In one sentence, Lando is a layer on top of docker-compose, facilitating running services, tooling, and networking for our projects’ local dev environment.
Interesting Projects, Tools and Libraries
Core components for the WordPress payment processing library.
A Laravel 8 package to easily switch TailwindCSS resources generated by Laravel Jetstream to Bootstrap 4 or 5.
Image cropping fieldtype for Statamic.
Docker Compose structure to quickly startup Joomla CMS projects.
A tool to encode and decode strings based on flexible and composable syntax definitions.
Ansible role for bootstraping instances.
Yii2 Glide integration.
Using this library, You can validate value of any element using rules.
PHP7 library for JSON Web Tokens (JWT).
This is a library uses composer as the basis for generating email notifications.
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $75/week for an advert. Please let me know if you are interested by emailing me at [email protected]
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?