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!

October 12, 2017


Hello and welcome to the latest @phpweeklynews.

The PHP NorthWest Conference came to a close last week with the announcement that, after ten years, the organisers are taking a break. Whilst it's never say never, the conference will not be returning for the foreseeable future. 

Also this week, for all the pain that may have come with the release of PHP version 7.0, there is so much more "pleasure" to it. Developers who are still reluctant to upgrade are missing out on so many rewards, some of which you can read about here.

We take a look at the first part of the series Build a React App With a Laravel Back End, starting off focusing on the Laravel concepts and back end.

Plus Matthias Noback has released his latest book Microservices For Everyone, which is on sale now.

And finally, the North Meets South Web podcast is back this week, and the guys are discussing Hacktoberfest.

Enjoy your weekend, 

Thanks
Katie and Ade

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

Stop The Pain, Get to PHP 7
Many are letting the pain of moving to PHP 7 prevent them from experiencing the pleasure and rewards.

PHPNW: Thank You
The past ten years, the PHP NorthWest conference in Manchester has had a huge impact on the Manchester PHP scene, but also on the rest of Europe (and perhaps the world). Last weekend, during the closing of the conference, Jeremy Coates announced that PHPNW conference is going on a hiatus. They're not saying they're quitting but, for now, there will be no more PHPNW conference. A sad moment for sure, but I'm proud of all those involved in organising PHPNW for 10 years.

Progress on the Salesforce Suite for D8 and a Call for Participation
After months of work, hundreds of commits, and lots of new thinking, the Salesforce Suite for Drupal 8 is reaching maturity.  There is tremendous interest in these modules, and many enterprises are waiting for this milestone to integrate D8 sites with Salesforce. In an effort to accelerate refinement and adoption of this important contribution, the modules developers are raising awareness about the release and asking the community to start downloading and contributing.

Bundle-less Applications with Symfony Flex and Symfony4
So these last few days we’ve had a pretty interesting thread on twitter, with @gigo6000 and @WladimirAvila, about Symfonys new directory structure, especially about Bundle Inheritance. You can check the thread here.

A Few Right Ways, But Infinitely More Wrong Ways
A response to the saying: “There’s no one ‘right’ way to do things. There are different ways of doing something that are ‘right’. So stop criticising my chosen way of doing things — you cannot prove that it is wrong.”

Event-Driven Architecture
This post is part of The Software Architecture Chronicles, a series of posts about Software Architecture. In them, I write about what I’ve learned on Software Architecture, how I think of it, and how I use that knowledge. The contents of this post might make more sense if you read the previous posts in this series.

Tutorials and Talks 

New in Symfony 3.4: Simpler Injection of Tagged Services
In some Symfony applications is common to get all services tagged with a specific tag. The traditional solution was to create a compiler pass, find those services and iterate over them. However, this is overkill when you just need to get those tagged services. That's why in Symfony 3.4, we've added a shortcut to achieve the same result without having to create that compiler pass.

How Do I Deploy My Symfony API - Part 2 - Build
This is the second post from a series of posts that will describe the whole deploy process from development to production. In this part we will see how the build process was organised.

How To Schedule User Generated Cron Jobs In Laravel
While developing a personal project I was in the need to let user defines actions that run periodically. My first thought was to use the Task Scheduling component of Laravel. The solution that I came up with is quite simple, yet effective.

The Novice Guide to Connecting PHP to Discord Using Webhooks
Through my searching for a way to bridge Gaiscioch.com and Discord I found a serious void of information when it came to Webhooks and PHP. There are a few github resources available that handle the hard stuff like oauth2 authentication and a lot of the pieces you need to run a PHP Discord Bot. However for the novice web programmer who is just looking to post an event, news announcement, or something similar without the need for a full time bot. This is where Webhooks come in.

How to Create Pagination with PHP and MySql
In this tutorial, we are going to create pagination with PHP and MySql. It is probably possible that your SQL SELECT query may return result into thousand and millions of records. And it is obviously not a good idea to display all those results on one page. So we can split this result into multiple pages.

WPThemeDoc: A Single-File HTML Template for Documenting WordPress Themes
ThemeBeans founder Rich Tabor has open sourced WPThemeDoc, the template he uses for documenting his commercial WordPress themes. Tabor is also the creator of Merlin WP, a theme onboarding wizard that makes setup effortless for users. After applying his aesthetic talents to the documentation aspect of his business, he decided to package up his efforts and release WPThemeDoc on GitHub to benefit other theme developers.

Is It All PHP OPCache's Fault?
Upon migrating to a new infrastructure we started experiencing cache issues after each deploy: as we refreshed pages that were updated by the new release, we didn’t see the right content for a very short period of time. Initially, we wrongly assumed that the cause of this issue was the PHP OPcache extension but, after our investigation, we understood that real path cache was the culprit.

How To Speed Up WordPress Development and Maintenance With WP-CLI
As a WordPress developer, you’ve probably installed the WordPress CMS, updated it, and activated themes and plugins hundreds of times. And although these routine development and maintenance tasks are fairly easy to do with WordPress’ graphical user interface, doing them over and over again isn’t very efficient. The good news is that you can easily and effectively speed up WordPress development and maintenance with the WordPress Command Line Interface (WP-CLI). With this in mind, in this post, we’ll explore the different ways you can use WP-CLI and offer some helpful WP-CLI commands to help you get started with a step in the right direction.

Handling Stripe Webhooks in a Laravel Application
In the project I’m currently working on I had to integrate Stripe webhooks. Stripe has great documentation on how to handle webhooks, but it still took a fair amount of time to get the integration just right. My solution for handling webhooks is pretty generic and reusable by others. I decided to extract it to a package called laravel-stripe-webhooks, so nobody has to code this stuff up again. In this blogpost I’d like to share how the package works.

EasyCodingStandard and PHPStan Meet 3 Symfony E-Commerce Projects
In the last post, we looked at the static analysis of 3 Symfony E-Commerce projects. Lines of code, Duplicated code, Cyclomatic complexity or Method length. These metrics are very rarely used in practise (even though there is a sniff for that). Today, I am going to show you how you can check them with tools that can help you keep your code better on daily basis - EasyCodingStandard and PHPStan.

Build a React App With a Laravel RESTful Back End: Part 1, Laravel 5.5 API
In this tutorial, we will be using the latest version of Laravel, version 5.5, to create a RESTful back-end API. The front end will comprise of components written in React. We will be building a resourceful product listing application. The first part of the tutorial will focus more on the Laravel concepts and the back end. Let's get started. 
News and Announcements

WordPress 4.9 Beta 1
This software is still in development, so we don’t recommend you run it on a production site. Consider setting up a test site just to play with the new version. 

Joomla! 3.8.1 Release
Joomla! 3.8.1 is now available. This is a bug fix release for the 3.x series of Joomla fixing bugs which were reported after the 3.8.0 release.

Red Hat Will Provide PHP 7.1 for RHEL (and CentOS)
Red Hat updates Python, PHP, Node.js, more; supports new arches.

ZendCon - October 23rd-26th 2017, Las Vegas
Now in its 13th year, ZendCon is the "must attend" event and the largest gathering of the PHP and open source communities. ZendCon brings together industry thought leaders, recognised PHP experts, enterprise decision makers, IT managers, dev and ops teams, and independent developers for four days of professional and business development. ZendCon connects the vast open source ecosystem and provides unique opportunities to engage with prominent speakers, community leaders, and vendors. You'll learn about the latest innovations and network with peers to get educated, advance your coding practices, and solve business challenges. Tickets are on sale now.

Forum PHP - 26-27th October 2017, Paris
The AFPP, French Users Association of PHP, presents the Forum PHP 2017, the largest annual French-speaking event for all PHP, professional and open-source communities, dedicated to the language and its ecosystem. Tickets are on sale now.

Drupal South - 16-17th November 2017, Auckland
The biggest Drupal conference for Australia and New Zealand comes to Auckland for the first time. Drupal's growth in popularity in New Zealand and Australia continues as the go-to content management platform for building scalable, feature-rich websites. As the web evolves and demands evermore flexible capabilities for presentation, social functionality and data and services integration, more decision-makers and practitioners in the web industry are recognising the value and flexibility of Drupal as a web publishing platform. Driving that recognition is the Drupal community - the large global tribe of developers, designers, evangelists and users who are building Drupal's success. Tickets are on sale now.

SymfonyCon - 16-18th November 2017, Cluj Romania
SensioLabs is proud to organise the fifth edition of the SymfonyCon, the international Symfony conference. This year, to celebrate Symfony, we decided to bring the entire community to Eastern Europe in Romania and discover the beautiful city of Cluj. If you like Symfony and share fun with professionals, this is where you want to be in November! Tickets are on sale now.

PHP Conference Brazil - December 6-10th 2017, Sao Paulo
With hands-on courses, practical mini-courses, talks and keynotes, the Brazilian PHP Conference takes place over five days. For beginners and professionals, students, project managers and analysts alike. Tickets are on sale now.

Podcasts

Voices of the ElePHPant - Interview with Brandon Savage
In this episode, Cal talks with Brandon Savage about his work at Rogue Wave Software and his talks at ZendCon 2017.

Changelog Podcast #264: Automating GitHub with Probot
We talk with Brandon Keepers and Bex Warner about GitHub's Probot — GitHub Apps to automate and improve your workflows. You can use pre-built apps or easily build and share your own.

PHP Roundtable Podcast Episode 67: Imposter Syndrome and the Dunning-Kruger Effect
In an industry like software engineering where it seems like there's always something else to learn, it's easy to come down with a case of imposter syndrome. We chat about imposter syndrome's impact on the PHP community and contrast it with the Dunning-Kruger effect.

Laravel News Podcast LN47:  Vultures, Relationsheets, and Community Contributions
Jake and Michael discuss the correct pronunciation of Vultr, new Laravel releases, testing Vue components with Laravel Dusk, and several community-contributed links.

LaraChat Live - Episode #31 - API Life
Today the panel is talking APIs.

The Laracasts Snippets Episode 69: Touchy Touchy 
We all have the tendency to reach for our pitchforks upon hearing information that doesn't line up with what we've decided to be true. How does this affect the coding tools and practices that we defend so vigorously?

PHPUgly Podcast #76: Equihacks
Looking at the Equifax data breach.

North Meets South Web Podcast Episode 34 - Aussie Slang, Deep Delegation, and Gathering Requirements
Jake and Michael return to share some of the Aussie slang Jake has been learning and cover such groundbreaking topics as this year's Hacktoberfest, deep delegation, gathering requirements, and more!

Reading and Viewing

The Release of "Microservices For Everyone" by Matthias Noback
Today I'm happy to release my latest book, "Microservices for everyone"! 90% of it was done in July but you know what happens with almost-finished projects: they remain almost-finished for a long time. I did some useful things though, like preparing a print edition of the book.

Cloudways Interview - Esteban Martinez Talks On Ecommerce and PPC
Esteban Martinez has always loved maths and this love affair with calculations led him to be a SEM expert and online marketing specialist. Esteban gained first-hand experience of using Google AdWords while working for the UK’s leading travel agency First Choice. With an experience spanning 15 years, Esteban is now the Director SEM of Salmat, an Australian agency.

Eloquent Relationships Cheat Sheet
A cheat sheet for Laravel’s Eloquent ORM version 5.5.

Finding & Patching a Bug in php-src
How to find and patch a bug in PHP source :: PHP internals.

Building PHP Applications in Docker
A FREE Step By Step Guide for PHP Developers Learning Docker. Docker has quickly become the container engine of choice, and it may be replacing a virtual machine near you soon. This step-by-step guide will walk you through the process of building a real PHP web application using Docker while explaining the basics of the platform along the way.

Quickly Build a Single Event Sourced Feature Built With Elixir
In a short video posted on YouTube, Shawn McCool explains how you can quickly build an event sourced featured with Commanded.

Jobs




Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $100/week for an advert.  Please let me know if you are interested by emailing me at katie@phpweekly.com

Interesting Projects, Tools and Libraries

churn-php
Helps discover good candidates for refactoring.

platform
A modular multilingual CMS built with Laravel 5. 

php-censor
PHP Censor is a open source self-hosted continuous integration server for PHP projects (PHPCI fork). 

akaunting
A free, online and open source accounting software designed for small businesses and freelancers.

erebot
An IRC bot written in PHP thought up with modularity in mind. It is fully compatible with PHP 5.3.0 up to the very latest versions of PHP.

movim
A decentralised social network, written in PHP and HTML5 and based on the XMPP standard protocol.

Organizr
HTPC/Homelab Services Organizer, written in PHP.

nameless
NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.

ui
Agile UI is a high-level PHP framework for creating User Interfaces in Web Apps.

php-v8
PHP extension for V8 JavaScript engine.

amp
Amp is a non-blocking concurrency framework for PHP. It provides an event loop, promises and streams as a base for asynchronous programming.

luya
The Yii 2 wrapper to build beautiful and easy editable websites pretty fast!

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