PHP Weekly - PHPWeekly March 9th 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 various stages in a coder's process. In the podcast section we have the latest episode from No Compromises discussing having an open mind with other languages and tool. How to Code Well, poses the question: What to do when you've finished all your tickets and have time to spare? For those executing their tests, we have a tutorial on setting XDebug's coverage mode and in the Reading section we have a blog about being mindful of the next person reading your code with a list of tips for better code commenting. If you want to boost PHP performance, Generators might provide the answer when handling large data sets. Finally we have an article from Freek Van der Herten about strategies for making Laravel packages customisable. We have all that and more for your weekly fix of PHP news and updates, so we do hope you enjoy this one.   

We would like to thank those who sent over articles to us. 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 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.

Articles


Strategies For Making Laravel Packages Customizable
While attending Laracon India, many people approached me to ask how we handle the maintenance of all our Spatie packages. In this blog post, I'd like to cover some of our best tips to make a Laravel package easy…

Common Function Comparisons in PHP
How do you decide between two functions that, at a glance, seem to do the same thing? Let's pick apart the differences to try and make it easier.

Cross Platform Mobile App Development 2023: The Ultimate Guide
Let’s explore the best tools for creating multi-platform solutions and the advantages and drawbacks of cross platform app development.

Correct Way Of Adding Filter To Laravel 10
If you are working with Laravel, you probably know how powerful and expressive its Eloquent ORM is.

10 PHP Array Functions And How To Use Them
Learning about these functions is essential for any PHP developer who works with arrays regularly, as they can simplify complex array operations and save time when dealing with large datasets.

Single Responsibility Principle(SRP) example using PHP
Do you want to know why it’s good for a class to have one and only one reason to change? if yes this short and well-articulated article will use a real-world example to explain one of the object-oriented design principles by Robert C. Martin.

Feature Flag and Strategy pattern with the Symfony Framework
In this article, we will use the magic of Symfony to make a Feature Flag extendable as you want.

Tutorials and Talks


Sharing PHPCS Rules Across Projects and Teams
At the end of this tutorial, you'll know how to create an organization ruleset you can use to quickly lint all your PHP projects.

Returning Native Types From The Laravel Request Class
A few days ago, while working on a project where I wanted to use strict types and also have Larastan on the highest level, I needed to pass parameters from within the Laravel Request class into methods that expect a specific type...

Upload Files On Laravel 10
Uploading files is one common feature that most of the applications use, and yet is one of the things that I see many people struggling with.

Token-Based Authentication in Laravel 9 Using Laravel Sanctum
Authentication is a fundamental aspect of building any web application, as it ensures that only authorized users can access sensitive data and perform actions within the application.

Test Coverage: Did You set Xdebug's Coverage Mode?
If you are using PestPHP and during the execution of your tests with the coverage option, you are receiving the message.

Mirroring Composer dependencies with Packeton
Mirroring dependencies can be useful for several scenarios.

How To Deploy A Laravel Project To DigitalOcean Droplet Using Github Action
In this article, I will walk you through the step-by-step process of how you can deploy your Laravel application on the digital-ocean droplet.

News and Announcements


PhpStorm 2023.1 Beta: Debugger With Data Flow Analysis
In this build, you can find additions to the PHP debugger that allow you to see conditional values ahead of time and dim out runtime-unreachable code.

Announcing the First Release Candidate of HydePHP: A Laravel-Based Static Site Generator
We're excited to announce the first release candidate of HydePHP, a Laravel-based static site generator! HydePHP is a powerful and flexible tool that allows you to build static websites with ease, using the familiar syntax and functionality of the Laravel framework.

A Week of Symfony #844 (27 February - 5 March 2023)
This week, Symfony 5.4.21 and 6.2.7 maintenance versions were released. Meanwhile, the upcoming Symfony 6.3 version added support for managing command exit code while handling signals. Lastly, the SymfonyOnline June 2023 conference announced that you can submit your papers until March 6.

CakeFest: Call For Speakers Is Open
Don't miss your chance to speak at the one and only CakePHP conference.

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


How To Code Well: 192 - What To Do When You've Completed Your Work
What do you do when you have finished all your tickets and you have two days remaining in the sprint?

PHP Ugly: 325: Air Cutz
This week on the podcast, Eric, John, and Thomas talk about Lastpass, 2 Factor, Release Manager for PHP 8.3, PHP Tek, and more...

The Stack Overflow: From Writing Code To Teaching Code (Ep. 545)
Writing code that runs without errors—and without all the bugs that only show up when the program runs—is hard enough. But teaching others to write code and understand the underlying concepts takes a deeper understanding. Now imagine doing that for 37 courses.

No Compromises Podcast: Keeping An Open Mind With Other Languages And Tools
Before you vent some frustration on another tool or programming community, take a deep breath and think about why you're irritated? We talk about our own reactions to ...

Maintainable Podcast: Henrik Warne - There is No Software Maintenance
Robby has a chat with Henrik Warne (he/him/his), the Senior Software Engineer at Talos, about the importance of code having structure early on, the importance of engineers being able to read, run, and test code when they join a project.

Software Engineering Radio: Episode 553: Luca Casonato on Deno
Luca Casonato joins SE Radio’s Jeremy Jung for a conversation about Deno and Deno Deploy.

Developer Tea: What Defines a Senior Developer? - Difficult Does Not Equate To Valuable
The traits that define a senior engineer are not catalogued perfectly in one spot. But, nevertheless, we'll try to cover some of the most important traits and habits of a senior engineer.

Shoptalk Show: 555: React Documentary, Front of the Front End, Fast Fallacy, and Best Practices
Reacting to the React.js documentary, is there still jobs for front of the front end anymore? The fast fallacy in frameworks, best practices, dealing with too much or too little isolation, and AI test generation.

WP Builds: 316 – Kevin Geary talks about Automatic CSS
Some of us love working with CSS. It’s fun, pretty easy to learn, and gets the job done. Others… not so much. It’s boring, hard to master, and you end up doing things incorrectly all the time!

Reading and Viewing


Preemptive Pluralization is (Probably) Not Evil
Before you write any code — ask if you could ever possibly want multiple kinds of the thing you are coding. If yes, just do it. Now, not later.

Token-Based Authentication in Laravel 9 Using Laravel Sanctum
In this article, we will explore the Laravel Sanctum package and how it can be used to implement a simple token-based authentication system.

Creating Custom Web Applications with Symfony 6 and Php 8: A Step-by-Step Guide
In this step-by-step guide, we’ll show you how to create a custom web application using Symfony.

Simple Tips for Better Code Commenting
Please, think of the next person who has to read your code.

Boost Your PHP Performance with Generators
With generators, you can generate a sequence of values on-the-fly using the yield keyword.

Unlocking the Power of PHP with the Abstract Syntax Tree (AST)
The PHP Abstract Syntax Tree (AST) is a data structure that represents the syntax of a PHP script.

Interesting Projects, Tools and Libraries


dongnan/microrouter
A mirco & powerful router library for PHP.

mtymek/blast-base-url
PSR-7 middleware and helpers for working with base URL.

coddin-web/oidc-client-laravel-wrapper
A Laravel wrapper of jumbojett's OpenID Connect Client.

mageplaza/module-share-cart-graphql
Magento 2 Share Cart GraphQL Extension.

batchnz/craft-ckeditor
Edit rich text content in Craft CMS using CKEditor.

max13/puphpeteer
A Puppeteer bridge for PHP, supporting the entire API.

laravel-bridge/slim
The Laravel Bridge use on Slim framework.

iphis/finediff
PHP implementation of a Fine granularity Diff engine.

ikechukwukalu/requirepin
A laravel package for pin confirmation and validation before processing requests to a specified route.

hammerstonedev/flaky
Handle intermittent failures caused by unreliable third parties.

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 help us by clicking to our sponsor

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

PHPWeekly February 2nd 2023

Thursday, February 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 February 2023 Hi everyone, It's the first newsletter of the

PHPWeekly January 26th 2023

Thursday, January 26, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 26th January 2023 Hi everyone, This week we have some firsts for

PHPWeekly January 12th 2023

Friday, January 20, 2023

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

You Might Also Like

Weekend Reading — More time to write

Sunday, November 24, 2024

More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People

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