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!

June 29, 2017

Hello to the PHP community, and welcome to

This week, if you are looking for contact form PHP scripts, take a look at twelve of the very best right here.

We've got the third and final part in the series on dynamic page templates in WordPress, creating fully working examples for you to use on your own projects.

Also this week, the 2017 Drupal Business Survey is out now. Created to learn about the health, focus, and needs of the Drupal community, all business leaders are encouraged to participate. 

Plus in this weeks North Meets South West Podcast, our hosts are joined by a couple of up and coming Laravel community members to chat about a wide range of topics.

And finally, with Laracon US tickets long since sold out, the Live Stream tickets are now on sale. Watch the whole thing from the comfort of your own chair, and then watch again later on the video archives.

Have a great weekend,

Katie and Ade

Please help us by clicking to our sponsor:

encrypt php scriptsProtect 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.


What’s new on - May 2017
After returning from DrupalCon Baltimore at the end of April, we spent May regrouping and focusing on spring cleaning tasks. It's important for any technical team to spend time on stability and maintenance, and we used May to find improvements in these areas and look for some other efficiencies.

12 Best Contact Form PHP Scripts
Contact forms are a must have for every website. They encourage your site visitors to engage with you while potentially lowering the amount of spam you get. For businesses, this engagement with visitors increases the chances of turning them into clients or customers and thus increasing revenue. Whether your need is for a simple three-line contact form or a more complex one that offers loads of options and functions, you’re sure to find the right PHP contact form here in our 12 Best Contact Form PHP Scripts on CodeCanyon.

How to Choose a DDoS Protection Service for Your Websites
Unless you’ve taken the necessary steps to protect your websites, they’re highly vulnerable to DDoS attacks. Now you might think of a DDoS attack as the attack that knocked out French news sites after the country’s election in May. Or you may think of the attack in October 2016 when subscribers couldn’t access the New York Times or Wired because hackers used DDoS to attack the DNS provider. In those cases, the system was hit with so many requests from bots around the globe that they couldn’t handle legitimate requests. And that, in a nutshell, is a DDoS attack. It’s flooding the service with so many requests that the system grinds to a halt.

Tutorials and Talks

Profiling Spark Applications: The Easy Way
Recently, I thought about some one-click way to profile Spark applications, so it could be easily integrated in any work environment without the need to configure the system. The modern way to report profile statistics about an application (any application, not just Spark or Java application) is generating a single .SVG file called "flame graph". Since this is a regular vector graphic format, the file can be opened in any browser. Moreover, you can navigate between different stack frames by clicking on them, and even search for a symbol name by clicking on "Search" link.

Ionic 3 and Angular 4: PHP Restful API User Authentication for Login and Signup
Here is the continued article on my previous post for creating a welcome page with login and logout. Today’s post explains how to implement login authentication system for your AngularJS applications. It will show you how to log in with a user and store the user session, so it deals with token based authentication. 

How to Migrate from Zend Expressive Version 1 to 2 with Command-Line Tooling Support
In part one of this series, we started learning about the tooling support available for Zend Expressive, provided by Zend Expressive Tooling There, we learned how we can use the package to create, register, and deregister middleware, and scaffold new modules. But that's only half of what the package can do. Here, in part two, let's learn about the other half, which removes some of the heavy lifting required when migrating Zend Expressive applications from version one to two.

Playing with Raspberry Pi, Arduino, NodeMcu and MQTT
These days I’m playing with IoT. Today I want to use MQTT protocol to comunicate between different devices. First I’ve start a mqtt broker in my Laptop. For testing I’ll use mosquitto server. In production we can use RabbitMQ or even a 3party server such as or even Amazon’s IoT service.

Dynamic Page Templates in WordPress, Part 3
In the first two parts of this tutorial series, we covered what dynamic page templates were and why they were needed. We also looked at the code required to implement them. In this third and final tutorial in the series, I'll be creating two examples of fully working dynamic page templates you can use in your own projects. These were specifically chosen to be easily extendable to suit your own needs, and are intended as inspiration for any other type of dynamic page templates you can think of.

Event Sourcing For The Rest Of Us
Event Sourcing, The CommandBus or Repository of 2017? Surly you’ve heard about it, but what exactly is it? Event sourcing can be described as storing the events that happened in your system in the order they happened, in some kind of store. These events are then replayed to recreate state in your system, rather than just having a single row in a table, using event sourcing, you have a full history of actions that happened in your system, and how your state got to the given point that it is in.

There’s a Gender Extension for PHP
Unlike in our “mainstream” paid course about exploring PHP, I like to explore the weird and forgotten areas of the language. Recently, I ventured into a section of the PHP manual which lists extensions that are used to help with Human Language and Character Encoding. I had never looked at them as a whole – while dealing with gettext, for example, I always kind of landed directly on it and ignored the rest. Well, of those others, there’s one that caught my eye – especially in this day and age given the various controversies – the Gender extension.

Create A Contact Form In Laravel That Sends You An Email
Laravel is well known for providing multiple solutions for a problem. This is one of the main reasons of the popularity of the framework. Popular Laravel solutions cover routine functionality such as authentication, sessions, routing, and caching. Contact Us forms are another routine functionality that is a requirement of more or less every website. In this article, I am going to demonstrate how you can easily create a contact form in Laravel with email.

Maybe in PHP
In this post I would like to propose as an example how we could implement the Maybe type in PHP. We will see how some open source libraries do this, we will see an alternative solution and we will raise concerns about some modelling issues.

Mautic Step 1 – Configuring an Email Service Provider
An ESP is an Email Service Provider. What once was just a service running on a server, is now a service you can pay for instead of having to manage yourself. Trust me, it’s worth it to pay for this one. :) There are two things that really confuse me about Mautic, properly configuring an ESP, and segmenting & tagging. We’ll tackle the latter one in a later post, but the former is an important topic. It is also one that I do not fully understand. What is presented here is what I have learned through trial and error. It may be partially or wholly incorrect. If you find something that I’ve gotten wrong, please, by all means, correct me in the comments.

Porting a Symfony 3 Application to Flex
Earlier this year I did some experimenting with a Hybrid state object between Symfony Twig templates and front end JavaScript frameworks. Since that time I did that experiment, the Symfony Flex project has progressed. I thought I would try how to port the state prototype to Symfony Flex.

Insights into Laravel Package Design
Laravel is a massively influential PHP framework, and its simple but powerful design means that it’s easy to utilise packages in your application. In this blog post we will look at the basics of creating and installing Laravel packages.

Your First GraphQL API - Pagination
Pagination is a common technique for loading large data set. It provides good user experience without sacrificing server performance. In this tutorial, we are going to implement pagination for our data table.

Announcing A Visual Editor for PHP Serialised Data
I recently built a command line daemon in PHP to emulate AWS SQSD for the purposes of testing in Mergebot. As it turns out, one of the benefits of building a large, complex product like Mergebot is that there are pieces of the system that we need to build for the project that might be of use to other developers. Today, we’re launching that system piece, a free online visual editor for PHP serialised data as In this article, I’ll explain how and why we built this “side” project and how I overcame some of the challenges I faced when building this project.
News and Announcements

PHP 7.2.0 Alpha 2 Released
The PHP development team announces the immediate availability of PHP 7.2.0 Alpha 2. This release contains fixes and improvements relative to Alpha 1. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system. THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!

PHP7-compatible GeSHi Is Out
Three years after the last release on 2017-05-05, Benny and I released version of GeSHi, the Generic Syntax Highlighter for PHP.

June 2017 PHP Community (coffee) Cup of Service Winner
It is time for the June 2017 PHP Community (coffee) Cup of Service award. This month it goes to someone who has been giving to PHP for more than 15 years, Ms. Sara Golemon.

Welcoming Phinx to the CakePHP Family!
We are very excited to announce that Phinx has joined the CakePHP team. The Github project has already been moved to the CakePHP organisation. The project itself will stay MIT-licensed but be gradually transformed into a Cake Software Foundation project. Other great news is that the current way to install and update Phinx remains unchanged.

Laracon US 25-26th July 2017 - Live Stream Tickets on Sale Now
Laracon US is once again offering tickets to the live stream, plus early access to the recorded videos, for $29.99. Please note that the live stream feed connection information will be distributed the day of the conference. This ticket also includes early access to full video archives. Refunds are generally not distributed in the event of connection problems since early access to video archives is provided.

Madison PHP Conference - September 22nd-23rd 2017, Madison
Madison PHP Conference in Madison, Wisconsin focuses on PHP and related web technologies. This event is organised by Madison PHP and is designed to offer something to attendees at all skill levels. It will be two days of networking, learning, sharing, and great fun! Tickets are on sale now.

Drupal Con - 26-29th September 2017, Vienna
DrupalCon is an international event that brings together the people who use, develop, design and support the Drupal Platform. 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. Early Bird tickets are on sale now.


Lately In PHP Podcast: PHP and JavaScript Innovation Award Report June 2017 Edition - March 2017 Nominees
This is the June 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 March 2017.

dev/hell Podcast Episode 92: JSON and The Argonauts
“…and that’s why this podcast is rated M for mature”. Chris and Ed talk about their thoughts on what might have to change once you become “internet famous” and a reminder that even if you have made mistakes in the past, you can choose to correct them in the future. We also include a new segment called “What toys did we buy?” to reflect how the hosts numb the pain of every day living through conspicuous consumption. Thanks to Chance Garcia for allowing us to bring another health issue to peoples attention.

Voices of the ElePHPant - Interview with Heather White
This week Cal Evans interviewed president of One for All Events Heather White.

Changelog Podcast #254: Deploying
This week we take you behind the scenes of the new infrastructure for and talk with Gerhard Lazu. We relaunched the new brand and site for Changelog on Phoenix/Elixir in October of 2016 and we needed a better way to reliably host and deploy the site. That's where Gerhard came in. We cover all the details and decisions in this show.

Full Stack Radio Podcast Episode 67: Launch Takeways, Interface Breakthroughs, and First Round Armbars
In this episode, David shares some lessons learned from the PushSilver Infinite launch: what went well, what could've been improved, and what he would double down on next time. Adam talks about some of the UI design challenges he and Steve have been trying to solve, and shares some of the creative solutions they came up with.

MageTalk Magento Podcast #133 - The Gartner Report
The guys give their take on the 2017 Gartner Magic Quadrant Ecommerce Platform Report.

LaraChat Live - Episode #28: Work/Life Balance & OSMI
Today we chat with Joe Ferguson about Work/Life balances and his work with OSMI and Open Sourcing Mental Illness.

The Laracasts Snippets Episode 64: Your Twitter Bio Says More Than You Think
I noticed something this morning: the developers I most frequently disagree with on Twitter place code acronyms in their bio. SOLID, DDD, etc. On the flip side, the coders I most respect nearly 100% of the time never do. How come? Let's talk about what this might indicate about the type of developer you are.

Zend Framework Quick Bites Episode 27 - Introducing the Zend Expressive Essentials Book & Course
If you're getting a lot out of the Zend Expressive tutorials on Master Zend Framework, then you're going to love the new book and course that I'm creating!

PHP Ugly Podcast #61: WannaCry Babies
Topics include why does PHP 7.1 use 61% more memory than PHP 7.0?

North Meets South Web Podcast Episode 31 - Podcasting, Side Hustles, and The Importance of Being Earnest
In this episode, Jake and Michael are joined by up-and-coming Laravel community members Caleb Porzio and Daniel Coulbourne for a casual chat about a wide array of topics from podcasting, to side hustles, and the importance of being earnest.

Reading and Viewing

Calling all Drupal Agency Leaders: Participate in the 2017 Drupal Business Survey
Surrounding Drupal is a thriving global business ecosystem and, thanks to collaboration with One Shoe and Exove, we’ve created an annual survey that gives insight into its health, focus, and needs. Businesses benefit by learning from their peers and seeing Drupals business trends. This survey also helps the Drupal Association find new ways to help support this community. We encourage all business leaders to take this years Drupal Business Survey.  

Cloudways Interview - Jisse Reitsma Speaks About Magento Performance, Security And Magento 2
Jisse Reitsma – Magento Master 2017, is the Founder of Yireo. He has been with Magento from the beginning when Yoav Kutner and Roy Rubin were responsible for the platform back in 2009. Nowadays, he is mainly focused on Magento 2 training and promotion in different meetups, seminars, sessions, etc. Jisse is the developer mind person. He is a family guy and loves to spend time with his family. So without further ado, let’s read his interview.

Layman Steps: A Beginners Steps to Building Beautiful WordPress Theme with Bootstrap (Kindle Edition by The Layman, published 4th June 2017)
This book assumes that the reader has a basic understanding of HTML and can at least put together a simple static website. This book does not assume you have prior knowledge of PHP, WordPress Theme development or MySQL - although if you do, your progress through the steps will be even quicker. Start building Wordpress theme styling with bootstrap for fun.

PHP 7 Data Structures and Algorithms (Kindle Edition by Mizanur Rahman, published 6th June 2017)
PHP has always been the the go-to language for web based application development, but there are materials and resources you can refer to to see how it works. Data structures and algorithms help you to code and execute them effectively, cutting down on processing time significantly. If you want to explore data structures and algorithms in a practical way with real-life projects, then this book is for you.


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

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.

Mocks, stubs and spies for PHP.

Simple library to count shares or generate share buttons.

In short soluble-japha allows to write Java code in PHP and interact with the JVM ecosystem.

A lightweight PHP framework.

A high performance web framework and application server in PHP.

PHP beanstalk connection and connection pool library.

The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects.

Lightweight PHP template framework.

A non-blocking HTTP/1.1 application, websocket and static file server written in PHP.

PHP extension for Cloudinary, a cloud service that offers a solution to a web application's entire image management pipeline.

PHPMailer is a full-featured email creation and transfer class for PHP.

Saffron is very fast and flexible PHP router for your application.

Please help us by clicking to our sponsor:

encrypt php scriptsProtect 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 ©