sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

November 12, 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 [email protected]

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 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com