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!

December 30, 2016

Well here we are folks, on the cusp of 2017, bringing you the last edition of phpweekly.com of 2016.

Packed with the usual mixture of podcasts to listen to, tutorials to work on, and conferences to sign up for.

Ade and I would like to thank each and every one of you out there in the PHP community who have subscribed to our weekly newsletter, and who help us immensely with article submissions, ideas and general advice. With almost 20,000 people receiving and reading PHP Weekly each week, we would not be where we are today without all of you. We are humbled by the kind words and inspired by the advice.

Here's to a Happy, Healthy and Prosperous 2017 for you and your families.

Cheers!
Katie and Ade

We love our sponsors. Why not try them?

 From our sponsors:
Scaling in 2017? Top startups like Airbnb, Udacity, and Artsy leverage Toptal's elite developers to scale their teams. Let Toptal help you navigate the new year.

(ads by LaunchBit) 

Articles

Laravel Elixir Will Be Renamed To Laravel Mix
Laravel Elixir first came out in October of 2014 and aimed to make automating concatenation, and general file watching, easier than setting it up manually. Built on top of Gulp as a wrapper to remove all the difficult parts, it has been a popular addition to Laravel. The next version of Laravel Elixir is changing the underlying system and will be built on Webpack, instead of Gulp. This will replace the plugin ecosystem, and because of such a significant change, it was time to rename the package. The new name is Laravel Mix, and it should be released along with Laravel 5.4.

Lesser Known Symfony eCommerce Projects: WellCommerce and ONGR
Symfony is a significant effort in itself, but because it offers a stable platform for other projects to build on - many know Symfony through other high profile projects like Laravel or Magento. But these well known projects are only the tip of the iceberg. Some interesting options utilising Symfony are WellCommerce and the ONGR projects.

How To Make WordPress Faster in Five Easy Steps
Nowadays, a successful site means a fast site. Loading speed is extremely important to accommodate mobile visitors and also to get higher rankings on Google search results. In this article, you will learn how to optimise your WordPress site for speed in 5 easy steps.

Feature Flags in PHP
Todays edition of the “Four short links” from the O’Reilly Radar brings a quick overview of the different feature flag implementations. 

Looking Back On 2016/Coming Up In 2017
Well, here we are, just after Christmas in 2016, and New Years is right around the corner. It’s time to take a moment to reflect on what was, and look ahead to what may come. That’s right, there’s not long to go until the champagne flows, and we sing in the new year, watch the fireworks from around the world, and set New Year’s Resolutions that may even last 24 hours. Given that, I’m keen to take a moment to look back on what was in 2016 and consider what’s coming in 2017.

Tutorials and Talks

Creating a Custom WordPress Messaging System, Part 2
If you're just now catching up to this particular series, we're in the process of building our own custom messaging system that hooks into WordPress, allowing us to take advantage of some of the existing APIs, but also allowing us a bit more control. Though it's not required to read the series preceding this one, I do highly recommend reading the preceding tutorial. Each of these builds on the foundation of the previous tutorial (and we'll continue to do that for the remainder of the series).

Scaling Laravel Using AWS Elastic Beanstalk Part 2: Setting up VPC, RDS and ElastiCache
In my last article we decoupled Laravel and got it ready for deployment to the Elastic Beanstalk architecture. However, before we race ahead to actually deploying our code to Elastic Beanstalk we need to do some preparation first. Specifically we need to set up some other AWS services that will be used by our Laravel app. 

New in Symfony 3.3: Configurable Autowiring Setters
Autowiring allows to register services in the container with minimal configuration. It automatically resolves the service dependencies based on the constructor's typehints, so it drastically reduces the amount of configuration required to define a service.

Integrate Mailchimp Newsletter Subscriptions with PHP
In this tutorial, we will discuss how to integrate one of the most popular mailing list services with PHP.

JavaScript Console Tricks
It is generally easier to quickly experiment with PHP or some other language that has an IDE or REPL. However, it is often tricky to quickly test some new JavaScript code or library without first creating a plain HTML page and dropping down to the console. Chrome developer console however makes it easier to test new libraries or even learn JavaScript if you are a newbie without using something like jsfiddle.

How To Create Simple Test Magento 2 Theme
With the release of Magento 2 in November 2015, several improvements in the platforms framework and modular structure have been observed compared to Magento 1. However, the most significant improvement that set a distinction between the older version of Magento and Magento 2 is merchant experience and speed. In this tutorial we will show you how to code and integrate your very own theme for Magento 2. It must be noted that this tutorial is based on our experience while developing Magento 2 extensions and custom development projects from scratch.

Drupal.orgs Composer Endpoints Are Out of Beta
Drupal.orgs Composer endpoints have been available in beta for some time now, and in that time we've begun to see many, many people use Composer to manage Drupal modules and themes. We first launched these repositories before DrupalCon New Orleans as an alpha release, and move into beta a few months later. After receiving your feedback and bug reports we've made updates, and are ready to call this service stable.

FluentDOM 6.0 - What's New?
So a major version jump means that here are backwards compatibility breaks and major new features. File loading has changed to improve security. FluentDOM\Query has got a major overhaul to improve the integration of alternative formats. This affected the interfaces and usage. I tried to keep the breaks to a minimum and easily fixable.

Building Your Startup: Preparing for Reminders
This tutorial is part of the Building Your Startup With PHP series on Envato Tuts+. In this series, I'm guiding you through launching a startup from concept to reality using my Meeting Planner app as a real-life example. Every step along the way, I'll release the Meeting Planner code as open-source examples you can learn from. I'll also address startup-related business issues as they arise. In this two-part series, I'll describe how we built the infrastructure for reminders and their delivery. This episode will focus on the infrastructure and user experience behind configuring reminders.

Symfony: The Myth of the Bloated Framework
In this article, I’ll try to show why Symfony is not the bloated framework you think it is. I won’t be talking about building your own framework with the components or using the microkernel trait. Those are fairly well covered by others. I’ll be looking at the big bad standard edition.

PHP 7 Performance Improvements (4/5): References Mismatch
Julien Pauli, PHP contributor and release manager, details what changed between PHP 5 and PHP 7, and how to migrate and make effective use of the language optimisations. All statements are documented with specific examples and Blackfire profiles. Fourth episode: References mismatch generating no overhead.

How To Use Forked Repositories In Composer
Have you ever identified a bug in a third-party repository which you’re using with Zend Framework, Zend Expressive, or another PHP-based project? I’m sure we’ve all been there at one time or another.

Social Logins with Oauth.io – Log in with Anything, Anywhere
Users today often like the idea of logging into websites with a single click using one of their social accounts. Given that, today we will look at OAuth.io, which is a multi-platform SDK for more than 120 social login providers like Facebook, Twitter, and Google+. Working with such an SDK is not a difficult task, but there are some prerequisites for using it.

Install XAMPP 7.0 on Ubuntu and Mac OSx Using Redis and Memcached Extensions
Now, it’s time to update your PHP web server. We had few vulnerabilities with previous versions like openSSL and others. PHP 7 is very fast, advanced and has improved execution time. XAMPP is the most popular PHP development environment, it saves time and effort by providing an easy way to install Apache-MySQL-PHP framework. This post helps you with how to install XAMPP 7.0 with Redis and memcached extensions for Ubuntu and Mac operating systems. Follow the below steps to install XAMPP.

Using the PHP RTF Parser to Process Word Processing Documents Part 1: the RTF File Format - PHP RTF Tools Package Blog
RTF is a portable file format for representing the content of word processing documents, such as those generated by Microsoft Word, OpenOffice and others. Read this article to understand the RTF file format, so you can understand the next articles on which you will be able to learn how to use the PHP RTF Tools packages for good purposes, such as using RTF templates, merging multiple documents, or simply extracting text from a document.

Autowired Controllers as Services for Lazy People
With a new autowiring feature in Symfony 2.8+, it is now easier to manage dependencies for services. But what about for controllers? Unfortunately, there are 3 annoying steps you have to do. Today I will show you how to reduce them to 0.

Announcements

Zend Framework 2.4.11 Released!
The Zend Framework community is pleased to announce the immediate availability of Zend Framework 2.4.11. You can download it from the Zend Framework site. This is a Long Term Support release.

PECL Request Extension: Beta 1 Released!
I am happy to announce that the PECL extension for server-side request and response objects has reached beta status! (documentation here.) This release adds four new read-only properties to the ServerRequest object.

php[tek] Conference - May 24-26th 2017, Atlanta
Hello and welcome to php[tek] 2017 - the premier PHP conference and annual homecoming for the PHP Community. This conference will be the 12th annual edition, and php[architect] and One for All Events are excited to bring it to Atlanta, the empire city of the south! We are currently working on big plans for the 2017 edition and will continue to update this website with more information. Meanwhile the Call for Speakers ends tomorrow, so submit your proposal now before it's too late!

PHP South Coast - June 9-10th 2017, Portsmouth
That’s right, PHP South Coast conference in 2017 will be running not one, but two days of talks on 9th-10th June 2017. This means there will be more opportunity for new speakers to be a part of the conference as well as more experienced speakers being present on the lineup. On the Friday we will have two tracks all day, followed by a social event in the evening (more details to be announced). On Saturday we will have one track of talks, starting slightly later in the morning so that everyone is nice and refreshed from the night before :) The Call for Papers is open, and Blind Bird tickets are on sale now.

Web Summer Camp - August 30th-September 2nd 2017, Croatia
Hands-on and engaging workshops providing useful know-how and first-hand experience, along with encouraging knowledge sharing. We are looking for PHP, eZ Publish/eZ Platform, Symfony, JavaScript, React/React native, user experience, user research, information architecture, design systems, CSS and project management workshops. The Call for Papers is open now.

Podcasts

Lately in PHP Podcast: PHP and JavaScript Innovation Award Report December 2016 Edition - September 2016 Nominees
This is the December edition of the Innovation Award podcast hangout recorded by Manuel Lemos and Arturs Sosins, to comment on the outstanding features of all the past month nominees' and winners' PHP and JavaScript packages, and the prizes that the authors earned, starting with the nominees from the month of September 2016.

Three Devs and a Maybe Podcast - Episode 2.0 with Joe Watkins
In this weeks episode we are joined by good friend of the show, Joe Watkins. We start off the discussion with the successful release of PHP 7.1 and what is in store for Joe now as release manager for that version. Following this, we chat about the libui and Yubico PHP wrappers he as been working on, and development of a better Raspberry Pi OS. Finally, we highlight progress made towards incorporating a JiT compiler within PHP and some interesting things you can do with Zero-width joiners and Emojis in Unicode.

Laravel IO Podcast - Episode 51: Dusky Christmas
In this episode, the crew discusses Laravel Mix, Markdown mailables, Laravel Dusk, Laravel 5.4, and more.

MageTalk Magento Podcast #112 -  “Man, I Feel Like a Woman”
The guys dive into "code shaming" and how to be inclusive in our community.

PHP Round Table Podcast Episode 57: All Things Zend
There's a lot more going on at Zend other than Zend Framework. We chat about the Zend ecosystem, from Apigility to Zend Certification and what Zends role is in PHP internals.

The Laracasts Snippets Episode 53: Where The Gold Mine Is
When it comes to open source code, how exactly should you decide what to build? Will anyone even care or want to use it? Who knows! But, maybe, a secret gold mine will reveal itself, once you ask a simple question.

PHP Ugly Podcast #40: Fractal Edition
Topics include changes coming to the Laravel release cycle, and what can be done to improve the PHP manual.

North Meets South Web Podcast Episode 18 - Inaugural North Meets South Meets Dads In Dev Christmas Extravaganza Web Podcast
Michael and Jake catch up with the hosts of our sister Dads in Dev podcast David Hemphill to round out the year with talk of Christmas, structuring single page applications, JavaScript frontends with client-side validation, and private Packagist.

Reading and Viewing

PHP 7.1 in 10 Minutes
PHP 7.1 is hot off the presses. But what’s so different about it? I’ll touch on the highlights, from list-related syntactic sugar to better callables, constant visibility, iterables and more! I’ll also include a few important notes on backward compatibility breaks, so you know how much work it’ll take to upgrade your own code.

Bobby Bouwmann: “2 Years and 1000 Best Replies on Laracasts”
In recent years, Laracasts has become a no.1 resource for learning Laravel. Also, there’s a really active discussion forum on the website, so we decided to chat with one of the most active members there. Bobby Bouwmann has almost 1000 “Best Reply” awards on the forum, which is a huge number. So what is it like to be so active on Laracasts? Let’s find out.

Cloudways Interviews Web Developer, Lee Jackson
Lee Jackson is an enthusiastic WordPress developer. He loves to code, and he is the buzz for quite the time when WordPress laid its initial foundations. He mostly caters coding services for designers and design based websites and love to attend WordCamps. Highly social and integrated with the right people in the community, Lee Jackson is looking forward to building more credible relationships in the coming future. Next year, he will be attending Matt’s address on “State of the Word.” Learn more about him and his secrets in his interview at Cloudways.

Voices of the ElePHPant - Interview with Beau Simensen
This week Cal Evans interviewed Sculpin creator, and That Podcast co-host, Beau Simensen. Watch the video here.

SQL: The Ultimate Guide From Beginner To Expert-Learn And Master SQL In No Time! (by Peter Adams, published 28th Nov 2016)
This book will introduce you to a computer language that has helped so many business owners and information technologists with daily reports and database management without the fear of crashing.

Laravel Basics: Creating Web Apps. It's Simple (by Gregory Blake, published 8th December 2016)
This book is an exploration of Laravel, which is a framework for web application development. The first part of the book explains to you what Laravel is and how it can be used for the development of apps. Laravel supports the implementation and use of notifications. This book guides you on how to implement notifications in your application.

WordPress: Creating Visual Web & Membership sites using Beaver Builder and Insta-Member (by Eric Rovelto, published 9th December 2016) 
WordPress is possibly the number one tool on the Internet today for creating and maintaining web sites. It is estimated that six out of ten sites on the web are using WordPress as their back end, and this number is only expected to rise in the years to come. In this book we are going to go into the setup and installation of WordPress on a new hosting account. 

Jobs




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

laravel-csv-export
Export a Large Dataset in CSV Format.

file_uploader
PHP file uploader package.

php-passbook
Passbook is an application in iOS that allows users to store coupons, boarding passes, event tickets, store cards, 'generic' cards and other forms of mobile payment.

raintpl3
RainTPL is an easy template engine for PHP that enables designers and developers to work better together, it loads HTML template to separate the presentation from the logic.

phpctags
An enhanced ctags compatible index generator written in pure PHP. Released under GPLv2 license.

phpepub
PHPePub allows a php script to generate ePub Electronic books on the fly, and send them to the user as downloads.

atk4
Agile Toolkit is a PHP framework for developing Powerful Web Applications. Inspired by Desktop Toolkits (QT, Cocoa, .NET) it provides clever web application framework for developers with any skill level. 

versionscan
Versionscan is a tool for evaluating your currently installed PHP version and checking it against known CVEs and the versions they were fixed in to report back potential issues.

spress
Spress is a static site generator built with Symfony components.

phpci
PHPCI is a free and open source continuous integration tool specifically designed for PHP.

grpc
The C based grpc (C++, Node.js, Python, Ruby, Objective-C, PHP, C#).

phpsa
PHPSA is a development tool aimed at bringing static analysis for PHP applications and libraries.

lionframe
Rapid API development framework for PHP.

eris
A porting of Quickcheck and property-based testing tools to the PHP and PHPUnit ecosystem.
Please help us by clicking to our sponsor:


 From our sponsors:
Scaling in 2017? Top startups like Airbnb, Udacity, and Artsy leverage Toptal's elite developers to scale their teams. Let Toptal help you navigate the new year.

(ads by LaunchBit) 

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 
 


Protect your PHP code with SourceGuardian 10. Free trial.

 

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