PHP Weekly - PHPWeekly March 30th 2023

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

Hi everyone,

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


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.

Optimizing Flare
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!

Reading and Viewing


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


wp-pay/core
Core components for the WordPress payment processing library.

tiththa/jetstrap
A Laravel 8 package to easily switch TailwindCSS resources generated by Laravel Jetstream to Bootstrap 4 or 5.

tv2regionerne/statamic-image-cropper
Image cropping fieldtype for Statamic.

visay/dockerjoomla
Docker Compose structure to quickly startup Joomla CMS projects.

tarsana/syntax
A tool to encode and decode strings based on flexible and composable syntax definitions.

vundb/ansible-role-system-bootstrap
Ansible role for bootstraping instances.

wolfpack-it/yii2-glide
Yii2 Glide integration.

hgh/yii-input-validator
Using this library, You can validate value of any element using rules.

artisangang/jwt
PHP7 library for JSON Web Tokens (JWT).

brito101/notification
This is a library uses composer as the basis for generating email notifications.

Jobs

------
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 articles@phpweekly.com

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 newsletters

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 © 2023 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 March 23rd 2023

Thursday, March 23, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 23rd March 2023 Hi everyone, We have a lot in store in this

PHPWeekly March 16th 2023

Thursday, March 16, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 16th March 2023 Hi everyone, In this week's newsletter we have

PHPWeekly March 9th 2023

Thursday, March 9, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 9th March 2023 Hi everyone, This week's newsletter covers the

PHPWeekly March 2nd 2023

Thursday, March 2, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd March 2023 Hi everyone, For our first newsletter for the month

PHPWeekly February 9th 2023

Thursday, February 9, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 9th February 2023 Hi everyone, We're a week away from the

You Might Also Like

🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?

Saturday, November 23, 2024

Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the

JSK Daily for Nov 23, 2024

Saturday, November 23, 2024

JSK Daily for Nov 23, 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

Not Ready For The Camera 📸

Saturday, November 23, 2024

What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video

Daily Coding Problem: Problem #1617 [Easy]

Saturday, November 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 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 23, 2024? The HackerNoon

🐍 New Python tutorials on Real Python

Saturday, November 23, 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: Black Friday Giveaway @ Real Python This Black

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for

North Korean Hackers Steal $10M with AI-Driven Scams and Malware on LinkedIn

Saturday, November 23, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 23, 2024