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!

May 9, 2019

Welcome to this weeks edition.

The team announced several releases this week - PHP 7.2.18, 7.1.29 and 7.3.5, all available now.

WordPress version 5.2 was also released.

This month the Drupal Association is running a membership campaign to grow their base of support and connect with more of the Drupal ecosystem. Check out the campaign page.

Plus we learn how to create a responsive landing page with WPBakery.

And finally, Cascadia PHP takes place in Portland in September. As well as PHP topics the conference with focus on other important subjects such as mental health care. Blind bird tickets are on sale now.

Enjoy your read,

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.


Considerations to Properly Use Open Source Software Projects
I've been wanting to write this article for a while, but it is a subject complex to approach. Lately I've had some "conflicts" with users in some of the open source software (OSS) projects I maintain, and I have also seen some of the people I follow on Twitter dealing with the same. Because of that I wanted to share my point of view on what should be the attitude and considerations when using OSS.

Symfony on Stackoverflow
There are many ways to contribute to the Symfony community besides submitting Pull Requests to the GitHub-Repository, from reviewing issues to joining discussions on Slack. I particularly enjoy answering questions on Stack Overflow.

Make Our Membership Campaign a Success
This month, we're running a membership campaign to grow our base of support and connect with more of the Drupal ecosystem. We're challenging you to take one step this month to brighten Drupal's future: invite your colleagues and clients to join the Association for Drupal's future.

Tutorials and Talks

How to Create Custom Drupal 8 Tokens Modules
In a previous blog post, I explained the process of creating a form using Drupal 8 Webform Module. This time we will discuss the process of creating Custom Tokens in Drupal 8.

Create a Responsive Landing Page With WPBakery (Visual Composer)
In an earlier tutorial, I introduced you to WPBakery Page Builder's user interface. Today, I'll show you how to use it to create a simple, responsive landing page.

How to Decrease Shopping Cart Abandonment on Your Ecommerce Site
On average, over 70% of your potential customers are abandoning their shopping carts. See how to fix this on your ecommerce site.

PSR-14: Example - Plugin Registration
In Content Management Systems and similar highly-configurable applications, a common pattern is to have a registration mechanism of some sort. Today let's look at how one could easily implement such a mechanism.

423 Locked
The 423 Locked status-code does not appear in the base HTTP specification, but is part of WebDAV specification, which is an extension to HTTP.

Hidden Gems of PHP Packages: Static Analysis Results Baseliner
Have you used PHPStan, Psalm or Easy Coding Standard on a very old project and got 10 000+ errors? Do you wish to skip fixing these 10 000 errors and check new code only? Yes and yes? You'll love SARB.

Implementing Event Sourcing: Aggregates
Recently we've released v2 of laravel-event-projector. The package is probably the easiest way to get started with event sourcing in Laravel.

Testing Streamed Responses in Laravel
Laravel provides a convenient API to generate an HTTP response that forces the user’s browser to download the file for a given URL. Let’s go over a hands-on example of creating and testing a downloadable URL in a Laravel app.

Learn How YOU Can Build a Serverless GraphQL API On Top of a Microservice Architecture with PHP
A few weeks earlier I read a very interesting article from Chris Noring about “Learn how YOU can build a Serverless GraphQL API on top of a Microservice architecture, part 1” which he entirely build with Node.js and Express and I thought to myself: you could do this in PHP and ReactPHP!

Using WordPress as API for Laravel (2)
This is the second post on using the WordPress as API for a Laravel application. We describe how to setup the authentication, so that Laravel can retrieve the posts and pages created in WordPress. We use this setup in a project that was originally created in WordPress. It already had a lot of content, and also for new posts. WordPress was the prefered choice, because of its great features to manage posts, revisions, comments and images. At the same time, Laravel is our prefered choice to build the custom features of the project, because of its great flexibility.

How To Use and Make Multiple Database Connections in Laravel
In this tutorial I will guide you on how to use multiple databases in Laravel.

Short Closures in PHP
Short closures, also called arrow functions, are a way of writing shorter functions in PHP. This notation is useful when passing closures to functions like array_map or array_filter.
News and Announcements
PHP 7.3.5 Release Announcement
The PHP development team announces the immediate availability of PHP 7.3.5. 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.18 Released
The PHP development team announces the immediate availability of PHP 7.2.18. This is a security release which also contains several minor bug fixes. All PHP 7.2 users are encouraged to upgrade to this version.
PHP 7.1.29 Released
The PHP development team announces the immediate availability of PHP 7.1.29. This is a security release. All PHP 7.1 users are encouraged to upgrade to this version.

WordPress 5.2 “Jaco”
Version 5.2 of WordPress, named “Jaco” in honor of renowned and revolutionary jazz bassist Jaco Pastorius, is available for download or update in your WordPress dashboard. New features in this update make it easier than ever to fix your site if something goes wrong.

Italian PHP Conference - May 10-11th 2019, Verona
PHP day is aimed at IT managers, developers and innovators. We'll show new development traits, best-practices and success cases related to quality, revision control, test-driven development, continuous integration and so on. There are also talks about design, project management, agile and various php-related technologies like Zend Framework, Symfony, Laravel, Drupal, WordPress and more. Tickets are on sale now.

Global WordPress Translation Day Set for May 11, 2019
The 4th edition of the Global WordPress Translation Day (GWTD) has been set for Saturday, May 11, 2019. It is a 24-hour virtual and in-person event that brings together new and experienced translators. For more information, check out the #GWTD4 tag on the Polyglots blog and join in on the #polyglots-events Slack channel. 

WordCamp Europe - June 20th-22nd 2019, Berlin
Two days of exciting talks, workshops and memorable workshops. The Call for Instructors is open and tickets are on sale now.

Oscon - July 15-18th 2018, Portland
The 21st Open Source Convention takes place next July. OSCON brings open source community, enterprise and engineering teams together to share best practices, projects that transform business and insight into what you need next. Tickets are on sale now.

Cascadia PHP - September 19th-21st 2019, Portland
Cascadia PHP’s focus is to foster community. We want you & every other participant at our conference to feel included & welcomed. We don't only touch on PHP topics, we also cover important things like Mental Health, the latest JavaScript and CSS techniques, soft skills and more. Blind Bird tickets are on sale now.

ScotlandPHP Conference - 8-9th November 2019, Edinburgh
Join the worldwide PHP community for the fourth ScotlandPHP conference later this year. There will be at least 14 talks presented across 2 tracks, along with 4 workshops, to help you enhance your current skills and find out what's next for PHP and beyond. Blind Bird Tickets are on sale now.

Podcasts and Vlogs

PHP Town Hall Podcast #64: Symfony Round Up
Matt Trask and Amanda Folson are joined by Ryan Weaver to take a look at the landscape of the Symfony Ecosystem. They discuss a few new packages from the Symfony team such as Mailer, HTTP Interface, API Platform as well as discussing the EU’s funding of a 48 hour hackathon that Ryan woke up at 3am in the morning for.

Voices of the ElePHPant - Interview with Derek Binkley
Cal Evans and Derek Binkley talk about Elastic Search and Day Camp 4 Developers.

Full Stack Radio Podcast Episode 114: Sebastian De Deyne - React for Vue Developers
In this episode, Adam talks to Sebastian De Deyne about learning React from the perspective of a Vue developer, and how to translate all of the Vue features you're already comfortable with to React code.

MageTalk Magento Podcast #195 - Solution Specialist Redux
Phillip sits down with Peter Manijak, Joseph Maxwell, Emily Dowd, and Caitlin Mekita and discusses everything about the new Magento 2 Certified Solution Specialist Exam.

The Five-Minute Geek Show Podcast Episode 108
Knowing, and getting, what you want.

Run Geek Radio Podcast Ep 16 - 10 Bad Things About Consulting
Adam Culp (RunGeekRadio) shares 10 bad things about consulting, and why a consulting job might not be for everybody.

PHP Internals News Episode 8: Deprecating Short Open Tags
In this eighth episode of "PHP Internals News" I talk to George Banyard (Twitter, GitHub) about deprecating PHP's short open tags (<?), and getting into PHP internals development.

Laravel News Podcast LN82 - Origin Stories, Guzzler and Mix Aliases
Jake and Michael discuss all the latest Laravel releases, tutorials and happenings in the community.

The Laracasts Snippets Episode 96: The First Draft is Always Crap
The first draft is almost always crap. There's no getting around it. But once you accept this harsh truth, it can be freeing. Not everything you do is gold.

PHP Ugly Podcast #149: The Grind
This week Eric, Thomas and John discuss various topics including Flower on Steam and Packagist.

PHP Web Development Podcast EP#37 - PHP with Ashleigh Simonelli
We have a new series and will be speaking to Ashleigh Simonelli. Ashleigh works for Wi-Q technologies building Mobile ordering apps for hotels and restaurants. We will be discussing her background, how she got into PHP development and some of the reasons she is starting to look into other languages. In the next few weeks we will be discussing PHP, TypeScript, communication protocols, micro services, NestJS etc. 

Beachcast Tech Videos 015 - 10 Bad Things About Consulting, Why It Might Not Be For You
10 bad things about being a consultant, and why a consulting business might not be a good fit for you. Before you start looking into how to become a consultant, Adam Culp of Beachcasts PHP videos shares points from his experience to help you figure out if being a PHP consultant is the right job for you. As you look into how to become a consultant, and before you become a consultant, consider these things carefully.

Reading and Viewing

The Month in WordPress: April 2019
This past month has been filled with anticipation as the community builds up towards a big new release, plans some important events and builds new tools to grow the future of the project.

A Week of Symfony #644 (29 April - 5 May 2019)
This week, Symfony 3.4.27 and 4.2.8 maintenance versions were released. Meanwhile, the upcoming Symfony 4.3 version continued working on polishing its new features, specially those related to timezones.

Security Newsletter Issue 127
A weekly e-mail keeping you up-to-date with security news, with about 10 items in every issue.

php[architect] Magazine May 2019 - Serverless, ReactPHP and Expanding Frontiers
PHP is no longer limited to sitting behind a web server like Apache or NGINX waiting for requests to process. Serverless PHP with AWS’s lambda service is now possible. At the same time, you can also write event-driven, asynchronous servers with ReactPHP. In this issue, we take a look at these new ways to use PHP.

Magento Training: Resources and Solution to Become an Expert
Magento has a complicated structure that requires an expert understanding of PHP, MVC, and OOP to ensure that stores remain operational without issues. Many beginners find it hard to customise their Magento stores because they aren’t properly trained for it. I decided to help all the beginners by preparing a complete guide on Magento educational material that you need to master the popular ecommerce platform.

Video: Getting Started With Event Sourcing in Laravel
The last few months I gave a talk on how to get started with event sourcing at several conferences and user groups. I took the time to record the talk at home. It's now published on YouTube so everybody can enjoy it.

Xdebug Update: April 2019
This is another of the monthly update reports in which 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. More supporters, means that I can dedicate more of my time to improving Xdebug.


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

K2 - the powerful content extension for Joomla!

Manage mailboxes, filter/get/delete emails in PHP.

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project.

Security provides an infrastructure for sophisticated authorisation systems, which makes it possible to easily separate the actual authorisation logic from so called user providers that hold the users credentials.

A simple PHP and MySQL based internet forum that displays the messages in classical threaded view (tree structure).

CRM& Chat& Collaboration system/tool written in PHP, Free Upgrade Forever!

Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative).

LessQL is a lightweight and performant alternative to Object-Relational Mapping for PHP.

A helper to query and format a set of opening hours.

Web based File Manager in single PHP file, manage your files efficiently and easily.

Centreon is a network, system, applicative supervision and monitoring tool.

The Messenger component helps application send and receive messages to/from other applications or via message queues.

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 ©