PHP Weekly - PHPWeekly November 12th 2020

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

 
Welcome to the latest edition of phpweekly.com.

This week we have releases from Symfony and Laravel.

Have a good week,

Stay safe and well.

All the best,

Ade and Katie

Please help us by clicking to our sponsor:

encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. 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

How to Use Your Programming Mistakes to Learn to be a Better Developer
Recently we discovered that we made a mistake in the implementation of our newsletter mailing system. We believe that we have fixed this mistake, but more important than that we also learned how to improve our development and deployment practices to avoid the bad consequences of our mistakes in the future. Read this article to learn more about how you can also improve your software development practices to implement software that is more robust and your work is gets better acceptance.

Why NodeJS Is Best For Real-time Application Development?
Everyone seems to be buzzing about this Real-time application concept. But hang on a second, do you actually know what’s it about and why is it gaining ample traction in 2020?

Master Angular 9 for the Best Web Development Jobs in COVID19 Times
There is no denying the fact that we are moving through one of the most challenging times right now. The outbreak of the COVID 19 Corona Virus has been a great health hazard indeed. With many losing jobs, undergoing pay cuts and businesses closing down, there is a lot of gloom all across. So if you are a young career aspirant striving to make it big amidst the many challenges, the depressing times might seem insurmountable.

Tutorials and Talks

PHP 8.0 Feature Focus: Constructor Property Promotion
The last post talked about how PHP 8.0 makes PHP faster. Today, we’ll look at a way that it will make you faster.

How to Create Recycle Bin with Soft Delete in Laravel 8 and 7
Laravel has provided this functionality out of the box for us called softDelete, so I am going to illustrate how to delete data and view the deleted data and also how to restore the deleted data, and finally, how to permanently delete the data, I called this concept Recycle Bin.

WooCommerce: Adding the Product Short Description to Archive Pages
WooCommerce comes bundled with archive pages and loops that do a great job, but sometimes you might need to display a bit more information on your main shop and other archive pages. In this tutorial, I'll show you how you can add the product short description to your archive pages and display it below the product title.

Apply Filters Conditionally In Laravel With when()
Ever needed to apply filters on a query conditionally, only when the user actually applies them? Laravel query builder's method when got you covered.

How I Redesigned My Laravel Blog (Again)
Every few years, I feel the pressure to redesign my blog. Design trends change fast, and so does my taste. Once I don't like my site anymore, I cannot let go. I need to work on a new redesign. This article is about the latest redesign of my Laravel blog.

How To Install Magento 2 on Localhost
After the official release of Magento 2, users were eager to install it on their local machines or staging websites to check out the new features. However, as many developers reported, installing Magento 2 on the localhost proved to be quite a challenge. In this article, I will explain how to install Magento in localhost XAMPP using Composer in a step-by-step tutorial.

HTML Forms: How (and Why) to Prevent Double Form Submissions
When double clicking a submit button your form will be sent twice. Using JavaScript you can prevent this from happening, but wouldn’t it be nice if this behaviour could be set by use of an attribute on the <form>?

Step by Step Humhub Installation on Ubuntu 20.04 LTS- Open Source Social Network
Humhub is a PHP based open-source social network platform that one can install on Linux server or desktop editions such as Ubuntu 20.04/18.04, CentOS 7 /8, RHEL, and others. Here, we will show the steps, on how to install and use this personal social network platform to build your own community. It is perfect for social Intranets, Enterprise Social Networks, Collaboration, and Private Social Networks.

How to Download PHP Projects With Source Code?
Today, you will find multiple website programming languages that come with the respective pros and cons. However, PHP is one of those programming languages that are used in empowering multiple websites. PHP is an acknowledged open-source, flexible language; it is highly preferred for website development projects. The best part is that you can download the project for learning or commercial purposes completely free of cost. For more details, let us discuss the process involving PHP projects with source code free download.

Syncing macOS Keychain Certificates With Homebrew's OpenSSL
One of my clients runs their own Composer repository for some packages which is hosted on internal system where the SSL is signed by an internal root CA cert. I installed the relevant certificates into my Keychain, but Composer complained about not being able to trust the certificate.

The Bullet Proof Symfony Command Naming
How do you name your Symfony commands? <Something>Commands for the class. What about its console name? If you're like most people, you don't think about such details that at all. But that makes you think twice every time you create a new command. If you're lazy like me, you have a convention and create one command after another, knowing the naming is based on... we'll get to it.

Object Oriented Done Right
Looking at building modern apps with PHP 8.

Get Number of Days Between Two Dates Using JS and jQuery
Here are we discuss two methods to do the task Get Number of Days Between Two Dates Using JS, using JavaScript to calculate the number of days between two dates and using jQuery to get the days difference between two dates.

Questions as an Initiator of Data Projects
Unlike many other fields data-science projects should start with focused questions. A table of data is not of much use in itself unless we analyse and understand it with a specific goal in mind. Without a predefined goal we would not know where to start – what to look for in the data, how to analyse it, what extraneous elements should be removed etc.
News and Announcements 

Symfony 5.2.0-RC1 Released
Symfony 5.2.0-RC1 has just been released with a list of the most important changes.

Laravel 8.13 Released
The Laravel team released 8.13 this week and updated the changelog detailing all the new features in last week’s 8.12 release. The new features added to Laravel over the previous few weeks are packed with exciting framework updates, so let’s look at what’s new!

NomadPHP: Top 10 PHP Coding Traps - December 10th 2020 11:00am PST 
Presented by Damien Seguy. PHP has its own treasure chest of classic mistakes that surprises even the most seasoned expert : code that dies just by changing its namespace, strpos() that fails to find strings or arrays that changes without touching them. Does that get on your nerves too? Let’s make a list of them, so we can always teach them to the new guys, spot them during code reviews and kick them out of our code once and for all. Come on, you’re not frightening us!

Podcasts and Vlogs

That Podcast Episode 66: The First One in 2020
It's been awhile!

PHP Internals News: Episode 69: Short Functions
In this episode of "PHP Internals News" I talk with Larry Garfield (Twitter, Website, GitHub) about a new RFC that's he proposing related to Short Functions.

PHPUgly #212: PHP 8 Deep Dive
This week on the podcast, Eric, John and Thomas talk Frameworks, OSMI, Composer, PHP8 and more...

Laravel Podcast Series 4: Episode 17 - The Service Container, with Christoph Rumpel
You may not know it, but the service container — also known as the container, the IOC container, the DI container, or just "the application" — is that the core of every Laravel application. It's the glue that holds it all together! In this episode, author of Laravel Core Adventures Christoph Rumpel helps us dig deeply into what the container is and why it's good for you to know about it.

PHP Town Hall Podcast #78: Into The Woodchipper
Matt and Ben are joined by Chris Fidao (who watched with horror as Matt butchered his last name). The conversation takes a deep dive into how Chris and Dave Hemphill built ChipperCI include the why, the how and what were some of the fun challenges to building a CI service. We talked briefly about how Chris found good use cases for Golang, but Chris still loves PHP.

Reading and Viewing

A Week of Symfony #723 (2-8 November 2020)
This week, Symfony continued polishing features and fixing bugs for the upcoming Symfony 5.2 version, which will be released at the end of this month. Meanwhile, the SymfonyWorld 2020 online conference announced several keynotes, including a special guest as the last keynote speaker.

Learn All New PHP 8 Features by Watching This Free Video Course
Together with my colleague Brent, I'm working on Front Line PHP, a book and video course on building modern applications with PHP 8. The book will be launched later this month. The video course, which is free, is already available. Head over to our website to see videos on all new major PHP 8 features.

Xdebug Update: October 2020
Another monthly update where I explain what happened with Xdebug development in this past month. These will be published on the first Tuesday after the 5th of each month.

Symfony 5.2 Curated New Features
Symfony 5.2.0 RC1 has just been released. As for any other Symfony minor release, our backward compatibility promise applies and this means that you should be able to upgrade easily without changing anything in your code.

PHP 8 Crash Course
It's hard to believe, but PHP 8 is right around the corner. As part of this new release, not only will you benefit from performance improvements - thanks to the new JIT compiler - but you'll also enjoy useful new operators and types, attributes, match expressions, and so much more. If you're intrigued, hop in and we'll review everything you need to know.

Video: What’s Coming in PhpStorm 2020.3 – Episode 2
In the second episode of the What’s Coming in PhpStorm 2020.3 video series, we’ll take a look at support for PHPStan and Psalm static analysers, and how to work with them in PhpStorm.

Jobs




Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $50/week for an advert.  Please let me know if you are interested by emailing me at katie@phpweekly.com

Interesting Projects, Tools and Libraries

xendit-php
This library is the abstraction of Xendit API for access from applications written with PHP.

psalm
A static analysis tool for finding errors in PHP applications.

pel
The PHP Exif Library (PEL) makes it easy to develop programs that will read and write the Exif metadata headers found in JPEG and TIFF images. See the file INSTALL for an introduction to how PEL can be used by your application.

crawler
Libraries and scripts for crawling the TYPO3 page tree. Used for re-caching, re-indexing, publishing applications etc.

pastebin-php
A simple pastebin implement in PHP.

app-tutorial
This is the tutorial app which shows how to develop a very simple notes app.

phar-stream-wrapper
Interceptors for PHP's native phar:// stream handling in order to enhance security.

types
Missing data types for PHP. Highly extendable.

invoiceninja
Invoices, expenses and tasks built with Laravel and Flutter.

psr7-cookies
Bakes cookies for PSR-7 messages.

shlink
A PHP-based self-hosted URL shortener that can be used to serve shortened URLs under your own custom domain.

laratrust
Handle roles and permissions in your Laravel application.

Please help us by clicking to our sponsor:

 encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. 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?

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 | update subscription preferences 
Copyright © 2020 PHP Weekly, All rights reserved.
Because you signed for it!

Our mailing address is:
PHP Weekly
Rotterdam House 116
Quayside
Newcastle Upon Tyne, Tyne and Wear NE1 3DY
United Kingdom

Add us to your address book
Email Marketing Powered by Mailchimp
unsubscribe from this list | update subscription preferences 

Older messages

PHPWeekly October 29th 2020

Thursday, October 29, 2020

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 29th October 2020 Welcome to the latest edition of phpweekly.com.

PHPWeekly October 8th 2020

Thursday, October 8, 2020

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 8th October 2020 Welcome to the latest edition of phpweekly.com.

PHPWeekly September 10th 2020

Thursday, September 10, 2020

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 10th September 2020 Welcome to the latest edition of phpweekly.com.

PHPWeekly August 13th 2020

Thursday, August 13, 2020

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 13th August 2020 Welcome to the latest edition of phpweekly.com.

PHPWeekly July 30th 2020

Thursday, July 30, 2020

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 30th July 2020 Welcome to the latest edition of phpweekly.com.

You Might Also Like

🎉 Black Friday Early Access: 50% OFF

Monday, November 25, 2024

Black Friday discount is now live! Do you want to master Clean Architecture? Only this week, access the 50% Black Friday discount. ​ Here's what's inside: 7+ hours of lessons .NET Aspire coming

Open Pull Request #59

Monday, November 25, 2024

LightRAG, anything-llm, llm, transformers.js and an Intro to monads for software devs ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Last chance to register: SecOps made smarter

Monday, November 25, 2024

Don't miss this opportunity to learn how gen AI can transform your security workflowsㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect

SRE Weekly Issue #452

Monday, November 25, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: Practice Makes Prepared: Why Every Minor System Hiccup Is Your Team's Secret Training Ground. https://firehydrant.com/blog/the-hidden-

Corporate Casserole 🥘

Monday, November 25, 2024

How marketing and lobbying inspired Thanksgiving traditions. Here's a version for your browser. Hunting for the end of the long tail • November 24, 2024 Hey all, Ernie here with a classic

WP Weekly 221 - Bluesky - WP Assets on CDN, Limit Font Subsets, ACF Pro Now

Monday, November 25, 2024

Read on Website WP Weekly 221 / Bluesky Have you joined Bluesky, like many other WordPress users, a new place for an online social presence? Also in this issue: CrawlWP, Asset Management Framework,

🤳🏻 We Need More High-End Small Phones — Linux Terminal Setup Tips

Sunday, November 24, 2024

Also: Why I Switched From Google Maps to Apple Maps, and More! How-To Geek Logo November 24, 2024 Did You Know Medieval moats didn't just protect castles from invaders approaching over land, but

JSK Daily for Nov 24, 2024

Sunday, November 24, 2024

JSK Daily for Nov 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

OpenAI's turbulent early years - Sync #494

Sunday, November 24, 2024

Plus: Anthropic and xAI raise billions of dollars; can a fluffy robot replace a living pet; Chinese reasoning model DeepSeek R1; robot-dog runs full marathon; a $12000 surgery to change eye colour ͏ ͏

Daily Coding Problem: Problem #1618 [Easy]

Sunday, November 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Zillow. Let's define a "sevenish" number to be one which is either a power