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!

June 21, 2018

Welcome to the latest @phpweekly news.
Voting takes place next month on the nominated candidates for the Drupal Association Board. Check out each candidate profile before you make a decision on who gets your vote.
Also this week we take a look at the Auth0 Service, allowing you to set up authentication and authorisation features for your apps.
php[world] has been announced for November this year in Washington, bringing together several frameworks including Magento, WordPress and Laravel. The Call for Papers is now open.
And finally, the latest Full Stack Radio podcast has Derrick Reimer talking about his new communication platform, Level.
Have a great 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.


Apache vs Nginx Performance: Optimisation Techniques
Some years ago, the Apache Foundation’s web server, known simply as “Apache”, was so ubiquitous that it became synonymous with the term “web server”. Its daemon process on Linux systems has the name httpd and comes preinstalled in major Linux distributions. Nginx — pronounced engine x — was released in 2004 by Igor Sysoev, with the explicit intent to outperform Apache.

What is WordPress Hosting? Learn More About The World's Most Popular CMS
WordPress has been around since 2003 and is the most popular blogging software on the market, powering almost a third of the known web. It has also now established itself as the content management system (CMS) of choice. Wordpress is already powering a quarter of all websites and we predict no end to its popularity and have explored some of the issues surrounding hosting with WordPress below.

Is Your PHP e-commerce Site Doing Well Enough? The SEO Factors You Should Prioritise to Boost Conversions
The presence of numerous website builders and CMS platform options makes setting up a store online a lot easier than it was before. Therefore, we see a lot of new spicks and span new e-commerce stores with a wide array of products but no customers. Many business owners are often too quick to blame their website template and core code for the lack of traffic. Nonetheless, how responsible can your code infrastructure be if several other stores are using the same code type or the same template?

Meet the Drupal Association 2018 At-Large Board Member Candidates
Did you know you have a say in who is on the Drupal Association Board? Each year, the Drupal community votes in a member who serves two years on the board. It’s your chance to decide which community voice you want to represent you in discussions that set the strategic direction for the Drupal Association.

Tutorials and Talks

Building a PHP Framework: Part 5 – Test Driven Development
In part 4 we laid the foundation for Analyze. Now it’s time to write the very first lines of code!
Collector Pattern for Dummies
I wrote Why is Collector Pattern so Awesome a while ago, but I got feeling and feedback that it's way too complicated. The pattern itself is simple, but put in framework context, it might be too confusing to understand. That's why we look on collector pattern in minimalistic plain PHP way today.
Creating a Decent Laravel Deploy Script
A good deploy script can save you time and speed up you application, and it only takes a few minutes to set one up. I have a standard deploy script which I use for almost all of my projects, which I'm going to break down and share with you.
Doctrine ORM and DDD Aggregates
As I discovered recently, you don't need an edge case to drop Doctrine ORM altogether. But since there are lots of projects using Doctrine ORM, with developers working on them who would like to apply DDD patterns to it, I realized there is probably an audience for a few practical suggestions on storing aggregates (entities and value objects) with Doctrine ORM.
Building an Image Gallery Blog with Symfony Flex: The Setup
This article is part of a zero-to-hero project - a multi-image gallery blog - for performance benchmarking and optimisations. (View the repo here.) In this part, we’ll set our project up so we can fine tune it throughout the next few posts, and bring it to a speedy perfection.
Scheduling Posts on Github Pages with AWS Lambda Functions
If you are reading this post, it means it worked! I scheduled this post yesterday to automatically publish at 9am the next day, PDT. I’ve been trying to find a solution for this a few times, but most recently realized that with the AWS Lamdba functions it might have finally become possible to do this without managing a whole server.
Using API Gateway with Serverless & OpenWhisk
As with all serverless offerings OpenWhisk offers an API Gateway to provide HTTP routing to your serverless actions. This provides a number of advantages over web actions, the most significant of which are routing based on HTTP method, authentication and custom domains (in IBM Cloud).
Self-Host Your Team’s Git With Gitolite
Designed in 2005 by Linus Torvalds for the needs of the Linux Kernel development team, the Git source code management system has become widely accepted outside the community. For more info check out A Short History of Git. Free, fast, distributed, feature-rich, and yet simple to use, it has become almost indispensable today for storing, comparing, and collaborating on all types of programming projects, and even for other kinds of documents.
Authentication and Authorization Using Auth0 in PHP
In this article, we're going to explore the Auth0 service, which provides authentication and authorization as a service. Auth0 allows you to set up basic authentication and authorization features for your apps in the blink of an eye.
5 Usages of Static Keyword in PHP
Static is a PHP keyword with many usages. It is almost universally used, though there are many variations of it. Let’s review all five of them.
Automatically Open Files on Artisan “Make” Commands
“Open on Make” is a neat little package by Andrew Huggins that makes it easy to have newly created files open in your editor of choice.
The Dangers of PHP's $$
A PHP question I particularly like to ask candidates at a job interview is to explain a bit of code that includes the $$ syntax for variable variables. It’s great if the candidate is already familiar with this feature of PHP; but what’s more important to me is that once the candidate understands how this syntax works that they can describe potential issues with using it.
How to Quickly Fix WordPress Mixed Content Warnings (HTTPS/SSL)
Running your WordPress site over HTTPS is no longer optional. 🔒 Not only is it more secure (everything is encrypted, nothing passed in plain text), but it also builds trust, is an SEO ranking factor, and provides more accurate referral data. Performance issues tied to encryption have been fixed for the most part thanks to HTTP/2 and Let’s Encrypt has changed the entire industry by providing you with an easy way to get free SSL certificates.

News and Announcements

Announcing Ensemble
Bringing your Composer dependencies together.

Laravel Conf - July 8th 2018, Taiwan
As the biggest PHP and Laravel community in Taiwan, we are proud to announce LaravelConf Taiwan will take place on July 8, 2018. Come and enjoy inspirational talks and making friends with enthusiastic developers like you!

Northeast PHP Conference - 19th-21st September 2018, Boston
Our event is a community conference intended for networking and collaboration in the developer community. While grounded in PHP, the conference is not just about PHP. Talks on web technology, user experience, and IT management help PHP developers broaden their skill sets. Tickets are on sale now.

Symfony Live - September 27-28th 2018, London
Symfony is proud to organise the 7th edition of the British Symfony conference and to welcome the Symfony community from all over the UK. Join us for 2 days of Symfony to share best practices, experience, knowledge, make new contacts and hear the latest developments with the framework! The Call for Papers is open for another few days, and Early Bird Tickets are on sale now.

php[world] - November 14-15th 2018, Washington DC
PHP as a language and a community has been rapidly changing in the last few years. A staggering 83% of the Web runs on PHP, and those websites are built on frameworks such as Drupal, WordPress, Magento, Symfony, ZF and Laravel, each of which has their own strong community. We created a conference designed to appeal to all these communities and bring them together. Hence, php[world] was born. The Call for Papers is now open.


Three Devs and a Maybe Podcast - PHP Was Not Designed For That?! with Joe Watkins
In this weeks episode we catch-up with Joe Watkins. We start off discussion with a recent blog post he wrote about the unhelpful ‘just because you can, doesn’t mean you should’ response he sees surrounding some of his PHP extensions. From here we move on to highlight a debugger you can ‘composer require’, reasons behind creating such a tool and how it works. This leads us on to mention some updates to uopz for PHP 7 support, a weak references RFC he has recently published and future plans for PHP. Finally, we wrap up by talking about a CommonMark extension he has published, and how CQL provides the ability to efficiently traverse a document.
Full Stack Radio Podcast Episode 91: Derrick Reimer - Designing a Calmer Team Communication Platform
In this episode, Adam talks to Derrick Reimer about the product design decisions behind Level, a new team communication platform Derrick is building. They also talk about Derrick's decision to open-source the entire codebase, despite the fact that he's building a real business around it.
Topics include Microsoft has reportedly acquired GitHub, and the stakes have never been higher for Apple software.
Post Status Draft Podcast - Productizing Your Service Business, with Brian Casel
In this episode, I interview Brian Casel, the owner of Audience Ops, a productized content service he’s built to employ 30 people. He also runs a podcast and course on helping others productize their services.
PHP Web Development Podcast Ep #3 - Why Symfony
This week I have the pleasure of speaking to Dan Blows ,Currently a tech lead, he has done some really cool stuff, he's in the top 3% on stack overflow, in the top 10% of PHP developers in Europe, speaking at meet ups , spoke in the European conference in front of 100's of people, training and mentoring junior developers and many more.

Reading and Viewing

Cloudways Interview - Ilona Filipi Sees “More and More Clients Opting for WordPress”
Today we have interviewed Ilona Filipi, founder and managing director at Moove Agency, a London-based web development agency that builds and supports high-performing websites and applications and make global businesses succeed in the digital world. She has an extensive experience of 10 years in the digital field and a working relationship with clients such as BBC, O2, etc.
Bizarro Devs - Send In The Drones
A weekly newsletter with all the weird and wonderful tech news.
Query builder for JSON, Zend API wrapper for go/golang, modern dockerized LAMP and MEAN stack alternative to XAMPP, simple chat with ReactPHP sockets, searchable field-level encryption for PHP projects, and more. Keep on reading!
Fix WordPress Plugins and PHP 7.1 Brokenness.: Mobile-first WordPress Speed (Plugin Surgery: Tips and Tricks Book 3) by Steve Teare - Kindle Edition
A 3,760-word article at WP Elevation is about the pain of producing websites. The article expresses everything we hate about website creation. The thought of building “explosive live hand grenades” stresses us. Just reading the article was stressful. Why?
PHP The Right Way: Your Guide to PHP Best Practices, Coding Standards, and Authoritative Tutorials by Phil Sturgeon and Josh Lockhart - Kindle Edition 
If you are getting started with PHP, start with the current stable release of PHP 5.6. PHP has added powerful new features over the last few years. Though the incremental version number difference between 5.2 and 5.6 is small, it represents major improvements. If you are looking for a function or its usage, the documentation on the website will have the answer.
PHP 7 Data Structures and Algorithms Complete Self-Assessment Guide by Gerardus Blokdyk - Kindle Edition 
Why are PHP 7 Data Structures and Algorithms skills important? Has the direction changed at all during the course of PHP 7 Data Structures and Algorithms? If so, when did it change and why? Who are the PHP 7 Data Structures and Algorithms improvement team members, including Management Leads and Coaches?


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

"Firefly III" is a (self-hosted) manager for your personal finances.
A skeleton repository for my packages.
An Open Source Web-based Learning Management System (LMS) used to develop and deliver online courses.
An smart macro PHP plugin for Sublime Text.
This Behat extension makes it possible to extend Behat without having to write an extension yourself.
A basic PHP library to talk to a VERGEd daemon to get you started in your VERGE project!
YAY! is a high level parser combinator based PHP preprocessor that allows anyone to augment PHP with PHP.
A money and currency library for PHP.
BladeOne is a standalone version of Blade Template Engine that uses a single PHP file and can be ported and used in different projects.
A pure PHP server and client for the tus resumable upload protocol v1.0.0.
Catalyst serves to facilitate the process of commissioning through a simple, unified, and mobile-friendly way for artists to easily list their prices, recieve and track commissions, and much more.
Sick and tired of building crappy SOAP implementations? This package aims to help you with some common SOAP integration pains in PHP. Its goal is to make integrating with SOAP fun again!

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 ©