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!

January 14, 2016


Here we are again PHP fans, with your latest edition of phpweekly.com.

This week we start with several announcements from the PHP Development Team about three version upgrades - 7.0.2, 5.6.17 and 5.5.31, all available immediately.

Laracon EU has been announced, taking place in Amsterdam this August. Early Bird tickets are already on sale.

Also this week, Sammy Powers, host of the PHP Roundtable Podcast, is interviewed by the Cloudways team.

Plus we take a look at 16 of the best git aliases you can use to shorten your git commands.

Finally, the Lately in PHP podcast team discusses the possible extension of support for PHP 5 releases over the next year or two.

Have a great weekend,

Cheers
Katie and Ade

We love our sponsors. Why not try them?

 


 From our sponsors:

Meet JIRA Software JIRA is now redesigned with your software team in mind. Say hello to JIRA Software.

(ads by LaunchBit) 

Articles

Why We Are Requiring PHP 7 For Our New Packages
On the Murze.BE blog this week - The past few weeks we released several new packages: laravel-sluggable, laravel-robots-middleware, laravel-glide and pdf-to-text. These packages have in common that they all require PHP 7. Because there were several reactions and questions about this, I’d like to shed some light on that decision.

PHP RFC: Adopt Code Of Conduct
This RFC proposes that the PHP project should adopt a formal code of conduct for its members.

Symfony Benchmarks: Symfony Proxy vs. Varnish
In the previous articles we have evaluated PHP performance on different runtimes (PHP 5.6, HHVM, PHP 7) as well as how it behaves when adding server resources (CPU & RAM) using eZ Platform - a CMS built on the Symfony Framework. In production environments Symfony and eZ Platform are likely ran behind the Varnish Reverse Proxy, which we'll evaluate next by comparing it to the built in Symfony Proxy.

New MongoDB Drivers for PHP and HHVM: Architecture
We recently released a new version of the MongoDB driver for PHP (the mongodb extension). This release is the result of nearly a year and a half of work to re-engineer and rewrite the original MongoDB driver (mongo). In the previous blog post, I covered the back story of the how and why we undertook this effort. In this new blog post, I will talk about the architecture of the new driver.

Evolution of Software Applications
If you develop software long enough, you notice patterns. One pattern that isn’t talked about enough is how systems evolve over time. This article takes a look at the different stages.

Tutorials and Talks

The Beginners Guide to WooCommerce: Order Reports, Part 2
In the previous article of this WooCommerce beginners guide, you learnt how to read the reports in the first sub-section of Order reports, i.e. Sale by Date. This section as we know is further divided into four sub-sections, which are Sales by date, Sales by product, Sales by category, and Coupons by date. Today let's take a look at the sub-section of Sales by product.

PHP Tutorial to Detect User Location by IP address With IP2Location Web Service
IP2Location provides a free LITE database to find the location of Web site users given their computer IP address. However, this requires that the database be installed on the Web site server and be updated regularly. An alternative is to access a Web service provided by IP2Location to obtain the same geolocation information always up to date without need to install any database in the local server. Read this article to learn how to use the IP2Location GeoLocation Web service.

API Rate Limiting in Laravel 5.2
If you're not familiar with it, rate limiting is a tool - most often used in APIs - that limits the rate at which any individual requester can make requests.

16 Awesome Git Aliases that You Will Love
When using git in the CLI you will have to write a lot of long git commands to get things done. Most git commands are simple, but some of them are quite complex and bothersome to type. We developers are of course taught to be lazy (for the sake of being the stereotype), and to write as little as possible. Because the above applies to me, I use git aliases to shorten my git commands that I use most, and improve the information they return. In this blog post I will give a list of simple but powerful aliases that you might grow to depend on an love.

Introducing Bugsnag – the Last Error Monitor You’ll Need
The pursuit of building an error-free application continues. But in the meanwhile, we need to monitor our application’s errors and take action quickly. Many companies have tried to solve this problem, and one of the best on the market right now is Bugsnag.

Auth: Login with Username Instead of Email
Laravel comes with out-of-the-box authorisation mechanism which is incredibly easy to use. But it depends on several pre-defined things, one of the main ones – DB table users structure and login with email field. What if you want to have a username to identify a user?

OAuth2 with PHP's built in Streams Functions
Most of the time when I work with APIs from PHP, I use Guzzle - it's awesome and modern and elegant. However some of my work is with legacy platforms and I recently had a situation where we needed to integrate with a API using OAuth2, and launch that integration before the planned platform upgrade from an older version of PHP was expected to complete.

Optimising League/Commonmark with Blackfire.io
Blackfire is a fantastic tool from the folks at SensioLabs. You simply attach it to any web or CLI request and get this awesome, easy-to-digest performance trace of your application's request. In this post, we'll be examining how Blackfire was used to identify and optimise two performance issues found in version 0.6.1 of the league/commonmark library.

Magento Theme Development: Category Page, Part 1
Congratulations on completing the home page of your new theme, and starting with the next page. In this tutorial, we'll start modifying the category page of our Magento theme.

The Internal Pointer of An Array
I discovered recently that if you walk through an array using array_walk or array_walk_recursive, then the array's internal pointer is left at the end of the array. Clearly this isn't something that I've needed to know before!
News and Announcements

PHP 7.0.2 Released
The PHP development team announces the immediate availability of PHP 7.0.2. 31 reported bugs have been fixed, including 6 security related issues. All PHP 7.0 users are encouraged to upgrade to this version.

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

PHP 5.5.31 is available
The PHP development team announces the immediate availability of PHP 5.5.31. This is a security release. Several security bugs were fixed in this release. All PHP 5.5 users are encouraged to upgrade to this version.

Lumen 5.2 is now released
Lumen 5.2.0 is now released! This release features the inclusion of Laravel 5.2 components and makes significant changes to its core philosophy.

Drupal 8.0.2 Released
Drupal 8.0.2, a maintenance release with numerous bug fixes (no security fixes), is now available for download.

WordPress 4.4.1 Security and Maintenance Release
WordPress 4.4.1 is now available. This is a security release for all previous versions and we strongly encourage you to update your sites immediately.

Laracon EU - August 23rd-24th 2016, Amsterdam
Laracon EU is an international multi-track event focusing on in-depth technical talks directly tailored to empower you as a Laravel developer. Early Bird tickets are on sale now.

Podcasts

Laravel IO Podcast: Episode 40 - Will Smith Hates Vim
In this episode, the crew discusses Linode down time, server migrations, editors, Will Smith and Mario Kart. Most importantly, Jeffrey & Taylor finally disagree.

Voices of the ElePHPant - Interview with Stephan Hochdorfer
This week Cal Evans talks to the founder of bitExpert AG, Stephan Hochdorfer.

MageTalk Magento Podcast #74 - “Inchoo!” God bless you
Kalen interviews Tomislav from Inchoo and dives into the history of the company, and the future of the Magento community.

Full Stack Radio Podcast Episode 33: David Hemphill - Building PushSilver with Vue.js and Beard
In this episode, Adam talks to David Hemphill about his latest project PushSilver.

Laravel News Podcast - LN 07
We kick off 2016 with a discussion on Upgrading to Laravel 5.2, Laracon, the Linode DoS attack, and simple project management tips that have made us more productive.

Lately in PHP Podcast Episode 67 - End of Support for PHP 5 Releases
Now that PHP 7 has been released, core developers have been discussing extending the support of PHP 5 releases until the end of 2016, and one or two years more for security fixes. That was one of the main topics discussed by Manuel Lemos and Arturs Sosins in Episode 67 of the Lately in PHP podcast hangout.

Reading and Viewing

Deploying PHP Applications (by Niklas Modess)
Developer, manager or sysadmin involved in deploying PHP applications? This book is for you who want to make things run as smooth as possible. Learn best practises and tools that you can leverage so you can be confident in your deploy process. Make it compatible with the more and more agile software development world that we live in today.

Mirror, Mirror on the Wall - presented by James Titcumb
Have you ever used PHP’s built in reflection, only to find you can’t do quite what you wanted? What about finding types for parameters or properties? What about reflecting on classes that aren’t loaded, so that you can modify them directly? Better Reflection is an awesome new library that uses magical time-warp techniques* (*actual magic or time-warp not guaranteed) to improve on PHP’s built-in reflection by providing additional functionality. In this talk we’ll briefly explore the cool features of Better Reflection, and how you can use Better Reflection in your projects to maximise your reflection-fu.

4 Responsive Web Design Principles Every Web Developer Should Know
In this episode of the John Morris Show, I share the 4 responsive web design principles every web developer should know, CES, Oculus Rift, how I’m launching my wife’s freelancing career, answers to your questions and more.

Cloudways Interview With Sammy Kaye Powers
If there is someone you are looking forward to following in the PHP community, then Sammy Kaye Powers is your go to guy! Sammy is a very active guy in the PHP Community. He is the host of PHP Roundtable Podcast and the co-organiser of Chicago PHP user group.

The Joy of Bootstrap: A Smarter Way to Learn The World's Most Popular Web Framework (by Alan Forbes, published 11th December 2015)
Bootstrap is a framework that makes front-end web development faster and easier. A couple of guys at Twitter invented it and later made it open source. Other people have joined in and it is now in it's third major release.by Alan Forbes. The book has tons of Bootstrap example source code which you can tweak and play with.

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 katie@phpweekly.com

Interesting Projects, Tools and Libraries

sitemap
A tool to generate XML sitemaps.

wrike-php
A modern PHP client for the Wrike API v3.

dicer
A simple, lightweight dependency injector for PHP.

timegrid
Free, open-source, self-hosted online reservation platform based on the Laravel PHP Framework.

phactor
Phactor is a high-performance PHP implementation of the elliptic curve math functions needed for EC keypair and ECDSA signature generation, validating signatures, validating curve points, creating SINs and much more.

yeswiki
A wiki system written in PHP, including extensions making collaboration more simple (databases, maps, easy editing, bootstrap themes,...)

forkdaemon-php
A library to make setup and management of forking daemons in PHP easy.

curl
Custom PHP curl library for the Laravel 5 framework.

pudl
PHP Universal Database Library - connects to and generates queries for SQL Servers.

opulence
A simple, secure and scalable PHP application framework.

yin
The efficient and elegant JSON API server library for PHP.

bat
A Booking and Availability Management Library for PHP.

openpay-php
Openpay PHP bindings.

thorium
Thorium uses Markdown and PHP to create a databaseless blog site.

minify
CSS & JavaScript minifier in PHP.

saft
The Saft PHP framework provides RDF handling and support for Semantic Web technologies.
Please help us by clicking to our sponsor:


 From our sponsors:
Meet JIRA Software JIRA is now redesigned with your software team in mind. Say hello to JIRA Software.

(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