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 10, 2018

Welcome to the latest @phpweekly newsletter.

With the 30 Days of Testing challenge underway, second on the list was about reading and sharing E-commerce testing articles. Learn all about WooCommerce here.

Also this week, with Drupal 8 maturing and Drupal ever evolving, the Drupal Association Board continues to evolve with it. 
With this is mind there are two At-large positions on the Association Board of Directors. Self nominations from 1st-11th June, 2018, with voting taking place in July.

We have the second part of Lessons from Laracasts, a collection of tips taken from the Let's Build A Forum with Laravel and TDD tutorial. 

Plus Cal Evans interviewed Nils Aldermann and Jordi Boggiano in the latest Voices of the ElePHPant podcast.

And finally, the first Laracon Australia takes place in October, in Sydney. Speakers already confirmed include Matt Stauffer and the frameworks author Taylor Otwell. Get your early bird tickets now.

Enjoy your read, 

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.


Testing Your E-commerce PHP Application
I'm participating (as much as possible) in the #30daysoftesting challenge organised by Ministry of Testing and SauceLabs. If you're interested, read the full 30 Days of E-Commerce Testing article and join this fun and educational challenge. The 2nd challenge on the list was to read and share interesting blog articles about E-commerce testing. Since I'm working as a PHP professional I thought it would be great if I oriented my focus on testing PHP based E-commerce platforms. I picked WooCommerce as it's an easy to install and use E-commerce solution. For Magento, PrestaShop and others I've added useful links at the bottom of this article. 

Programming = Climbing a Huge Mountain
Let's take a break after 2 long code-posts from last week and enjoy bit of philosophy. I apply the mountain climber in programming for last 2 years and it really helps me to overcome difficult spots. Today we'll climb together.

Drupal Association Board Elections 2018
Now that Drupal 8 is maturing, it is an exciting time to be on the Drupal Association Board. With Drupal always evolving, the Association must evolve with it so we can continue providing the right kind of support. And, it is the Drupal Association Board who develops the Association’s strategic direction by engaging in discussions around a number of strategic topics throughout their term. As a community member, you can be part of this important process by becoming an At-large Board Member.

A Good Issue
Maintaining a number of open source projects comes with a number of issues. Reporting a good issue will result in a more engaged approach from project maintainers. Don't forget: there's a human behind every project.

Tutorials and Talks

Understanding Design Patterns - Command
Encapsulates a request as an object, thereby letting you parameterise other objects with different requests, queue or log requests, and support undoable operations.

Querying and Eager Loading Complex Relations in Laravel
Laravel is a PHP framework that uses Eloquent, a powerful and amazing ORM that allows you to do complex SQL queries in a very easy way. But sometimes you need more, and here I’m gonna give you an interesting tip that can bring you a lot of flexibility.

Notifications in Laravel
In this article, we're going to explore the notification system in the Laravel web framework. The notification system in Laravel allows you to send notifications to users over different channels. Today, we'll discuss how you can send notifications over the mail channel.

Introducing New Symfony Polyfills for PHP 7.3 and Ctype
Symfony Polyfills provide some features from PHP core and PHP extensions implemented as PHP 5.3 code, so you can use them in your applications regardless of the PHP version being run on your system.

How to Create a PayPal Donate Button for Your WordPress Site
From non-profit organisations to churches, and political campaigns to bloggers who need early support, several situations warrant asking for donations. Several WordPress plugins are available for collecting donations, but more often than not all you need is a simple PayPal Donate button.

Sending Email Asynchronously With ReactPHP Child Processes
In PHP the most of libraries and native functions are blocking and thus they block an event-loop. For example, each time we make a database query with PDO, or check a file with file_exists() our asynchronous application is being blocked and waits. Things often become challenging when we want to integrate some synchronous code in an asynchronous application. This problem can be solved in two ways.

PHP Application Logging with Amazon CloudWatch Logs and Monolog
Logging and information debugging can be approached from a multitude of different angles. Whether you use an application framework or coding from scratch it’s always comforting to have familiar components and tools across different projects. In our examples today, I am going to enable Amazon CloudWatch Logs logging with a PHP application.

Speed Up Laravel on Top of Swoole
Swoole is a production-grade async programming framework for PHP. It is a PHP extension written in pure C language, which enables PHP developers to write high-performance, scalable, concurrent TCP, UDP, Unix socket, HTTP, WebSocket services in PHP without too much knowledge of the non-blocking I/O programming and low-level Linux kernel. You can think of Swoole as something like NodeJS but for PHP, with higher performance.

How to Install Laravel on Amazon Cloud (AWS EC2)
Laravel is a popular framework that has become the standard development toolkit for many PHP projects. In many cases, developers prefer to develop their project in Laravel because of the many features and tools that ensure streamlined development experience.

How Laravel Broadcasting Works
Today, we are going to explore the concept of broadcasting in the Laravel web framework. It allows you to send notifications to the client side when something happens on the server side. In this article, we are going to use the third-party Pusher library to send notifications to the client side.

[Entry] Appointment Scheduler
This scheduler allows you to create appointments to be scheduled in different rooms. You can create rooms, create appointments to be added directly to the scheduler, move appointments between rooms and time slots on the scheduler, schedule appointments without a time to be added later (drag and drop them on).
News and Announcements

Joomla 3.9 and Joomla 3.10
As you most probably know, the General Data Protection Regulation (GDPR) will enter into force on 25 May, 2018. Joomla, listening to its users, intends to integrate a Privacy Tool Suite in the Joomla CMS to facilitate the compliance of your sites and to make developers’ life easier to get their extensions compliant.

CakePHP Conference - June 14-17th 2018, Nashville
CakeFest is organised for developers, managers and interested newcomers alike. Bringing a world of unique skill and talent together in a celebration and learning environment around the worlds most popular PHP framework. Celebrating over eleven years of success in the PHP and web development community, CakePHP’s 2018 conference will be an event not to miss. Tickets are on sale now.

Mid-Atlantic Developer Conference - July 13-14th 2018, Baltimore
Mid-Atlantic Dev Con is a polyglot event, designed to bring together programmers from the region, regardless of their choice of platform, for two full days of learning from each other and building a stronger regional community. Early Bird tickets sales end in two days.

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. Tickets are on sale now.

ZendCon - 15-17th October 2018, Las Vegas
ZendCon & OpenEnterprise is the premier technology conference designed to teach and share practical experiences from the front lines of enterprise PHP and open source environments. Focused on solving real-world, enterprise-class problems, technical business leaders, strategists, and developers will assemble to discuss case studies and best practices around the application of PHP and open source to transform business. The Call for papers is now open, and Blind Bird tickets are on sale now.

Laracon AU - October 18-19th 2018, Sydney
Two days of learning and networking with the Laravel community in Australia for the first time. The two day conference will see us welcome some of the most prominent Laravel community members including Matt Stauffer, Adam Wathan, and the framework’s author Taylor Otwell as speakers alongside a host of terrific local speaking talent. Early Bird Tickets are on sale now.

Nomad PHP US - June 21st 2018 20:00 CDT
Win Big, Cache Out. Presented by Ashley Hutson. Caching can be a very complicated and loaded topic in Computer Science. There are many factors to consider from query caching, results caching, SQL caching, partial content caching, and full page caching. Look forward to finding out typically when, what, and where you should be caching and the best practices in implementing and how in PHP with various caching technologies(Redis, Memcached, and cloud based solutions). Always remember that you can over cache, so it is important to not go overboard as well.

Nomad PHP EU - June 21st 2018 20:00 CEST
Solving Problems Using Trees. Presented by Tomasz Kowalczyk. The tree is one of the most important data structures available in Computer Science. If you know how to describe a problem using trees, you can significantly improve the speed and quality of the developed solution. In this talk, I’d like to show what kind of problems can be solved with trees and show examples how I did that in several non-trivial situations.


Voices of the ElePHPant - Interview with Nils Adermann and Jordi Boggiano
In this episode, Cal talks with Nils Adermann and Jordi Boggiano about composer and packagist.

Three Devs and a Maybe Podcast - Site Reliability Engineering with Niall Murphy
In this week’s episode we are lucky to be joined by Niall Murphy to discuss the discipline of Site Reliability Engineering.

MageTalk Magento Podcast #167 - The Left Hand of Agreement / The Right Hand of Discord
What happens when Phillip forgets his headphones? Terrible audio quality, that's what! Recorded 30 days before Imagine 2018 and never released, this episode held up production due to its never-ending issues and basically almost never saw the light of day.

The Laracasts Snippets Episode 83: Stream of Consciousness
While most episodes generally focus on one central idea, today is more a stream of consciousness. We'll discuss everything from the struggles of running a business, to Metroid, to social media addiction, to Cobra Kai. Grab a drink and let's hang out.

PHP Ugly Podcast #103: The Longhorn Peace Summit
Topics include the Coinbase Blog and photos from LonghornPHP.

Post Status Draft Podcast - All About You(r Privacy)
In this episode, the two Brians discuss the current conversations and controversy surrounding data collection and visitor privacy on the web.

Reading and Viewing

Vienna PHP Meetup – Blackfire Talk
This blog post as been written by Emir Beganović, an active community member and speaker at PHP meetups. He reached out to us for some support on making a great meetup talk about Blackfire.

Bizarro Devs
A curated newsletter with all the cool, wacky and the obscure tech news delivered on a weekly basis (you’ll get it on Tuesdays). It’s free and will help you earn the most Slack reactions in your office. See the latest issue here, featuring!

Cloudways Interview - Zvonimir Burić Talks About Magento Development Workflows
Learn what Zvonimir Burić, Technical Lead & Magento Developer, has to say about the future of Magento 1 and 2, ecommerce trends, and Magento development principles and workflows in our one-to-one session.

What's New in Laravel 5.6
Laravel 5.6 is upon us! While it's true that this release isn't quite as flashy, there are still a number of incredibly useful new additions and updates. Let's review them together.

Exakat PHP Index of Coding (May 2018)
Not using @ is the poster child of good practices. It’s also looked upon, as an impossible goal. Did you know that the @ operator is only merely used by 50% of PHP applications ? Same for parenthesis with include (and co) : don’t use them, like 50% of the developpers. This is how the Exakat PHP Index of coding was born.

Lessons From Laracasts, Part 2
This is part 2 of my collection of tips I've taken from Let's Build a Forum with Laravel and TDD, the mega-tutorial (102 lessons) by Jeffrey Way on his Laracasts site. Part 1 is here. This post contains 51 tips, covering lessons 43-102.


German Speaking PHP Developer (m/f)
You’re proud to call yourself a nerd and consider programming in PHP to be more than just a job? You’d like to help us make our shop better and faster while simultaneously providing our customers with an unparalleled and flawless shopping experience? If you feel like this describes you and also happen to have a weakness for new technology, you’re just the person we’re looking for!

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

A PHP 5.5+ internationalisation library, powered by CLDR data.

PHP flat-file database to store data with JSON.

The place where PHP meets Functional Programming.

The Auth0 PHP SDK provides straight-forward and tested methods for accessing Authentication and Management API endpoints.

Dephpugger (read depugger) is an open source lib to make a debug in php direct in terminal, without necessary configure an IDE.

Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

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

A multi application mode php framework, support web page, rest api, jsonrpc, grpc applications.

Interact with the official Fortnite API using PHP.

Jedy CMS Multi-language is created with Symfony 3.

PhpAudit is a tool for creating and maintaining audit tables and triggers for creating audit trails of data changes in MySQL databases.

A super-sexy voice interface for the Plex HTPC.

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 ©