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!

April 5, 2018

Welcome back PHP fans.

This week the PHP development team has announced several releases; PHP 7.1.16, PHP 7.2.4, PHP 7.0.29 and PHP 5.6.35, all available immediately.

Also this week we take a look at what happened in the world of WordPress during the month of March.

The latest edition of the php[architect] magazine is out now, discussing code testing.

And finally, the China PHP Conference takes place over two days next month in Shaghai. Tickets are on sale now.

Enjoy your weekend,

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.


PHP Or Python - Which Language Should You Learn In 2018?
Nowadays, if you are a newbie who knows little or nothing about the world of programming, there are dozens of alternatives available to learn to program from scratch. It is a huge world. However, if we enter the most specific niche of back-end web development, the main alternatives are PHP and Python.

Time to Move Forward From PHP 7.0
Some time ago PHP 7.0 introduced some great performance gains for all web applications including WordPress. However, since that time two newer PHP versions have been launched - 7.1 and 7.2. It is now time to move forward to one of the newer versions.

Introducing the Symfony 4 Certification
Symfony 4 was released in November 2017, alongside new best practices and Symfony Flex, the new way to manage Symfony applications. This new version is so different from Symfony 3 that we've decided to introduce a new Symfony 4 certification program.

What is Enterprise Ready?
First, let me clarify, this post is not about Star Trek and the starship we’ve all come to know. 😉 Further, this post is not to attack any one group, and rather is my (perhaps poor) attempt to help others gain some visibility into what large companies (Enterprises) do, or perhaps should, look for in software prior to using it.

Tutorials and Talks

Build a Newsletter Chatbot in PHP - Part 3
In part one and two we created a Facebook Messenger chatbot that let your users subscribe to your newsletter. We stored that information in the database and sent out our first newsletter. In the last third part, we integrate this bot to a website and write our first tests.

Basic Eloquent Search Techniques
When our app is smaller – for example at the beginning – it’s enough to apply small, handmade solutions. It’s true for database searching as well. It’s not necessary to pull in a package instantly. Most of the time we can use some simple techniques to perform searches in Eloquent.

New in Coding Standard 4: Long Line Breaks Automated and 3 Legacy Prevention Fixers
Legacy code prevention, lines automated and clear naming of classes in huge projects. That all is coming to Coding Standard 4 (still in alpha). Are you curious what work will now these 4 news fixers handle for you? Look inside.

How to Fix the WordPress Not Sending Emails Issue
A very common issue we see among website owners is WordPress not sending emails correctly or at all. Follow the steps below to get email up and running on your WordPress site. This should be applicable for almost any WordPress hosting provider, as well as WooCommerce not sending emails.

Update Your Blade Templates to Use the Null Coalesce Operator
In the next major release, Laravel 5.7 removes the Blade “or” Operator. Andrew Brown submitted a PR for Laravel 5.7 to Remove Blade Defaults from the framework, due to the new Null Coalesce operator available in PHP 7.

Domain-Driven Design, part 8 - Services and Factories
This article is a reaction to readers' confusion about services. We'll cover a domain service and domain factory in this article and when to use them and when not to.

Modelling Quantities - An Exercise in Designing Value Objects
I recently came across two interesting methods that were part of a bigger class that I had to redesign.

How to Profile and Debug MySQL Queries For Speed
Most MySQL applications need profiling for speed enhancements at one time or other. I’ve developed several web applications in the past wherein MySQL queries were a major bottleneck in the application performance. In the past however there were no easy tools to analyse SQL queries in a running application and we programmers had to depend on some makeshift solutions to debug SQL queries. Now, however there are some nice free tools which can help you profile MySQL application queries easily.

Learn to Create an RSS Feed from Scratch in Laravel
Creating an RSS feed in Laravel isn’t the most challenging task, but using a package and a few tips can help you create an RSS feed relatively quick.
News and Announcements

PHP 7.1.16 Released
The PHP development team announces the immediate availability of PHP 7.1.16. This is a security fix release, containing one security fix and many bug fixes. All PHP 7.1 users are encouraged to upgrade to this version.

PHP 5.6.35 Released
The PHP development team announces the immediate availability of PHP 5.6.35. This is a security release. One security bug was fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.

PHP 7.2.4 Released
The PHP development team announces the immediate availability of PHP 7.2.4. This is a security release with also contains several minor bug fixes.

PHP 7.0.29 Released
The PHP development team announces the immediate availability of PHP 7.0.29. This is a security release. One security bug was fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.

Laravel 5.6.14 Released
Two Laravel releases have shipped this week: Laravel 5.6.13, released Monday, and Laravel 5.6.14, released on Wednesday. The highlight of these releases for me is the new view:cache artisan command and a few new higher order proxies on the collection class.

Longhorn PHP Conference - 19th-21st April 2018, Austin Texas
Longhorn PHP is a 3-day conference in Austin, Texas to help PHP developers level up their craft and connect with the larger PHP community. Our main goal as a conference is to equip attendees to be better developers. If you work with developers or alongside developers, we'll showcase tools and techniques to level up your ability to solve the problems you face every day. Tickets are on sale now.

SymfonyLive Phantasialand - May 2nd-4th 2018, Phantasialand in Brühl
There will be a SymfonyLive again in 2018 - but in May we will not meet as usual in Cologne, but a little further south: in the Phantasialand in Brühl! As always, there will be two days of challenging workshops in Phantasialand on May 2nd and 3rd. On the conference day itself, a track awaits you with talks about Symfony and PHP. The Phantasialand offers us a new environment in which we can hold both the workshops and the conference. In addition, the conference ticket gives you unrestricted access to the park both on the workshop days and in the breaks of the conference! Tickets are on sale now.

China PHP Conference - May 19-20th 2018, Shanghai
We will be hosting a 2-day event filled with high quality, technical sessions about PHP Core, PHP High Performance, PHP Engineering, AI and Blockchain more. Don’t miss out on 2-great days sessions, delicious food, fantastic shows and countless networking opportunities to engage with speakers and delegates. Tickets are on sale now.

PHP Serbia Conference - May 25-27th 2018, Belgrade
PHP Serbia Conference delivers high-value technical content about PHP and related web technologies, architecture, best practices and testing. It offers two days of amazing talks by some of the most prominent experts and professionals in the PHP world in a comfortable and professional setting. Early Bird tickets are on sale now.

Laracon EU - 29-31st August 2018, Amsterdam
Laracon EU is a unique international Laravel event with over 750 attendees. The conference has multiple tracks and is focusing on in-depth technical talks. Come learn about the state of the industry while networking with like-minded and diversely experienced developers. Early Bird tickets are on sale now.


Full Stack Radio Podcast Episode 85: Frank de Jonge - Event Sourcing for Beginners
In this episode, Adam talks to Frank de Jonge, author of the EventSauce library, about what event sourcing is, how it works, and what it looks like to use it to model some practical real-world problems.

Magetalk Magento Podcast #165 -  "How Dare You"
"Why is Magento Enterprise so expensive?" Kalen and Phillip argue the finer points of a controversial topic. Kalen coins a catch-phrase, and Phillip forgets a real microphone and his beard mucks up the audio for the entire episode.

Laravel News Podcast LN60: Laravel Releases, Cookbooks, and Signed Routes
Jake and Michael return to discuss the latest Laravel releases, community projects, and upcoming changes.

The Laracasts Snippets Episode 82: Choose The Boring Path
I've begun to find that, in so many cases, the basic, boring path - for learning a skill or achieving some result - ends up being the correct one. It's not the fancy twelve-point program that costs $899 to unlock. Nope, not even close.

PHP Ugly Podcast #100: PHP Xing
Topics include Zuckerberg's Facebook stock selling.

php[podcast] Episode 8 - Long Running PHP
Our hosts, Eric van Johnson and John Congdon look at Long Running PHP the March 2018 issue of php[architect] magazine. Share your thoughts on the topics covered and leave a comment below.

Post Status Draft Podcast - Marketing and Positioning WordPress Products
This week BK and BR discuss a number of different aspects surrounding marketing and selling WordPress products and services.

Reading and Viewing

Lessons From Laracasts, Part 1
Let's Build A Forum With Laravel and TDD is a mega-tutorial (102 lessons) by Jeffrey Way on his Laracasts site. It's a massive, time-intensive beast that contains lots of useful info, and not least gives the opportunity to watch someone build a fairly complex website from scratch.

Implementation Guide on Headless and Decoupled CMS
The rapid evolution of diverse end-user clients and applications has given rise to a dizzying array of digital channels to support. Download this ebook on headless and decoupled CMS.

The Month in WordPress: March 2018
With a significant new milestone and some great improvements to WordPress as a platform, this month has been an important one for the project. Read on to find out more about what happened during the month of March.

php[architect] Magazine April 2018 - Testing in Practice
You can get pretty far without automated testing of your code. I should know, I was slow in adopting it as part of my day to day workflow. The truth is, automated testing ends up speeding up your workflow and its an investment. When you can have a computer, which is built to do routine and repetitive tasks, go through a test suite of dozens to hundreds of tests, you’ll know if your code works and, just as important, does not introduce any unwanted side effects. In this issue, I’ve collected articles to improve your automated testing.


LaraTalent - Companies apply to YOU
LaraTalent is a reverse job board. We find the best PHP developers and showcase them to companies looking to hire the best talent.

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

This plugin adds an entry to your /etc/hosts file on the host system.

Performant pure-PHP AMQP (RabbitMQ) sync/async (ReactPHP) library.

Implementation of the Token Bucket algorithm in PHP.

This project backports features found in the latest PHP versions and provides compatibility layers for some extensions and functions. It is intended to be used when portability across PHP versions and extensions is desired.

A complete network graphing solution designed to harness the power of RRDTools data storage and graphing functionality. 

Smart database layer for PHP.

PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc).

A pusher bridge for Laravel.

The Drupal Console is a CLI tool to generate boilerplate code, interact and debug Drupal 8.

Cloudinary is a cloud service that offers a solution to a web application's entire image management pipeline.

A simple framework for quickly building PHP projects.

Convention based routing for PHP based on Symfony components.

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 ©