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!

July 14, 2016

Welcome Back PHP Fans,

The latest Alpha for PHP 7 has been released this week. PHP 7.1.0 Alpha 3 is available immediately.

Also this week, has your company decided it's time to "do community"? Get some tips on how to build a community presence.

We take a look at the brilliant tiny computer Raspberry Pi, and how to use it to power projects with PHP.

Plus Adam Culp and Cal Evans gave a question and answer session, from a conference organiser's perspective, on how conference talks are selected.

And finally, PHP South Africa has been announced, taking place over three days in September, in Johannesburg. Early Bird tickets are currently on sale.

Have a great weekend folks, and thanks for reading.

Ade and Katie

We love our sponsors. Why not try them?

From our sponsors:

SourceGuardian 25% Exclusively to PHP Weekly readers, we have an offer on SourceGuardian, up until the end of July2016 (was June 2016, but its been extended), to receive 25% off the purchase price of SourceGuardian. Protect your PHP code. Download the free trial and use the following discount code: bldcvzrh0FIw5AoY


Do PHP and IoT Have a Future Together?
A whole week of mostly IoT resources on every channel and, yes, that includes PHP. What? “PHP and IoT!? Surely you’re mistaken!”, you must be thinking. No, dear reader. PHP and IoT go well together – better than one might expect. In this post, we’ll list some getting started resources. 

20 Useful PHP Frameworks Available on CodeCanyon
A framework "is designed to support the development of web applications including web services, web resources and web APIs. Web frameworks aim to alleviate the overhead associated with common activities performed in web development." So with that, let's look at 20 useful PHP frameworks available on Envato Market.

Shutting Down Magium (and (Eventually) Looking For a New Awesome Company to Work For)
If you don’t know what Magium is, it is a Selenium based testing framework for Magento and other platforms that makes it much, MUCH, easier to test those applications. I’ve been working on it since December and it is now 7 months out. 7 months of very little income (thank you to MagentoU for having me do some training work for you).  And after 7 months of working on Magium with little by way of progress (as a business - the technology progressed quite nicely) I’ve decided that it’s time to throw in the towel.

Drupal is for Ambitious Digital Experiences
If you ask different people what Drupal is for, you'll get many different answers. This isn't a surprise, because over the years the answers to this fundamental question have evolved. Drupal started as a tool for hobbyists building community websites, but over time it's evolved to support large and sophisticated use cases.

Building a Community Presence
Your company has decided it needs to “do community”, whatever that means. You’re community manager number one, what now? From my time as a developer advocate/evangelist under both marketing and engineering teams, I have come to some conclusions about how to build community presence. Though my experience is mostly with technical communities, this should apply pretty well to any community building.

Internationalizing WordPress Projects: The Introduction
A few years ago, I wrote about the process of internationalizing WordPress-based projects. Though I think there are some times when tutorials don't necessarily need updating, refreshing, or revisiting, there are other times in which we can all benefit from revisiting the topic.

Tutorials and Talks

New in Symfony 3.2: Console Improvements (Part 1)
The Console component will receive a lot of new features in Symfony 3.2, mostly related to improving its DX (developer experience). In this first of a two-part series, we introduce four of those new features.

A Package To Log Activity in a Laravel App
In your apps there’s probably a lot going on. Users log in and out, they create, update and delete content, mails get sent and so on. For an administrator of an app these events provide useful insights. In almost every project we make at Spatie we log these events and show them in the admin-section of our site. Here’s how that looks in our Laravel template called Blender.

Disco with Design Patterns: A Fresh Look at Dependency Injection
Dependency Injection is all about code reusability. It’s a design pattern aiming to make high-level code reusable, by separating the object creation / configuration from usage.

An opensource Drupal Theme for the Swiss Confederation
After having contributed to the official styleguide of the Swiss Federal Government, and having implemented it on a couple of websites, we decided to go further and bring these style guides into a theme for Drupal, a well-known, pluripotent and robust CMS we implement regularly at Liip.

JSON Notation for PHP 7.0
JSON is by far the most common API request format. I design, build and fix API servers for a living. I write a lot of API tests as a result. I often find myself wishing that I could write JSON directly in PHP code like this...

Standalone Doctrine Migrations redux
Since I last wrote about using the Doctrine project's Migrations tool independently of Doctrine's ORM, it's now stable and much easier to get going with.

Securing a PHP Application in 2016: The Pocket Guide
Perfect security is not possible, but attackers do have budgets. If you raise the cost of attacking a system (your application or the networking infrastructure it depends on) so high that the entities that would be interested in defeating your security are incredibly unlikely to succeed, you'll be incredibly unlikely to be compromised.

Writing Modular Applications with Laravel-Modules
Let me start by saying Laravel is an amazing framework. However, when it comes to writing more complex and bigger applications, I find the default structure Laravel comes with cumbersome and not ideal.

Powering Raspberry Pi Projects with PHP
A Raspberry Pi is a brilliant tiny computer that you can power off of a micro USB cable. The most recent model has WiFi, an ethernet port, 4 USB ports and an HDMI port. There’s also a micro SD card slot, which is where the “hard drive” goes. It’s capable of running Raspbian Linux, which is a Debian based Linux distribution. This makes it familiar to Ubuntu users who can then just sudo apt-get install all the things. Like with any Linux machine, you can install PHP on it and make a website – but we can do so much more than that!
News and Announcements

PHP 7.1.0 Alpha 3 Released
The PHP development team announces the immediate availability of PHP 7.1.0 Alpha 3. This release is the last alpha for 7.1.0. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

Drupal 7.50 Released
Drupal 7.50, the next release in the Drupal 7 series, is now available for download. It contains a variety of new features, improvements and bug fixes (no security fixes).

WordPress 4.6 Beta 2 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.

Web Summer Camp - 31st August - 3rd September 2016, Rovinj, Croatia
PHP topic @ Web Summer Camp is a natural continuation of PHP Summer Camp that’s been delivering cutting-edge experience, through hands-on workshops, since 2014. Following that successful model, this years workshops, spread over 3 days, will also be dedicated to PHP and its frameworks, especially Symfony, with topics on the newest developments in the field, providing useful examples and first-hand experience. Tickets are on sale now.

PHP South Africa - 28-30th September 2016, Johannesburg
The goal of PHP South Africa has always been the same… The transfer of knowledge. We have always aimed to get the best of the best together in our beautiful country to share some of their knowledge and experience. In an ever growing industry it is events such as this that helps you stay sharp and craft better software. Early Bird tickets are on sale now.

Symfony Live North America - October 13-14th 2016, Chicago
That’s right! SensioLabs’ North American SymfonyLive conference will be held in Chicago on October 13th-14th. We are super excited to settle down in Chicago for the SymfonyLive conference and even more excited to meet the local Symfony community! Join us for all the best Symfony presentations, discussions, symposiums, meetups and the conference happy hour. The Call for Papers is now open.

DrupalSouth - October 27-28th 2016, Queensland
DrupalSouth is the largest conference in Australia and New Zealand dedicated to the Drupal content management system. With three conference tracks focusing on Planning, Building and Inventing, tickets are on sale now.

Nomad PHP US - August 18th 2016 20:00 CDT
Here be Dragons: What It’s Really Like to Slay a Monolith, presented by Graham Daniels. The prospect of transitioning from a legacy monolithic application towards a group of purpose built services sounds like a dream. In reality, it’s most often an epic journey wrought with trials and tribulations. In this talk you will learn how one of the fastest growing new media companies shifted from a half decade old Kohana application onto a platform comprised of micro services. We’ll cover how to treat your APIs like first class citizens, the thought process behind architecting a stable publishing platform, and all of the lessons we learned along the way.

Nomad PHP EU - August 18th 2016 20:00 CEST 
Make Your Code Do Your Job, by Larry Garfield. Throughout history, advancement has come from reducing the amount of work that needs to be done by humans and letting technology do it for us. Long before computers, humans were letting our technology work for us in order to make ourselves better. So too with programming. We have the ability in PHP, as in many languages, to make the language syntax itself find bugs for us. It’s called “types”, and is a far too under-utilised part of the language. Even many seasoned developers don’t realise the benefits that come from having strict, explicit types in their code rather than relying on haphazard “duck typing”. This talk will make the case that your best way to improve your productivity as a developer is to make your language itself do your work for you. With PHP 7’s improved typing support that is now even easier than ever.


PHP Articles Report June 2016 Edition 
This is the June edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins, to comment on the latest outstanding PHP Articles published recently. They commented on articles about using a plugin to create custom post types in WordPress, tips to help developers getting the jobs they want, the last part of PHP 7 migration guide, debugging Symfony applications with PHPEd, how to help testing PHP core features using phpt tests, and installing database schemas using a JSON format, and the pros and cons of using ORM.

dev/hell Podcast Episode 79: Unlikely Hero Fails to Press Mute
This time out we spoke with Noelle Daley, who shared her experiences at New Relic moving developer relations to being a developer via a programming bootcamp. We also discussed Ed’s latest round of work promoting OSMI and Noelle’s talk she gave at OSBridge in Portland.

Voices of the ElePHPant - Interview with Matt Stauffer
Recorded live at Sunshine PHP 2016, Cal Evans talks to podcast host Matt Stauffer.

PHP Round Table Podcast Episode 49: Event Sourcing in PHP
We spend much of our time as developers managing the state in our applications. There are many different approaches and philosophies attributed to reading, mutating and storing state. The Event Sourcing pattern is an approach to managing application state. If we think of any given state of our app as a frame in a video, Event Sourcing allows us to scrub through past states of the app. Today we discuss what Event Sourcing is and how we can start integrating it into our PHP apps.

Laravel News Podcast LN 21: Laracon, Laravel 5.3 Advanced Where, October CMS, Canvas
In this episode, we discuss Laracon Live Streaming, the new advanced where for Collections, and a few new apps and packages.

The Laracasts Snippets Episode 32 - Forever Plans, Vue, and Expansion
Let's do another Q&A episode today. I'll answer the following community questions....

The John Morris Show Podcast - Are You Too Stupid to Learn How to Code?
You feel the tinge of anger just reading that title? It’s kind of funny, isn’t it? How aggressively we react to anything that even seems to question our intelligence. Something to pay attention to.

Reading and Viewing

Process Payments With Stripe and Laravel Cashier: HTTP vs. HTTPS
Stripe is a payment-processing service that comes with a suite of easy-to-use APIs and powers e-commerce for businesses of all sizes. 

Public Speaking: A Conference Organiser’s Perspective
Good friends Adam Culp and Cal Evans spent a few minutes answering questions about how talks are selected in a CFP. If you’ve ever wondered about the process, give it a listen.

Fernando Acosta Discusses WordPress, SEO & Content Creation
Fernando Acosta graduated from the Federal University of Pampa. He has always been curious about how Internet works. What delights him are: AdWords, engagement, SEO, conversion, traffic analysis and performance hacks. He loves to contribute to open source projects. He also conducts training sessions on WordPress and WooCommerce.

RFCs of the Future: Void Return Type
A Nomad PHP lightning talk, presented by Cal Evans.

Raspberry Pi: 25 Easy Tricks and Raspberry Pi Projects (Raspberry Pi 3, Raspberry Pi 2, Raspberry Pi Cookbook, Raspberry Pi User Guide) by Derek Centano
Did you recently acquire a Raspberry Pi, Raspberry Pi 2 or Raspberry Pi 3 and you’d like to know what you can do with it? You’ve found the right book! 

Magento Extensions Development Kindle Edition (by Jérémie Bouchet) 
Deploy a complete real-world extension step by step, construct your extension with the best and most up-to-date development methods and learn about team working and code sharing.


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

FluentDOM provides an easy to use fluent interface for DOMDocument. We tried to keep the jQuery API but adapted it to PHP and the server environment.

Simple PHP base for a REST API with a PSR-0 compliant autoloader.

The Attogram Framework provides developers with a PHP skeleton starter site with content modules, file-based URL routing, IP-protected backend, user system, integrated SQLite database with web admin, Markdown parser, jQuery and Bootstrap.

Web based groupware server written in PHP.

A social networking engine in PHP/MySQL.

Membership management system for non-profit associations and franchise-based projects, written in PHP / Symfony.

Dolibarr ERP CRM is a modern software to manage your company or foundation activity.

A collection of functions that are missing from stock PHP.

JQJobs is a job queue infrastructure for PHP.

A PHP 5.4+ internationalisation library, powered by CLDR data.

This project backports features found in the latest PHP versions and provides compatibility layers for some extensions and functions.

CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent.
Please help us by clicking to our sponsor:

 From our sponsors:
Turn Errors into Awesome Quickly pinpoint what’s broken and why. Get the context and insights to defeat all application errors. Learn more.

(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 ©