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 26, 2017

Hi there PHP fans.

Are you are looking to recruit new staff?
Looking for a high standard of applicant?
Would you like to reach out to the PHP Community to fill your position? 
Where better to advertise your job openings then on 

Do you want to entice new talent, or new business, to your business?
How about sponsoring an edition of A stand out advert at the top of our page will catch the eyes of our subscribers.

With our subscriber list nudging 22,000, you could just find exactly who, or what, you are looking for right here.

For more information drop me a line at [email protected].

Have a great weekend,

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.


The 3 Paragraph Pit
Earlier this week a fellow PHP public figure tweeted saying that I write great session proposals for conferences. After I finished blushing I reached out to him and we talked a bit about what it was he likes about them. (Whatever I'm doing right, I want to know to keep doing it!) Based on that, I figured it would be educational to dissect how I go about writing session proposals for conferences and hope that conference organizers don't catch on to my tricks. :-)

The Blockchain Fundamentals for Developers
During my journey with the cryptocurrency, I realised this is a common problem to find a highly qualified programmer who used to work with the cryptocurrency network. This is like finding a big panda in China – they are super rare. So, finally I was called a big panda and because I like to have some big panda friends, I decided to share the knowledge and my experience. I will create a set of articles about the blockchain, the idea and general view, cryptocurrency – the Bitcoin, the Ethereum (including smart contracts), EOS (new fancy cryptocurrency that may be a trendsetter next year) and all troubles and problems that we faced.

Where Is The Drupal Community?
Open conversation is essential to the wellbeing of any community. It is especially important now, as we collaboratively determine how to evolve our governance. To help the community come together and share in a safe and respectful environment, we have arranged community discussions at DrupalCon and virtually.

Tutorials and Talks

A Laravel Package to Log HTTP Requests
Most of the sites we build for our clients contain some sort of contact form. For those client such forms are potentially critical to their business. Imagine for instance a real estate firm that generates leads with such forms. In most cases we will store the submitted values in the db and mail them out to our client. But what if the database is down? For that case we wanted to have an extra safety net and that’s why we created our new laravel-http-logger package.

How To Create and Manage Magento 2 Customer Groups
Magento 2 Customer Groups is great tool that gives you the ability to offer your customer different incentives on pricing and promotion based on their grouping. You can also restrict your products so only selected group of customers can see and purchase them. This tutorial will help you in creating your own customer groups in Magento from the back end of your website.

How To Connect ELK With Monolog
ELK is awesome stack for logging. Monolog is awesome PHP logging library. Let's make them work together.

Running Symfony Without A Web Server On Docker Using PHP-PM
Docker containers have been becoming an increasingly common deployment method in the past few years. I've deployed some Node.js app in containers, which are very simple to deploy as there's a single process that's easy to run. I found running PHP to be more complex.

Package Management in Laravel
In this article we'll go ahead and explore the package management feature in the Laravel framework. In the course of the article, we’ll go through a real-world example to demonstrate the purpose of the article.
Short and Safe Array Iteration
One reason to follow development mailing lists is you sometimes pick up on some very neat tricks. Here's one that I spotted on the PHP Internals list recently to simplify array iteration in PHP 7.

Benefitting From HTTP2 Server Push and Other HTTP 2 Performance Advantages in PHP
HTTP 2 is the newer HTTP protocol version that provides several types of advantages in terms of performance. Read this article to learn how to take advantage of the HTTP2 Server Push feature to improve the performance of PHP sites.

Injectables vs. Newables
Many projects I join - even those that claim to already do dependency injection - suffer from issues that result from mixing injectable and newable classes. Keeping these two appart seems to be challenging for many developers so that I try to give them a handy guide with Do's and Dont's in this blog post.

Playing With IoT, MQTT, Arduino and Raspberry Pi. Building a Dashboard with OpenUI5k
I’ve been playing with MQTT in previous posts. Today I want to build a simple dashboard. Basically because I’ve got a 3.5inch display for my Raspberry Py and I want to use it. The idea is set up my Rasperry Pi as a web kiosk and display the MQTT variables in real time using websockets. Let’s start

Git and WordPress: How to Auto-Update Posts with Pull Requests
At, we also use WordPress for now, and use the same peer review approach for content as we do at SitePoint. We decided to build a tool which automatically pulls content from merged pull requests into articles, giving us the ability to fix typos and update posts from Github, and see the changes reflected on the live site. This tutorial will walk you through the creation of this tool, so you can start using it for your own WordPress site, or build your own version.

Conditional Operators in PHP
Like any programming language, PHP supports conditional statements to execute specific blocks of code if a statement is true (or false) or some condition is met. If you’re familiar with conditional statements in other programming languages PHP should give you no trouble, but there are a couple lesser-known operators (ternary and null coalescing) that will be covered at the end.

How To Use YouTube to MP3 API Class
YouTube is a very popular community for the video publishers community. A lot of users would like to watch videos offline so they can view the videos later when they are at locations where they do not have good Internet connectivity. Sometimes they just need to get the audio of the video to listen later. Read this article to learn how to use YouTube to MP3 API class to retrieve the MP3 audio of YouTube video using PHP.

Displaying errors in Expressive with Twig
If you're not using the Whoops error handler with Expressive and are using the Twig renderer, then you are given no information about the problem that occurred, even in debug mode. Learn how to fix this.

How Do I Deploy my Symfony API - Part 4 - Deploy
This is the forth post from a series of posts that will describe the whole deploy process from development to production. The first article is available here, the second here and the third here. After covering the steps 1-3 and having prepared our infrastructure, we can see how to deploy our application to production. Almost the same approach can be used to deploy not only to production but also to test environments.

Writing Clean Code (Part 2)
In Part 1 of Writing Clean Code I outlined three simple practices of formatting, naming, and avoiding nested code. All in an effort to improve code readability. In Part 2, I want to go a little deeper and cover grouping. When I say grouping, I’m really talking about the Object Oriented Programming paradigm of encapsulation. Whether we group the code into a function or a class is often not important. What is important is did we improve the readability of the code.

Introduction to Objects and References in PHP Memory
In this article, I will talk about how object and variable references are controlled in memory, since this is an issue that can generate discussion and differing opinions. One question to ponder is: “By default, are objects passed by reference or by copy in PHP?” I’m going to talk first about what references are not in PHP; secondly, I’ll discuss what they are, and finally, I will examine how the garbage collector works in PHP.
News and Announcements

WordPress 4.9 Beta 3
WordPress 4.9 Beta 3 is now available! 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.

PHP Benelux - 26-27th January 2018, Antwerp
We are excited to announce the date for PHPBenelux 2018. Like every year we will have a theme, for this year all activities will be sports themed; Relax while watching some games, join the fun or just be a good sport. The conference is spread over 2 days: Friday afternoon (after the tutorials) and Saturday. Tutorials as well as the conference itself are spread over several parallel tracks. On Friday and Saturday evening, we’re having the conference social. This will include drinks and all the cool side activities. Tickets are on sale now.

Midwest PHP Conference - 9-10th March 2018, Minnesota
Midwest PHP is the FUN conference. This is our fifth annual conference, and each year it gets better and better. Our goal is to share best practices, ideas, and techniques about building state-of-the-art software applications. The Call for Papers is still open, and Blind Bird tickets are on sale now.

PHPCE - November 3rd-5th 2017 Rawa Mazowiecka, Poland
phpCE is the first edition of a community conference for PHP programmers and enthusiasts. The meeting was established by merging two nation-wide events: PHPCon Poland and Brno PHP Conference. 

Scotland PHP Conference - November 4th 2017, Edinburgh
The Scotland PHP Conference is back for a second time, where community members from around the world come together to learn and share information about the latest trends and technologies in professional PHP development. Tickets are on sale now. 


The Laracasts Snippets Episode 70: The Key Ingredient
I've come to learn that discipline is the key ingredient to every successful person I've ever met. It's obvious; we all know this. So why is it so hard to apply to ourselves?

php[architect] Podcast Episode 3 - Composing Software
Welcome to the third episode of the php[podcast]. In this episode, we dive into the October 2017 issue and how to use Composer to build a modern PHP application. Do you have a thought on the topics covered? Do you use queues obsessively or not? Let us know.

North Meets South Web Podcast Episode 35 - Promises, Empathy, and the Ivy Lee Method
Jake and Michael talk late into the night about Andrew Del Prete's JavaScript Promises course, uploading files to Amazon S3 with DropzoneJS, books they've been reading, and more.

Voices of the ElePHPant - Interview with Samantha Quiñones
This week Cal Evans chatted to polyglot hacker, writer, speaker, and principal engineer @AOL Samantha Quiñones.

Changelog Podcast #265: The Future of RethinkDB
Mike Glukhovsky joined the show to talk about the future of RethinkDB. Mike was a co-founder of RethinkDB along-side Slava Akhmechet. RethinkDB shutdown a year ago officially on October 5, 2016 — and today we're talking through all the details with Mike. The shutdown, getting purchased by the CNCF, relicensing, buying back their IP and source code, community and governance, and some specific features that Mike and the rest of the community are excited about.

LaraChat Live - Episode #32 - Mgmt Failure or Dev Failure
Failures happen in tech, who is responsible? Management or Development?

PHPUgly Podcast #78: An Avocado Nightmare
Team talks Android Auto, Hacktoberfest, and fun facts. 

Reading and Viewing

Webinar Recap: Ongoing Management Of Your PHP 7 Application
Jan Burkl, systems engineer and overall PHP wizard walked through what it takes to manage PHP applications. Taking the day-to-day viewpoint, Jan dissected each area into its many parts.

Cloudways Interview - Magdalena Banasiak Discusses Sylius, Her Software Development Career And Ecommerce Platforms
I am delighted to have Magdalena Banasiak for an interesting interview with Cloudways. Magdalena is currently working as a Project Manager and Documentation Lead at Sylius. She is pretty diversified when it comes to skills in software development and software project management. In addition, her understanding of software documentation is exceptional, and she maintains Sylius official documentation all by herself. This interview offers her views about her career and how the Sylius, an emerging ecommerce Platform is taking on Magento and WooCommerce.

Interview with Pawel Jedrzejewski, Founder of Sylius Project
Sylius, an e-commerce project based on Symfony components, recently released its 1.0.0 stable version. After several years of work and thousands of commits from hundred of contributors, Sylius is now ready to take the e-commerce world by storm. We chatted with Paweł Jędrzejewski, founder and leader of the project, to celebrate this milestone.


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 [email protected]

Interesting Projects, Tools and Libraries

A static analysis tool for finding errors in PHP applications.

Yclas Self Hosted is a powerful script that can transform any domain into a fully customisable classifieds site within a few seconds. 

A deployment tool written in PHP with support for popular frameworks out of the box.

An async HTTP/1.1 client for PHP based on Amp.

A generator parser to make streaming parsers simple.

A non-blocking HTTP application, WebSocket and file server.

A PHP console library, provide console argument parse,color style,user interactive, information show.

Craft/Craft 3 Beta CMS Docker base (Nginx, PHP-FPM 7, MariaDB/PostgreSQL, Redis/Memcached).

It's Hacktoberfest!! SendGrid is giving out shirts if you make pull requests! 

This Generator package provides various generators like CRUD, API, Controller, Model, Migration, View for your painless development of your applications.

Microweber is a new generation content management system that allows you to create a website using drag and drop.

"Firefly III" is a financial manager for your personal finances that can help you keep track of your expenses and income.

PHPJasper is the best solution to compile and process JasperReports (.jrxml & .jasper files) just using PHP, in short: to generate reports using PHP.

Feature toggling for your PHP application.

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 ©