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!

March 8, 2018

Welcome back PHP fans.

This week the PHP development team has announced several releases; PHP 7.1.15, PHP 7.2.3, PHP 7.0.28 and PHP 5.6.34, all available immediately.

Also this week we have the 2nd part of the series on how to make a Symfony router lightning fast, focusing on non-static routes.

After an absence of around 8 months, the Sound of Symfony podcast team is back, discussing Symfony Live and Symfony Flex.

Plus the March edition of php[architect] magazine is out now, titled Long Running PHP.

And finally, the Northeast PHP Conference will return later on in the year, in Boston. The Call for Papers is open now.

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.


Invest In Yourself, Be Searchable!
Being really good in your field is important, but more important than that is to seem to be good. Invest in yourself. Be searchable!

Remembering J-P Stacey
In 2017 we saw the passing of J-P, community friend, mentor, leader, and contributor. Within the community J-P's was known for his passions: Drupal, programming culture, gardening, cycling and the environment. We invited people to share their memories of J-P and his impact; we share them with you now in memoriam. This is a moving tribute and a celebration of his life.

Tutorials and Talks

Making Symfony Router Lightning Fast - 2/2
In Part 1 we learned how to build a faster URL matcher, using hash-map lookups for static routes, and combined regular expressions for routes with placeholders, while preserving all the advanced features of the Symfony router. First and foremost, there is no faster way to match a static route than a hash-map lookup. This means this case is solved; I’m going to focus on non-static routes in the rest of the article.

Rector: Part 2 - Maturity of PHP Ecosystem and Founding Fathers
What it took for Rector to be born? Paradigm shift, ecosystem maturity, need for speed to solve common problems the community has. And a great team you share your work with that give feedback and reflects.

Build A Telegram Bot with Laravel and BotMan
Being a reader you definitely know that we have covered creating Bots before, we have quite few posts on Slack Bots, Twitter Bots and other related topics. But today, we have something different for you, today we will be creating a Telegram bot for dog lovers.

Little Snippets to Keep Your Code Cleaner
Sometimes it’s harder to keep your code clean and readable than to implement some architecture in your application. We collected some snippets that may help you to refactor your code.

Indirect Invocation Considered Harmful
There is a bug in PHP that prevents scalar type declarations to be interpreted strictly when a function or method is invoked using the Reflection API.

Using Canaries for Input Detection and Response
The Canary PHP library combines input matching and automatic notification to make detecting potential attacks easier.

Persisted WordPress Admin Notices: Part 4
So far in this series, we've covered two separate ways to dismiss persistent WordPress admin notices. We'll build on that in this fourth and final part of the tutorial series by looking at two more specific methods to permanently dismiss your admin notices. We'll round things off by showing how to create your own custom admin notice types and add decorations such as icons.

Expressive 3.0.0RC1 is Now Ready!
We've been working diligently the past three weeks to finalize API changes and new features for the Expressive 3.0 release, and are pleased to announce immediate availability of our first release candidate, 3.0.0rc1!

How To Use System Configuration and Helpers in Magento 2
This tutorial for Magento 2 developers looks at the system configuration and use of helpers, which are designed to simplify your work with Magento store. A helper contains practical functions and can be called from anywhere.

Build a Newsletter Chatbot in PHP - Part 1
Email has been a great channel for staying in touch with your audience for years. But times are changing and messengers are taking over communication. Let's see how I used Facebook Messenger to build a little newsletter bot for my upcoming book "Build Chatbots with PHP".

WebSockets and Ratchet
Before we get into how to use WebSockets, let’s take a look at what the technology is and why it is important to Web app development. WebSockets are defined by IETF RFC 6455, which was standardised in 2011.  Today, the technology is rather well developed and available in most web browsers (Over 94% of global web users at the time of writing) via JavaScript. In truth, Sockets have been around since the beginning and WebSockets is just a newer way of using them in a standard way on the web – specifically as an HTTP-compatible TCP protocol.

Design Patterns in PHP
Today we are going to talk about design patterns in web development, more precisely – in PHP. Experienced developers are probably familiar with this, but this article will be extremely useful for all novice developers.

Guzzle Advanced Throttling Middleware and Laravel Package
Full stack developer Timo Prüße has created a Guzzle middleware that helps you set up advanced API request throttling within your Guzzle handler stack.

A Concrete Guide to Dependency Injection
As we develop concrete5, we are very conscious about keeping the code base modern, so that we don't have to go through a massive, painful rewrite like we did with version 5.7. This means that we're frequently deep in the weeds, applying new concepts and functionality to new and old code alike. With such a deep focus on code, it's easy to lose sight that many talented developers have no familiarity with terminology or concepts that we take for granted. With that in mind, I'm going to come up for air and explain some concepts that come up frequently when working in advanced concrete5 development.

Real-time Messaging With Nexmo and Laravel
Welcome back to the third and final (for now!) part of the Deskmo series. In part 1 we built a help desk application with support for sending and receiving messages via SMS. Part 2 added support for voice calls, with text-to-speech and transcription support. Today, we’re going to add in-app messaging using Nexmo Stitch.

An analemma is a diagram showing the position of the Sun in the sky over the course of a year, as viewed at a fixed time of day from the same location on Earth. I was wondering whether I could create an analemma from existing PHP functions.
News and Announcements

PHP 7.1.15 Released
The PHP development team announces the immediate availability of PHP 7.1.15. This is a security fix release, containing one security fix and many bug fixes. All PHP 7.1 users are encouraged to upgrade to this version.

PHP 5.6.34 Released
The PHP development team announces the immediate availability of PHP 5.6.34. This is a security release. One security bug was fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.

PHP 7.2.3 Released
The PHP development team announces the immediate availability of PHP 7.2.3. This is a security release with also contains several minor bug fixes. All PHP 7.2 users are encouraged to upgrade to this version.

PHP 7.0.28 Released
The PHP development team announces the immediate availability of PHP 7.0.28. This is a security release. One security bug was fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.

DrupalCon - April 9-13th April 2018, Nashville TN
DrupalCon unites experts from around the globe who create ambitious digital experiences. Network, learn, and be inspired. Tickets are on sale now.

CakePHP Conference - June 14-17th 2018, Nashville
CakeFest is organised for developers, managers and interested newcomers alike. Bringing a world of unique skill and talent together in a celebration and learning environment around the worlds most popular PHP framework. Celebrating over eleven years of success in the PHP and web development community, CakePHP’s 2018 conference will be an event not to miss. Early Bird Tickets are on sale now, and the Call for Papers is open.

Mid-Atlantic Developer Conference - July 13-14th 2018, Baltimore
Mid-Atlantic Dev Con is a polyglot event, designed to bring together programmers from the region, regardless of their choice of platform, for two full days of learning from each other and building a stronger regional community. 

PHP Detroit Conference - 26-28th July 2018, Livonia
PHPDetroit is a two-day, regional PHP conference that brings the community together to learn and grow. We're preceding the conference with a 2 track tutorial day that will feature 4 sessions covering various topics. We will also be running an UnCon alongside the main tracks on Friday and Saturday, where attendees can share unscheduled talks. Blind Bird Tickets are on sale now, and the Call for Papers is open.

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. The Call for Papers is now open.


That Podcast Episode 47: The One Where Silex Is Dead
Beau and Dave discuss the death of Silex with Kevin Boyd.

Full Stack Radio Podcast Episode 83: DHH - Stimulus in Practice + On Writing Software Well
In this episode, Adam talks to David Heinemeier Hansson about Basecamp's new JavaScript framework "Stimulus" as well as David's new YouTube series "On Writing Software Well".

Laravel News Podcast LN57: Laravel 5.6, Spark 6.0, and Framework Helpers
Join us for a whirlwind journey through the latest Laravel Framework and Spark releases, as well as community project Larastream, and more.

PHP Ugly Podcast #96: Our Hero Marcus
Topics include last months SDPHP meet up and CakePHP. 

Voices of the ElePHPant - It's The Booze Talking: Frameworks
In the latest edition of the It's The Booze Talking series, Cal Evans chatted to several members of the PHP community including Rob Allen and Chris Tankersley.

Sound of Symfony Podcast: Episode 19 - Live From San Francisco
In this episode we talk about Symfony Live San Francisco, and a lot about Symfony Flex.

Reading and Viewing

php[architect] Magazine March 2018 - Long Running PHP
It’s awesome to see the excitement and ongoing development around using PHP outside of the typical web server Request and Response flow. This month, we look at how to run PHP indefinitely, add to its syntax, use git more effectively with code reviews and code signing, and more.

The Month in WordPress: February 2018
Judging by the flurry of activity across the WordPress project throughout February, it looks like everyone is really getting into the swing of things for 2018. There have been a lot of interesting new developments, so read on to see what the community has been up to for the past month.

PHP Digest #14: New and Tools
Twice a month we publish our PHP digests so that you are up-to-date with the latest news, releases, tools, podcasts, videos, and other helpful materials for PHP ninjas. Go check what we’ve prepared for you this time!

Cloudways WordPress Interviews 2016 – 2017
In 2016 and 2017, we, at Cloudways, conducted a lot of interviews of WordPressers. We talked to developers, marketers, agency owners, freelancers and discovered what they have to say (everything) about WordPress and its critical issues. In this curated article, I will present the highlights of those interviews.


Senior Software Engineer (Onsite London)
SamKnows is working with governments, ISPs, consumers and academics worldwide to build the definitive global internet performance measurement platform. With over 100,000 hardware measurement probes distributed across 35 countries, and even more mobile app installations, we provide an accurate analysis of end-to-end internet performance. If you love big data, machine learning, and want to work in a fast-paced environment while contributing to the greater good, SamKnows could just be what you’re looking for.

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

This package can generate a sitemap without you having to add urls to it manually. This works by crawling your entire site.

The number one open-source survey software, advanced features like branching and multiple question types make it a valuable partner for survey-creation.

OroPlatform is a business application process management system that is a backbone of the OroCRM and OroCommerce.

This repo contains an easy to use class to dump a database using PHP. Currently MySQL, PostgreSQL, SQLite and MongoDB are supported.

Retrieve a users location from their IP address using external web services, or through a flat-file database hosted on your server.

A web application to build your own website or blog in seconds, it's completely free and open source.

Psalm is a static analysis tool for finding errors in PHP applications, built on top of PHP Parser.

A set of general purpose high-level abstractions aiming an API for declarative programming in PHP.

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

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

HTTP Mock for PHP mocks the server side of an HTTP request to allow integration testing with the HTTP side.

A web application for analysing your training - more detailed than any other sports diary.

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 ©