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 27, 2016

Hello PHP fans, thanks for joining us.

This week we take a look at what's in store for PHP performance, looking at what the future holds going forward from PHP 7.0.

We also have the next part of the Building Your Startup With PHP series, this time looking at OAuth integration with social networks to increase efficiency when signing in.

On the NomadPHP site there's a lightning talk about Fabrik, a custom application builder that works within Joomla! websites.

Plus in the latest Voices of the ElePHPant podcast, Cal Evans interviewed Kirsten Hunter, recorded earlier in the year at the php[tek] conference.

And finally, after the success of this years Dutch PHP Conference, the next one has already been booked! Save The Date  - 29/30th June to 1st July 2017.

We always appreciate feedback from our subscribers, so if you have anything you want to tell us, ask us or share with us, please drop us a line at [email protected].

Katie and Ade

We love our sponsors. Why not try them?

 From our sponsors:
MailChimp Holiday Tips MailChimp’s e-commerce tips will help you make the most of your holiday marketing.

(ads by LaunchBit) 


What's In Store for PHP Performance?
PHP 7.0 made significant improvements in terms of performance and memory use for real applications. Many applications deliver twice the throughput with much less memory just without any changes to the application code. But with networked API driven architectures individual response times are increasingly critical for end-user experience. Luckily, there are quite a few unbeaten paths for regarding PHP performance.

PHP 7 Deployment at Dailymotion
In March 2015, we started to think that code refactoring and architecture improvements, will not be the only way to optimise the response time on This is the core problem of websites with high load : “how to scale without investing too much in people/servers”.

What's new on - September 2016
This month's update comes to you a couple of weeks late, but only because we were on site at DrupalCon together with the community to move the project forward! 

ZendCon 2016
It's just past 5AM as I start writing this. I'm sitting downstairs in the ZendCon hotel, with a view on an empty bar and brightly coloured gambling machines. Since I woke up at 3AM (don't you love jetlag?) and today is the day I travel back home, I've been reflecting on the conference. I'll be missing a few sessions because I had to leave early, but I've already gotten a lot of new stuff to ponder about, my head is pretty full. Time to let it sink in a bit.

Drupal Cross-Squad Knowledge Sharing
We do lots of Drupal projects @ Liip, mainly in the Zürich and Fribourg offices. Since Liip is organised in individual and independent squads, we do not have lots of touchpoints or projects which we do cross-office wise. But all the squads doing Drupal have one thing in common: A big interest in Drupal and the strong will to do projects successfully.

Tutorials and Talks

Syntax Highlighting In Presentations
I often go back and forward between presentations software, trying to find the best one, never being happy. I recently used cleaver, which is nice for simple stuff, but this time I’m back to LibreOffice Impress because I don’t want to spend a long time fighting with layout. One task that’s never super obvious is figuring out how to do syntax highlighting of code in my presentations. I wanted to share my solution. I’m fairly sure this will also work for MS Office and maybe even Keynote.

Building Your Startup With PHP: Simplifying Onramp With OAuth
In this tutorial, I'll guide you through implementing OAuth integration with common social networks to make signing up and repeated usage easier and more efficient. I'll explore Facebook, Google, Twitter and LinkedIn, the networks I see as being most appropriate to Meeting Planner's target users. 

Modding Minecraft with PHP – Buildings from Code!
I’ve always wanted to make a Minecraft mod. Sadly, I was never very fond of re-learning Java, and that always seemed to be a requirement. Until recently. Thanks to dogged persistence, I’ve actually discovered a way to make Minecraft mods, without really knowing Java. There are a few tricks and caveats that will let us make all the mods we desire, from the comfort of our own PHP.

Shared Components Across Multiple Laravel/Lumen Micro-Services
At stomt we collect constructive feedback, boiled down to single arguments, recognise duplicates and merge them into movements. In this blog post, we show a way to split up large Laravel applications into smaller micro-services, in our case Laravel & Lumen applications, and the advantages and pitfalls it brings with it. As a result, we sped up our applications by more than 30% and achieved greater maintainability, too. These principles can, of course, be easily applied to other frameworks.

Importing and Aliasing PHP Functions
As a follow on to my short post about namespaces and functions from a year ago, I thought it would be worth covering importing a specific function and aliasing functions via namespace operators too. This has been possible since PHP 5.6, but there is a nice addition in PHP 7 I’ll cover towards the end.

Learn How To Use The TNTSearch Driver with Laravel Scout
Laravel Scout provides a simple, driver-based solution for adding full-text search to your Eloquent models. Out of the box, Laravel 5.3 ships with Algolia driver. However, we can easily write custom drivers; that’s exactly what TeamTnt has done by providing a TNTSearch driver for Laravel Scout.

How to Extract Text and Images From PDF File Using PHP
Extracting text from individual pages or whole PDF document files in PHP is easy using the PdfToText class. Read this article, the first of a series that will teach you about the challenge of processing the PDF file format and how the PdfToText class can be used to extract text and images from it.

5 New Features In PHP 7 That You Should Have A Look At
PHP is, by far, the most preferred programming language. But is PHP 7 the most exciting release of them all? Yes. The whole PHP community and the people linked to PHP are all excited to welcome the biggest release for PHP in decades. It surely adds more versatility to the already versatile language. Is this hype valid for PHP 7? What does it actually bring forth for the developers? Hop on and let’s take a deeper dive. Let's check out what new features PHP 7 has to offer, and what improvements those features will bring forth.

Method Overloading Is Possible in PHP (sort of)
PHP does not support method overloading. In case you’ve never heard of method overloading, it means that the language can pick a method based on which parameters you’re using to call it. This is possible in many other programming languages like Java, C++. With some clever coding however, Adam Wathan has made a trait, aptly called Overloadable, that makes method overloading possible.

The New Notification System in Laravel 5.3
In a previous blog post I've covered Laravel's new Mailable feature, which introduces some important changes to how we send mail in Laravel. I'd recommend at least skimming it if you haven't read it yet. In short, the preferred mail syntax is no longer sending mail using the "classic" mail closures, but instead creating a "Mailable" class for each message you want to send - for example, the "WelcomeNewUser" mailable class. In Laravel 5.3, we have another new feature for communicating with our users: Notifications.

Testing PHP Code with Atoum – An Alternative to PHPUnit
If you’ve been around PHP for more than a little while, you’ve no doubt started to test your code. And if you ask anyone in the PHP space what to use for writing unit tests, likely the first answer that they’ll give you is PHPUnit. It’s the de facto standard in the PHP community, and with good reason. But it’s not the only choice. Whilst it does command the lion’s share, other choices abound, one of which I’m going to take you through in this tutorial; it’s called atoum.
News and Announcements

Scotland PHP Conference - 29th October 2016, Edinburgh
Scotland's first and best PHP conference, ScotlandPHP is a one day conference held in our nation's capital, Edinburgh. There will be two tracks across the day packed with the best speakers around, bookended by keynotes from our world class speakers. Tickets are on sale now.

php[world] - November 14-18th 2016, Washington DC
php[world] is a conference like no other.  Designed to bring together the various sub-communities that are linked by the PHP programming language. Drupal, WordPress, Joomla!, Magento, Laravel, Zend Framework, Symfony and CakePHP all have strong independent communities, but together as the PHP community, the sum is greater than the whole. Tickets are on sale now.

Sunshine PHP Conference - 2nd-4th February 2017, Miami
The SunshinePHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida from February 2nd - 4th, 2017, and you're invited! We'll host some of the best speakers, awesome talk topics, latest technologies, and up to date news in PHP. And don't forget our Hack-a-thon and Uncon'ference, as well as a great hallway track! The conference has something for every level of PHP developer. We start with a full day of 8 PHP related tutorials and workshops that are each 3 hours of in-depth information. Next we follow that with 2 days containing 5 keynotes and 40 PHP talks over 4 tracks. Early
Bird tickets are on sale now.

ConFoo - 8-10th March 2017, Montreal
ConFoo Montreal is a multi-technology conference for web developers, offering a great diversity in content to expand your knowledge and increase your productivity. Learn from 100 international experts. Discounted tickets are on sale now.

Dutch PHP Conference  - 29-30th June-1st July 2017, Amsterdam
Mark your calendars and Save the Date for next years DPC on June 29, 30 and July 1st 2017 again in Amsterdam! Hope to see you all again next year!


The Laracasts Snippets Episode 46: Get Carried Away
My favourite sorts of people are the ones who allow themselves to get carried away over simple things. It's contagious. I dare you to listen to an incredibly passionate fan, of any possible thing, and not be pulled in and inspired by their excitement. Society refers to this as nerd culture, which I find a bit dismissive and critical. If "nerdy" translates to "someone who can't help but get excited," then count me in.

Voices of the ElePHPant - Interview with Kirsten Hunter
Recorded earlier in the year at the php[tek] 2016 conference, Cal Evans chatted to PHP community member Kirsten Hunter about her work at Akamai, among other things.

MageTalk Magento Podcast #103 – IRCE 2016 Interviews #3 (w/ Agnes Rey-Tinat)
A lost interview from IRCE 2016! Phillip chats about globalization and logistics with Agnes Rey-Tinat of iD Commerce.

LaraChat Live - Episode # 16
The sixteenth episode from the Slack Channel devoted to learning about Laravel.

dev/hell Podcast Episode 84: Whiny Feedback Loops
Chris and Ed record a very quick show to talk about Ed’s latest conference adventure, the launch of some new stuff from OSMI, and Chris talks about feedback loops, hoodies that don’t fit, and the end of TrueNorthPHP.

John Morris Podcast - How to Find Your Niche In Web Development
This week, after varying comments on his YouTube site,  John Morris gives advice on how developers can and should find new clients.

Reading and Viewing

Incorporating Custom PHP Code in Fabrik Website Applications
Fabrik is a custom application builder that works inside of Joomla! websites. The structure allows for non-coders to build basic applications and PHP developers to add custom code throughout to create more complex applications. We’ll take a quick look at the various areas where coders can add their PHP snippets or even write full plugins.

Interview with Internet Marketer and Evangelist Zac Johnson
Zac Johnson is one of the few pioneers from the field of Affiliate Marketing. He is the man behind, where he shares his experience of how he made a living out of blogging. In this exclusive interview with Cloudways, Zac talks in detail about how he started making money online using affiliate marketing and blogging. He takes us through his journey of ups and downs, in and outs of affiliate marketing. 

New Coffee Break Course on Creating WordPress Child Themes
If you want to tweak or customise a WordPress theme - whether a built-in theme or theme downloaded from elsewhere - a child theme is the way to go. Otherwise, if you customise the theme directly, all your work will be lost when the theme updates! In this Coffee Break Course, Envato Tuts+ instructor Rachel McCollin will teach you how to customise a WordPress theme by using a child theme. You'll see how to set up your child theme, how to customise the style of a screen element, and how to modify a theme template for extra control. Watch the video here.

Web Security 2016 – (by Oscar Merida, Edward Barnard, Leszek Krupinski and Nicola Pietroluongo, published 23rd Sep 2016)
Are you keeping up with modern security practices? This anthology collects articles first published in php[architect] magazine. Each one touches on a security topic to help you harden and secure your PHP and web applications. Your users' information is important, make sure you're treating it with care.

Lumen Programming Guide: Writing PHP Microservices, REST and Web Service APIs (by Paul Redmond, published 24th Sep 2016)
Learn to write test-driven microservices, REST APIs, and web service APIs with PHP using the Lumen micro-framework, from the now popular Laravel family. This book shows you how testing APIs can help you write bullet-proof web application services and micro services.


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 Simple Scheduler with one time or recurring events [Cronjob, Task Scheduler].

Exercism exercises in PHP.

Accelerates Behat using features available only for newer PHP versions.

Development mirror of PHP-Fusion Developers Network Server.

Behance PHPCS Sniffs.

Mailgun's Official SDK for PHP.

Raspberry IP Camera configurable through PHP web interface.

G\ (spelled G Backslash) is an elegant micro-framework that helps you to quickly build PHP web applications like never before.

Main phpipam server repository.

Unofficial github repository for PHPlot.

CMS based on Phalcon PHP Framework with modular structure.

SimplePie is a very fast and easy-to-use class, written in PHP, that puts the 'simple' back into 'really simple syndication'.
Please help us by clicking to our sponsor:

 From our sponsors:
MailChimp Holiday Tips MailChimp’s e-commerce tips will help you make the most of your holiday marketing.

(ads by LaunchBit) 

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 

Protect your PHP code with SourceGuardian 10. Free trial.


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 ©