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!

August 23, 2018

Welcome to the latest phpweekly.com.

This week the php.net team has announced several releases - PHP 7.1.21 and 7.2.9, both available immediately, and 7.3.0 beta2 which is available now for testing.

Also this week we have Part 8 of the Building a PHP Framework series, covering how routing works in general as well as specifically within PHP.

The staff and board of the Drupal Association have announced their newest board member.

Plus the latest MageTalk podcast is a special edition, with the presenter Kalen Jordan appearing on the Ecommerce Fuel podcast.

And finally, if you missed Laracon US last month, the speaker videos have been released and are available to view online. 

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

Why is Your Company Losing Money By Not Open Sourcing 2: Code Quality
There is more high-quality code in open-source than in closed-source. Open-source code is rarely rewritten from the scratch investing loads of time and effort - apart 1st version because it's designed to be dropped. This case is not so rare in the private sector in long-term projects. Rubber ducking. Standard-bias of public behavior. Social learning. Embodied know-how. Values natural for open-source, yet seen only in high-standard private coding. Why is that? And how to make your project benefit from these values?

Strategies for Dealing With Poor Code in Limited Time
You’ve been given the task of implementing a new feature on an old codebase, but the code looks awful. How can you understand it as quickly as possible? Here are several shortcuts to help learn the important parts of new code without getting lost in the irrelevant details.

2018 Drupal Association at-large Election Winner Announced
The staff and board of the Drupal Association would like to congratulate our newest board member: Suzanne Dergacheva. Thank you, Suzanne, for stepping forward to serve the Drupal community. On behalf of the community I also want to thank all the candidates who put themselves out there in service of Drupal and nominated themselves. We are grateful that our community has so many brave and generous people willing to contribute this way.

Tutorials and Talks

How to Do User Authentication With the Symfony Security Component
In this article, you'll learn how to set up user authentication in PHP using the Symfony Security component. As well as authentication, I'll show you how to use its role-based authorisation, which you can extend according to your needs.

Building a PHP Framework: Part 8 – Routing
Part 7 got us up to speed on the container that will be used in the Analyze PHP Framework. In this post we’ll cover how routing works in general and specifically within PHP.

Appending API and Web Routes to Eloquent Models
Generally, we use the same conventional pattern for our Web and API routes for our models. Let’s see, how to create a reusable trait that generates the model’s route attributes and how to append them in the JSON or array form of it.

Working with SAPUI5 Locally and Deploying in SCP
When I work with SAPUI5 projects I normally use WebIDE. WebIDE is a great tool but I’m more comfortable working locally with my local IDE. I’ve this idea in my mind but I never find the time slot to work on it. Finally, after finding this project from Holger Schäfer in github, I realised how easy it is and I started to work with this project and adapt it to my needs.

How to Build a Scalable Symfony Application on Kubernetes
Modern web applications are complex. The expectations of your users regarding your application are constantly increasing: nowadays, an application needs to be fast, convenient, easy to use and beautiful.

207 Multi-Status
207 Multi-Status is used primarily by WebDAV servers. I don’t think it’s used much outside of WebDAV, if at all. The WebDAV specification describes this statuscode as an indicator to a client that multiple operations happened, and that the status for each operation can be found in the body of the response.

Refactor Your PHP legacy Code (real projects examples)
Good developers are defined by the quality of their codes. In the software industry, writing good code means saving the money that may be invested in testing, updating, extending or fixing bugs. In this article, I will show you real-life examples of some techniques and ideas that will help you to clean up your legacy code and refactor it to make it more robust and modular.

Service locator: An Anti-Pattern
As a Laravel developer, I'm confronted daily with the service locator pattern. Every facade call and several helper functions are built upon it.

PHP Performance Increase from 5.6 to 7.2
I remember when PHP 7 was released. The first thing I did was a simple performance test. I don’t remember the script exactly, but it was similar to this...

New PHP Exploitation Technique Added
Last week a new exploitation technique for PHP applications was announced at the BlackHat USA conference. Find out everything you need to know in this blog post.

Taking the DoNotTrack Header Into Account
Even if you are using a no cookies tracking system that is DNT compliant, is it really useful to load your frontend js tracking script if the user doesn't want to be tracked? Let's see how to implement that using Laravel.

Use Laravel Unit Testing to Avoid Project-Wrecking Mistakes
PHPUnit is one of the most well known and highly optimised unit testing packages of PHP. It is a top choice of many developers for rectifying different developmental loopholes of the application. In this article I will demonstrate the basics of Laravel PHPUnit testing. The article will demonstrate using both PHPUnit assertions and default Laravel test helpers.
News and Announcements

PHP 7.1.21 Released
The PHP development team announces the immediate availability of PHP 7.1.21. This is a bugfix release. All PHP 7.1 users are encouraged to upgrade to this version.

PHP 7.2.9 Released
The PHP development team announces the immediate availability of PHP 7.2.9. This is a bugfix release. All PHP 7.2 users are encouraged to upgrade to this version.

PHP 7.3.0.beta2 Released
The PHP team is glad to announce the release of the sixth PHP 7.3.0 version, PHP 7.3.0beta2. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki.

Laravel Dump Server to Ship With Laravel 5.7
At Laracon US 2018 Taylor Otwell announced that Laravel Dump Server would come packaged with Laravel in version 5.7! It will be a development dependency in laravel/laravel composer file.

PHP Developer Days - September 21st-22nd 2018, Dresden
After a very successful edition in 2017 we aim to push this community driven conference to the next level in 2018. For the first time we will offer a full day with workshops, so you can get the most out of our excellent trainers. On the second day our international speakers will provide you with great sessions in a single track. We are committed to creating a unique community experience - an event where everyone is among #PHPriends. 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! 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

MageTalk Magento Podcast #173 – Kalen Visits Ecommerce Fuel
In this special edition of MageTalk our very own Kalen Jordan appears on the Ecommerce Fuel podcast, a podcast for a community of engaged 6 and 7-figure digital commerce store owners.

Voices of the ElePHPant - Interview with Adam Culp
This week Cal Evans spoke with the original Geeky Boy, Adam Culp.

PHP Web Development Podcast Ep #10B - Should Recruiters Edit Your CV?
This is a continuation from last podcast on ideal CV format. There are a lot of people who against recruiters editing  CV’s before sending to clients, Mathew will be discussing his view and experience on this subject.  Should a recruiter edit your CV or Not? What you need to understand about the recruitment process and what happens when you send a CV over and why recruiters remove your contact details.

PHP Ugly Podcast #117: Tom's Agenda
This month the team discusses what's wrong with popular articles telling you that foo is faster than bar.

Reading and Viewing

Laravel Sticker Contest 2018
Caleb Porzio is running a sticker contest sponsored by Hoefler & Co and Sticker Mule!

Books from Laracon 2018
We love books here at Laravel News! The Laracon US 2018 all-star lineup of speakers delivered stellar talks, and many of them have written best-selling books! We thought it would be a good idea to compile a list of books authored by Laracon speakers as well as other books mentioned during their talks.

A Week of Symfony #607 (13-19 August 2018)
This week, the upcoming Symfony 4.2 version added a new DivisibleBy constraint and enabled logger autoconfiguration. Meanwhile, the SymfonyLive USA conference was rebranded as Symfony Loves PHP USA Conference and announced its full schedule.

Vue vs React: 2018 Edition
Just over a year ago I wrote a 🔥-y piece comparing Vue.js vs React. Today, the argument about these two JavaScript frameworks is as alive as ever, but over the last year much has changed. I figured it was time I took another look at these behemoths, so let’s dive in!

Improving Your Software Project by Being Intolerant
During the holiday I read a book mentioned to me by Pim Elshoff: "Skin in the game", by Nassim Nicholas Taleb. Discussing this concept of "skin in the game" with Pim had made me curious about the book.

The Laracon US Videos Have Been Released
Laracon US was held in July 2018 at the Museum of Science and Industry in Chicago. I had the pleasure of speaking at the conference. You can watch my talk on v7 of our medialibrary below.

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

php-r
PHPR (or php-r) is a library that provides ability to run R scripts from PHP.

valet-plus
Blazing fast macOS PHP development environment.

amazon-alexa-php
This library provides provides a convient interface for developing Amazon Alexa Skills for your PHP app.

phpGSB
A robust implementation of the Google Safe Browsing API.

incubator
This is a repository to publish/share/experiment with new adapters, prototypes or functionality that can potentially be incorporated into the Phalcon Framework.

backbee-php
BackBee CMS core is the core part of an open source PHP CMS BackBee built on top of Symfony & Doctrine 2 components.

phpdoc-md
This is a script that can generate markdown (.md) files for your API documentation.

echarts-php
Echarts-PHP a PHP library that works as a wrapper for the Echarts js library.

phpipam
phpIPAM is an open-source web IP address management application.

sendgrid-php
This library allows you to quickly and easily use the SendGrid Web API v3 via PHP.

escpos-php
PHP receipt printer library for use with ESC/POS-compatible thermal and impact printers.

inchoo_php7
PHP 7 compatibility extension for Magento 1 core by Inchoo.

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