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!

February 20, 2020

Welcome to this weeks edition of PHPWeekly.

Two releases to announce this week; Laravel 6.15.1 which is available now and WordPress 5.4 Beta 2 which is still in development.

With the release of WooCommerce 4.0 just around the corner, learn about the important improvements it brings, including  
a new admin interface.

Plus learn what happened with Derick Rethan's Xdebug last month in his Xdebug Update.

And finally, in celebration of Symfony's 15th birthday this year, SymfonyCon will be taking place at Disneyland Paris in December! The Call for Papers is already open and Early Bird tickets are on sale now.

Cheers
Katie and Ade

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

What Makes WordPress a Great Choice for Creating Websites?
If you’re planning on setting up a website for yourself or your business, chances are you’ve come across WordPress. You might be wondering what WordPress is and what sets it apart from other website systems. In this article, you’ll learn what WordPress is, how it compares to other web platforms, and what its benefits are.


DDoS Attacks Explained: Causes, Effects and How to Protect Your Site
In this post, we’ll explain what DDoS attacks are, explore what might make your site vulnerable, and outline the ways you can reduce their probability and impact.

The Resurrection of PHPUnit RCE Vulnerability
Once a software patch is released, we tend to believe it means “problem solved”. Most of the time, however, this is not actually the case. Fully solving the problem requires all developers to grab the latest patch version and deploy it in their environment.


Why Raising WordPress’ Minimum PHP Version Won’t Make It a Modern PHP Project
At the State of the Word 2018, Matt Mullenweg made a lot of different announcements. Most of them focused on Gutenberg, but a few didn’t. One of those was a proposal by Gary Pendergast to increase WordPress’ minimum PHP version. This announcement received a lot of applause.

Xdebug Update: January 2020
Another month, another monthly update where I explain what happened with Xdebug development in this past month. It will be published on the first Tuesday after the 5th of each month. Patreon supporters will get it earlier, on the first of each month. You can become a patron here to support my work on Xdebug. If you are leading a team or company, then it is also possible to support Xdebug through a subscription.

Tutorials and Talks

How to Install the OpenEMR Medical Software on Ubuntu Server
If you need server software for the medical practice you administer, look no further than the open source OpenEMR.

Migrating to PHPUnit 9
February: that time of year when I write articles like "Help! My tests stopped working." or "The Death Star Version Constraint". In this year's installment I provide guidance on how to migrate from PHPUnit 8 to PHPUnit 9.

How to Connect PHP to MySQL
Do you want to learn how to connect PHP to MySQL and perform different types of database operations? In this article, we'll do just that—we'll discuss MySQL database connectivity in PHP.

Evil Eval() Vol. 2
We have already mentioned the support of PHP’s eval() function a long time ago, but there have been some interesting updates on how the code being passed to eval() is processed! eval is a well-known function of dynamic languages allowing you to execute code at runtime. The dynamic language is usually interpreted and the runtime contains the parser and interpreter already, so implementing such a feature is no rocket science.

How to Configure Magento 2 Varnish in 4 Easy Steps
A cache is an essential component of a web server. With applications like Magento, cache plays an essential role in application performance because it drastically reduces the load on the application and speeds up page response. As a result, the user experience improves significantly.

Zttp Is Coming to Laravel 7
The Zttp Guzzle wrapper package by Adam Wathan will be coming to Laravel 7 as a new Http package. According to the pull request to add this feature, it provides a much nicer syntax for the 90% use case of Guzzle where you just need to POST some JSON to an endpoint.

Laravel Tail Can Now Tail Remote Logs
laravel-tail is one of my favourite packages. When installed in a Laravel app it can be used to tail the log file.

WooCommerce Product Addons: A Detailed Review of the Plugin
Launching an online store is one of the most fundamental steps every business must consider in order to thrive. When choosing an online platform for your business, you must consider several factors including flexibility, usability, extensibility, scalability and more. In this article, I will talk about WooCommerce Product Add-Ons, its features, uses, and why you should have it installed on your ecommerce website.

Validating Default PHP Session ID Values
I recently needed to validate the value created by PHP for its session ID. After a bit of research, I realised that there are two interesting php.ini config settings that relate to this value.

What is a WordPress Plugin?
If you’ve been using WordPress for any time at all, you’ll probably have realized that you can get a lot more from it if you install plugins on your site.


How to Install PHP Composer on Windows 10
PHP Composer (Composer) is a tool that enables the download and installation of various external sources and libraries for projects based on PHP thus it also known as “Dependency Management Tool”.


Build a WhatsApp chatbot with Ruby, Sinatra and Twilio
Chatbots are programs that communicate some way with humans. They can be very basic, responding to key words or phrases, or use something like Twilio Autopilot to take advantage of natural language understanding (NLU) to provide a richer experience and build out more complicated conversations. In this tutorial we are going to see how easy it is to get started building chatbots for WhatsApp using the Twilio API for WhatsApp and the Ruby web framework Sinatra.


Getting Started with PHPUnit in Laravel
PHPUnit is one of the oldest and most well-known unit testing packages for PHP. It is primarily designed for unit testing, which means testing your code in the smallest components possible, but it is also incredibly flexible and can be used for a lot more than just unit testing.
News and Announcements 

Laravel 6.15.1 Released
The Laravel team released v6.15.1 this week to patch an issue with appending rows to artisan tables. In addition to the patch, new whereNull() and whereNotNull() methods were added to the collection class and a new MockStream class was added to the testing foundation.

WordPress 5.4 Beta 2
WordPress 5.4 Beta 2 is now available! This software is still in development, so we don’t recommend running it on a production site. Consider setting up a test site to play with the new version.


Symfony Live - March 26-27th 2020, Paris
Join us at the French SymfonyLive conference in Paris, on March 24th-27th. The whole conference will be spoken in French. Tickets are on sale now.

DrupalCon - 18th-22nd May 2020, Minneapolis
At this annual gathering, you can share your knowledge and skills about Drupal innovation with others to help drive the Drupal project’s growth by becoming a speaker. You can participate in informative sessions, and opt for popular trainings and/or a summit within your industry to master Drupal for improved customer satisfaction. Tickets are on sale now.

php[tek] - May 18th-21st 2020 - Nashville, TN
Welcome to php[tek] 2020 where we combine leadership, expertise, and networking in one event. A relaxing atmosphere for tech leaders and developers to share, learn and grow professionally while also providing you with the knowledge to solve your everyday problems. Join us on the journey to be excited about work again! Early Bird Tickets are on sale now.
 
PHP fwdays'20 is the largest conference in Ukraine for PHP developers, and for those who want to learn about a wide range of new technologies, reveal the latest trends. At PHP fwdays’20 well-known international and Ukrainian PHP experts meet the audience: users and developers, architects, team leads etc. The highest level of the program is guaranteed by several stages of selection and rehearsals for every speaker. Tickets are on sale now.

SymfonyCon December 3rd-5th 2020, Disneyland Paris!
Symfony is proud to organise the 7th edition of the SymfonyCon. This year, we celebrate Symfony’s 15th birthday, already! For this special occasion, we decided to bring the entire community back to France in the beautiful city of Paris in a very magical place… We’re very pleased to invite you to join us at Disneyland® Paris for SymfonyCon 2020! Join us for talks, workshops, discussions and other serious work around Symfony and its environment… And of course, celebrate the community reunion and Symfony’s exceptional birthday! The Call for Papers is open and Early Bird Tickets are on sale now.

Podcasts and Vlogs

PHP Internals News: Episode 40: Syntax Tweaks
In this episode of "PHP Internals News" I chat with Nikita Popov (Twitter, GitHub, Website) about a bunch of smaller RFCs. The RSS feed for this podcast is https://derickrethans.nl/feed-phpinternalsnews.xml, you can download this episode's MP3 file, and it's available on Spotify and iTunes.


Laravel News Podcast LN112 -  Reading Logs, Collision and Open Source Trailers
In this episode of the Laravel News podcast, Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.


The Changelog Podcast #373: Trending up GitHub's Developer Charts
In this episode we’re shining our maintainer spotlight on Ovilia. Hailing from Shanghai, China, Ovilia is an up-and-coming developer who contributes to Apache ECharts, maintains Polyvia, which does very cool low-poly image and video processing, and has a sweet personal website, too.

 Reading and Viewing

People of WordPress: Kori Ashton
In 1998, Kori created her very first HTML website. Her dad was creating websites for a living at the time. She needed a website for her band because she wanted to be a rockstar. Under his training, and with a little bit of self-teaching, she learned how to build a website.

A Week of Symfony #685 (10-16 February 2020)
This week, the upcoming Symfony 5.1 version added an AbstractChoiceLoader to Forms, improved the DX of OptionsResolver allowing to set an info message per option and added bridges in Notifier for Mattermost, RocketChat, Firebase and OvhCloud. In addition, the Symfony 5 book is now available for purchase in PDF in multiple languages and we added new badges in SymfonyConnect.


Optimising nginx and PHP-FPM – from Beginner to Expert to Crazy
In this International PHP Conference session by Arne Blankerts, find out all about optimising nginx and PHP-FPM. From low hanging fruits to crazy, this session will show configuration tips for beginners, tweaks for experts and tricks for the insane.


What’s New in WooCommerce 4.0: New Admin Interface and More!
WooCommerce 4.0 is about to be released and the community is really excited about it. This is the first major release of the 2020 and brings several important improvements to WooCommerce, particularly, a new admin interface.

Trailer – Vue.js: The Documentary
The people at Honeypot have been working on a new Vue.js documentary and today they launched the trailer which features Taylor and scenes from Laracon.

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

librenms
LibreNMS is an autodiscovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.


carbon
A simple PHP API extension for DateTime.


planet4-master-theme
This is the master Wordpress theme for Greenpeace Planet4 project. You can learn more about this project on the planet4 blog.

ce-phoenix
CE Phoenix is a powerful ecommerce shop ready to use out of the box, putting you online and in full control of your business right from the start.

sulu
Core framework that implements the functionality of the Sulu content management system.

phpmd
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

easy-digital-downloads
Selling digital downloads is something that not a single one of the large WordPress ecommerce plugins has ever gotten really right. This plugin aims to fix that.

imagine-vips
This package provides a libvips integration for Imagine. The VIPS image processing system is a very fast, multi-threaded image processing library with low memory needs.

solarium
Solarium is a PHP Solr client library that accurately model Solr concepts.

phar-utils
PHAR file format utilities, for when PHP phars you up.

matomo
Matomo is a full-featured PHP MySQL software program that you download and install on your own webserver.

deepskylog
Visit DeepskyLog and start using a web application to prepare, log, and compare visual astronomical observations.

textpattern
A flexible, elegant, fast and easy-to-use content management system written in PHP.

payplug-php
This is the documentation of PayPlug's PHP library. It is designed to help developers to use PayPlug as payment solution in a simple, yet robust way.

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