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!

December 19, 2019

Happy Thursday People! And for those of you celebrating this festive period, Seasons Greetings.

Several release announcements from the PHP development team bring you PHP 7.4.1, 7.3.13 and 7.2.26, all available now.

Joomla 3.9.14 has also been released this week.

DayCamp for Developers takes place tomorrow online, with five different speakers presenting their take on Modern Web Programming.

Plus we bring tips on the best way to fight back against spam bots.

And finally, find out what's been going on with Xdebug development in the past month.

However, wherever or whatever you may be celebrating, Happy Holidays to one and all!

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

PHP Version 7.4 Is Here! Quick Overview Of New Features
The new stable version of PHP 7.4 is here. Released just a couple days ago on November 28th 2019, it introduced quite a few significant changes. They include new functions and syntax updates, which can go a long way to help you write more efficient code. In this article, we’re going to go over the most important new features of PHP 7.4.


WordPress Sliders: When to Use Them and Tips for Good UX
In this article, I'll look at the benefits of sliders with WordPress, and identify when you should use them and when you might not. I'll also look at some alternatives.


5 Ways of Battling Form Spam
Once you’ve created an application sooner or later you are going to get hit with a spam bot. It’s inevitable. On one of my projects the registration form got hit and I ended up with 17,000+ fake users and it was a pain to clean up. As part of the process, I asked on Twitter how other people are fighting bots and I had a huge response with a lot of great ideas. I wanted to share all the ones mentioned so that if you ever get hit you’ll know how to fight back.

Symfony Type Declarations, Return Types and PHPUnit Compatibility
If you follow the Living on the Edge category of this blog, you'll find all the latest and greatest new features of each Symfony version. Big and small features that help you create your projects while having the best possible developer experience. However, this is only part of the development activity needed to create and maintain Symfony. In this blog post we'll mention some changes that required hundreds of hours of work but remained invisible because they are not part of a shiny new feature.

Tutorials and Talks

Building a Food Ordering App in PHP with Laravel and Twilio SMS
In this tutorial, I will teach you how to use Twilio’s Programmable SMS to create an SMS based food ordering service using Laravel. After we’re finished, your users will be able to place orders for food items via SMS.


Decorator in PHP [Design pattern with examples]
Design patterns help solve software problems. The Decorator Pattern will add features to your object a piece of cake.

Add a Live Ajax Search Bar to Your WordPress Website
In this article, I’ll show you how to replace the standard WordPress search bar with a powerful search engine using the Ajax Search Pro plugin. Out of the box, this live search bar will be capable of searching any content type, including WooCommerce content.

Managing Domains
In the previous chapters we looked at the three core building blocks of our domains: DTOs, actions and models. Today we take a breather from the low level technical stuff, and focus on the philosophical side: how do you start using domains, how to identify them, and how to manage them in the long run?

How to Box Symfony App to PHAR Without Killing Yourself
Do you have a Symfony Application like Composer and you want to ship it as a PHAR? Composer is actually pretty simple - just see the Compiler class. But what if you use Symfony Dependency Injection with PSR-4 autodiscovery like Rector does? Well, better be ready for nasty traps.


PHPStan Drupal: Detecting Deprecated Constants and Preparing for PHPStan 0.12 Support
At the beginning of December, Ondřej Mirtes released PHPStan 0.12! 0.12 brought about many changes. However, 🙃, it broke the PHPStan Drupal extension.


Routing in Slim 4
Routing in Slim 4 works pretty much exactly the same as in Slim 3. They are used to map a URL that the browser requests to a specific handler that executes the code for that particular page or API endpoint. You can also attach middleware that will only be run when that route is matched.

Defining a Custom Filter and Sorter for Sculpin Content Types
This blog runs on Sculpin, a static site generator. The generator itself runs on Symfony, which for me makes it easy to extend. However, I find that if you want something special, it can usually be done, but it may take several hours to get it right. In the end though, the solution is often quite elegant.
News and Announcements

PHP 7.4.1 Release Announcement
The PHP development team announces the immediate availability of PHP 7.4.1. This is a security release which also contains several bug fixes. All PHP 7.4 users are encouraged to upgrade to this version.

PHP 7.3.13 Released
The PHP development team announces the immediate availability of PHP 7.3.13. This is a security release which also contains several bug fixes. All PHP 7.3 users are encouraged to upgrade to this version.

PHP 7.2.26 Released
The PHP development team announces the immediate availability of PHP 7.2.26. This is a security release which also contains several minor bug fixes. All PHP 7.2 users are encouraged to upgrade to this version.

WordPress 5.3.1 Security and Maintenance Release
WordPress 5.3.1 is now available! This security and maintenance release features 46 fixes and enhancements. Plus, it adds a number of security fixes.
 
Joomla 3.9.14 Release
Joomla 3.9.14 is now available. This is a security fix release for the 3.x series of Joomla which addresses two security vulnerabilities and contains over 35 bug fixes and improvements.

DayCamp for Developers - December 20th 2019 Online
The web has changed. The tech necessary to build modern web applications is constantly evolving. Busy developers have a tough time keeping up and keeping their existing projects moving forward. We have 5 great speakers presenting on different aspects of Modern Web Programming who will help you stay current. Join us and learn. Tickets are on sale now.

Sunshine PHP Conference - February 6-8th 2020, Miami
The SunshinePHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida from February 6th - 8th, 2020, and you're invited! We'll host some of the best speakers, awesome talk topics, latest technologies and up to date news in PHP. Don't forget our Hack-a-thon and Uncon'ference, as well as a great hallway track! The conference has something for every level of PHP developer. Tickets are on sale now.

Podcasts and Vlogs

Voices of the ElePHPant - Interview with Dana Luther
Join us as host Cal Evans talks to Sunshine PHP 2020 speaker Dana Luther about Feature Flags and Docker.

The Changelog Podcast #370: The Making of GitHub Sponsors
Devon Zuegel is an Open Source Product Manager at GitHub. She’s also one of the key people responsible for making GitHub Sponsors a thing. We talk with Devon about how she came to GitHub to develop GitHub Sponsors, the months of research she did to learn how to best solve the sustainability problem of open source, why GitHub is now addressing this issue, the various ways and models of addressing maintainers’ financial needs, and Devon also shared what’s in store for the future of GitHub Sponsors.


Full Stack Radio Podcast Episode 130: David Khourshid - Building Better UI Components with State Machines
In this episode, Adam talks to David Khourshid about using state machines to build UI components that are simpler and more resilient to bugs.


Laravel News Podcast LN108 - Giveaways, Statamic v3 and 25 Years of PHP
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.


The Laracasts Snippets Episode 114 - Thinking About Types
I've thought quite a bit about types in the last year or two. I know - borrring - but I find it interesting to observe how intensely talented developers can disagree with one another on this particular issue.


PHP Ugly Podcast #171: RoughCut
This week Eric, Thomas and John discuss various topics including the JetBrains: "New Product Announcement".

Reading and Viewing

Xdebug Update: November 2019
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.

PHP Performance Trivia
Nikita Popov discusses some low level performance optimisations in PHP.


A Week of Symfony #676 (9-15 December 2019)
This week, the upcoming Symfony 5.1 version added MongoDB support for the Lock component, exception pages enabled the "dark theme" and the MicroKernelTrait was improved to make it easier to use and configure.


Video: Using Tags And Segments in Mailcoach
My team and I are currently building Mailcoach, a self-hosted solution to easily send out newsletters and email campaigns. In this video, I demonstrate how email lists can be segmented using tags.


State of the Word: The Story of the Slides
During the State of the Word at WordCamp US 2019, Matt Mullenweg shared that Gutenberg was used to create his slides and the presentation was powered by the Slides plugin. Using WordPress to power a slide deck isn’t an obvious choice, so we wanted to showcase the process and give some tips for making slide layouts using Gutenberg.

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

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


laravel-queue-rabbitmq
RabbitMQ driver for Laravel Queue which supports Laravel Horizon.


ccxt
A PHP cryptocurrency trading library with support for more than 110 bitcoin/altcoin exchanges.


wp-gistpen
A self-hosted alternative to putting your code snippets on Gist.


rubix-ml
A high-level machine learning and deep learning library for the PHP language.

typesetter
Open source CMS written in PHP focused on ease of use with true WYSIWYG editing and flat-file storage.

zentaopms
Zentao is an agile(scrum) project management system/tool, Free Upgrade Forever!​


fastsitephp
FastSitePHP has been designed for fast performance, coding flexibility, long term stability, ease of use, and a better overall development experience.


openmr
OpenEMR is the most popular open source electronic health records and medical practice management solution.


browser.php
This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string.


pastebin-php
A simple pastebin implement in php.


wp-phpmailer
Provides a clean and simple way to configure the WordPress-bundled PHPMailer library, allowing you to quickly get started sending mail through a local or cloud based service of your choice.

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