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!

July 26, 2018

Welcome to the latest phpweekly.com.

This week the php.net team has announced several releases - PHP 7.1.20, 5.6.37, 7.0.31 and 7.2.8, all available immediately, and 7.3.0 alpha 4 which is available now for testing.

Also this week, if you are interested in taking your WordPress development skills to the next level sign up for this short course - Coding Advanced WordPress Theme Templates.

The 5th PHP South Africa conference takes place this September in Johannesburg. Early Bird tickets have now gone on sale.

Plus in this weeks North Meets South web podcast there's lot of discussion about the upcoming secret Laravel project, Nova.

And finally, for WordPress users security has become a topic of huge importance. Here are seven WordPress security plugins to help protect your site.

Have a great weekend,

Cheers
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.

Articles

Features And The Future
Drupal.org has been in existence since 2001. That's a long time for a website to serve an ever changing community! We're doing this work thanks to the support of our members, supporters, and partners. As time goes on needs change, technology evolves, and features are deployed to improve the experiences of site visitors.

12 Best PHP Based Open Source Ecommerce Applications to Build Online Store
In the last few years, PHP based ecommerce platforms have completely revolutionised the online shopping industry. The reason? These platforms enable you to start your ecommerce store even if you don’t have any experience with ecommerce development. Just point, click, drag and voila, your store is ready to launch. I have listed 12 of the most popular PHP based ecommerce platforms that you can use to start your online business. Have a go through this list and select the platform that best suits your need.

Top 7 User-Rated WordPress Security Plugins
WordPress security has become a topic of huge importance for every WordPress user. According to WPBeginner, Google blacklists around 50,000 WordPress websites for phishing and 20,000 for malware every week. To help you keep your WordPress website secure, we’ve compiled seven WordPress security plugins that will help you protect your site.

Hooray: Google App Engine finally ready for Python 3 (and PHP 7.2)
Google App Engine will support two additional programming language runtimes in its standard environment in the next 30 days: Python 3.7 and PHP 7.2.

Tutorials and Talks

Understanding Design Patterns - Adapter
Converts the interface of a class into another interface the clients expect. Adapter lets class work together that couldn’t otherwise because of incompatible interfaces.

Extending Laravel’s Collection With Macros
Collections are fantastic features of the framework. With the functionality that the collection offers, we can easily handle any need that a dataset requires. But still, in some cases, we may extend with custom functionality.

Set Up Routing in PHP Applications Using the Symfony Routing Component
Today, we'll go through the Symfony Routing component, which allows you to set up routing in your PHP applications.

Bye Disqus, Hello Webmention!
Since 2013 I’ve used Disqus on this website for comments. Over the years Disqus has been getting ‘fatter’, so I’ve been thinking of switching to something new. Then on Friday, I saw a tweet which got me inspired.

How Do MVC Routers Work
A MVC Router class or a Dispatcher inspects the URL of an HTTP request and attempts to match individual URL components to a Controller and a method defined in that controller, passing along any arguments to the method defined. Below is shown a simple PHP router class which gives a general overview of how a router works.

Debug PHP In VSCode With XDebug
VSCode is great, the fact that it can work with a vast amount of languages help’s it cater for everyone’s taste. One special tool that comes with VSCode is the Debug feature and when configured correctly, is a dream to use. If you’ve previously worked with Visual Studio 2017 for example, you will know what I mean. This guide will go through how to set-up the PHP xDebug module to work in tandem with VSCode, completely enabling full-on functional debugging across your application.

Legacy Code is 3rd Party Code
Within the TDD community there’s an advice saying that we shouldn’t mock types we don’t own. I believe it is good advice and do my best to follow it. Of course, there are people who say that we shouldn’t mock in the first place. Whichever TDD camp you’re in I think this “don’t mock what you don’t own” advice has an even better advice hidden in it. An advice that people often overlook because they see the word “mock” in it and go full berserk.

Securing Credentials for PHP with Docker
In a previous post I covered one method you can use to secure the credentials in your PHP application. In that article I provided an example specific to the use of Apache and its envvars handling to read in values and pass them along to the waiting PHP process as $_ENV variables. This in combination with the psecio/secure_dotenv library allowed you to pass along an encryption key that could be used to decrypt values from the application's .env file.

Notes on GraphQL
The last week has been my first foray into GraphQL, using the GitHub GraphQL API endpoints. I now have OpinionsTM. The promise is fantastic: query for everything you need, but nothing more. Get it all in one go. But the reality is somewhat... different.

How to Make Github and Travis Split Monorepo to Multiple Git Repositories for You
Do you use a monorepo? Then you know How to maintain multiple Git repositories with ease. If you're not there yet, you may wonder How to Merge 15 Repositories to 1 Monorepo and Keep their Git History. Are you and your monorepo ready? Today we'll focus on fast, secured and outsourced monorepo auto split - all that under 10 minutes.

Laravel Handlers
Laravel Handlers is a package by Ilya Sakovich for creating single-action request handlers. The idea of a request handler is a single-action controller which means that a unique class handles each request.

203 Non-Authoritative Information
203 Non-Authoritative Information is a status-code that might be used by a HTTP proxy. A HTTP Proxy sits in the middle between a client and a server (origin). In some cases a HTTP Proxy might make changes to the response before it reaches the client.
News and Announcements

PHP 7.1.20 Released
The PHP development team announces the immediate availability of PHP 7.1.20. This is a security release. Several security bugs have been fixed in this release. All PHP 7.1 users are encouraged to upgrade to this version.

PHP 5.6.37 Released
The PHP development team announces the immediate availability of PHP 5.6.37. This is a security release. Several security bugs have been fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.

PHP 7.0.31 Released
The PHP development team announces the immediate availability of PHP 7.0.31. This is a security release. Several security bugs have been fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.

PHP 7.2.8 Released
The PHP development team announces the immediate availability of PHP 7.2.8. 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.3.0alpha4 Released
The PHP team is glad to announce the release of the fourth PHP 7.3.0 version, PHP 7.3.0alpha4. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki. Please carefully test this version and report any issues found in the bug reporting system.

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.

PHP South Africa - 26-28th September 2018, Johannesburg
An annual PHP conference in South Africa. We try to get the best of the best to share knowledge. So far we have succeeded. This year is our 5th birthday! To celebrate the occasion, we are going all out! Early Bird 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. Early Bird tickets are on sale now.

Podcasts

Laravel Podcast Episode 15 - Interview: Freek Van der Herten
An interview with Freek Van der Herten, lead developer at Spatie.

PHP Round Table Podcast 75: Web Content Accessibility Guidelines (WCAG) 2.1
New accessibility guidelines are coming down the pipe that will impact our apps with the new WCAG 2.1. We chat about what the guidelines are and how we can start preparing our apps for them.

The Laracasts Snippets Episode 85: Developer Fitness
Today I completed a year long project that I'd like to talk to you about.

North Meets South Web Podcast Episode 46: Nova, Bootleg Live Streams, and Static Site Hosting
Michael and Jake return just in time to talk about the upcoming secret Laravel project, Nova, Laracon US 2018, static site hosting, and more!

Post Status Draft Podcast - Why The Makers of Ninja Forms Are Getting Into eCommerce
In this episode, I talk with James and Kevin - cofounders of the Ninja Forms product - to discuss why their next leg of their business is in the competitive landscape of eCommerce.

PHP Web Development Podcast Ep #8 - What is TDD & BDD?
Continuing from last week, we will be talking about TDD - Test Driven Development  & BDD - Behaviour Driven Development. What  does TDD & BDD mean and what is the importance of it?

Reading and Viewing

PHP Detroit Tutorial: Hit The Ground Running with Laravel – Set Up
I am giving a four hour Laravel tutorial before the main PHP Detroit conference. To fully participate in the exercises you’ll want to follow the directions below. Please reach out to me if you have any issues.

New Course: Coding Advanced WordPress Theme Templates
Our new short course is ideal for you if you want to take your WordPress development skills to the next level. Try out Coding Advanced WordPress Theme Templates, or read on and watch the intro video below for more details.

Monitoring Magento Jobs and Crons
About a month ago a client of mine was lamenting the fact that they didn’t have insight into what was going on with their cron jobs. So I did what any idiot would do and built out a service that does just that. Watch the videos here.

Symfony Website Updates #3
Following the new features we've added in May in the Events & Meetups section, we're pleased to introduce a brand new section within the main website menu: Symfony Events. This will enable you to find a Symfony event near you more easily.

Our PHP Versions Popularity Research - And Unexpected Results
The hosting industry is linked to PHP as more than 80% of all the websites on the Internet use this programming language. This affects the development of any hosting software, including control panels like Plesk. We make a product for server management automation, creating and configuring websites and applications. And therefore, for using PHP. One of our key tasks at Plesk is to continue support of outdated PHP versions.

Jobs

*Sr. Backend Engineer, New York, NY*
GoReadyMade is a food tech start-up located in New York City. We are backed by a larger, well-established food industry leader.  We're offering an amazing opportunity for experienced PHP Engineers to actually learn Golang in a live environment.
This is a win, win for any PHP Engineer that wants to expand their knowledge base, become more marketable to employers, and ultimately upgrade their career opportunities.


*Senior Web Developer, Bristol, UK*
Are you looking to make the step up to your next PHP role in a one of the fastest growing agencies in the South West? Ready to work on projects which utilise the latest tools at the very forefront of web tech? Can you imagine being part of a well organised, efficient team embracing the latest working techniques and best practices? Then apply to be our next Senior Web Developer at Mr B & Friends and start working with Laravel, advanced WordPress builds, and JavaScript SPAs.



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

msphpsql
The Microsoft Drivers for PHP for Microsoft SQL Server are PHP extensions that allow for the reading and writing of SQL Server data from within PHP scripts.

zend-problem-details
This library provides a factory for generating Problem Details responses, error handling middleware for automatically generating Problem Details responses from errors and exceptions, and custom exception types for PSR-7 applications.

yclas
Yclas Self Hosted is a powerful script that can transform any domain into a fully customisable classifieds site within a few seconds.

datatables
PHP Library to handle server-side processing for Datatables, in a fast and simple way.

mybb
MyBB is a free and open source, community-based forum software project.

jikan
Jikan is a PHP API with easy-to-use syntax that scrapes and parses requests from MyAnimeList.net.

libremail
IMAP syncing engine, JavaScript-free email client, and a Kanban-style email client.

familytree
FamilyTree is simple PHP Application targetting the collection of family data which can viewed with beautiful visualisation.

cakephp-tinyauth
CakePHP TinyAuth plugin for an easy and fast user authentication and authorisation. Single or multi role. DB or config file based.

larastan
Larastan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.

phpdish
PHPDish is a powerful forum system written in PHP. It is based on the Symfony PHP Framework.

framework-bundle
The FrameworkBundle defines the main framework configuration, from sessions and translations to forms, validation, routing and more.

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