Well here it is PHP fans. The hotly anticipated release of PHP 7 has finally arrived! With the cancellation of PHP 6 in 2010, this is the first major release since PHP 5.0 eleven years ago.
PHP 7.0.0 comes with a new version of the Zend Engine, plus numerous improvements and a whole host of new features. This release is the outcome of almost two years development. It is a very special accomplishment by the core team, and is the result of incredible efforts by many active community members. In fact, this release is the rise of a new PHP generation with enormous potential.
Congratulations to everyone involved in what has been described as "a spectacular day for the PHP world!".
Cheers
Katie and Ade |
We love our sponsors. Why not try them?
|
As you can see our design is truly awful and we have had complaints from people, quite rightly, that you can't view on mobile devices. Do any of our readers have the design skills to re-craft our site and email so that they work responsively? Unfortunately we can't pay for this as we don't make enough to cover our own time but we'd be happy to put a link to anyone who does this for us. Contact myself at [email protected] if you are potentially interested. Thanks! |
Articles
Learn PHP 7, Find Out What’s New, and More
PHP 7, the next version of the world’s most popular programming language, has been released. We’d love to shoot fireworks and get drunk with our newfound power (seriously, the language is in the true big leagues now, functionality and performance-wise) but we’re sure the rest of the internet will do this for us. Instead, we’ll focus on compiling a (perpetually up to date) list of resources to get started with version 7 – posts describing what’s new, books helping you kick things off, and more. Let’s get to it!
Object Oriented Programming in PHP - Then and Now
When I first sat down to write this article, I asked myself, "Self, exactly how long has PHP been around?" I was shocked (and felt a bit old) by the answer. The original development began around 1994, but PHP as most people know it (PHP3) was originally released in 1998. Twenty one years ago. TWENTY ONE YEARS. That kind of lifespan for anything on the web is pretty impressive.
PHP 7 Release Date Arrived: Will Developers Adopt PHP 7?
Now that PHP 7.0 is finally being released, it is up to the PHP users to decide if and when they will adopt it in their projects. Read this article to learn about a brief story of PHP 7, the major new features of PHP 7, the results of a survey carried out in the last few weeks to evaluate the intentions of the PHP developer to adopt PHP 7, and what to expect for future PHP versions.
Sourcehunt PHP: Contribute to Crypto, Validation, Payments…
Last month, we introduced a new effort called Sourcehunt – a category of posts intended to direct attention to less popular open source projects that show promise and need exposure. We’ve called for new submissions and accumulated an impressive list here.
HHVM - PHP 7 Support
For those that haven’t been following along, the next version of the PHP language, version 7.0.0, was very recently released. Those of us working on HHVM offer our congratulations to all the contributors to this latest release! We’re all really excited to see this release come out the door, and for what it means for the future of PHP. The release has implications for HHVM as well.
The Definitive PHP 7.0 & HHVM Benchmark
It’s been in the works for quite some time and, after a long wait, PHP 7 was released on December 3, 2015. We have tested the most popular PHP based frameworks to see how they perform with PHP 7. |
Tutorials and Talks
Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP
Latest VestaCP comes with PHP5.6 by default. In this article, we will see how to upgrade PHP to its latest version, i.e PHP 7.0.0.
The Beginners Guide to WooCommerce: Adding Coupons - Usage Restriction Part 2
In my previous article I discussed the configuration of the first three options in the section of Usage Restriction for coupons in WooCommerce, i.e. "Minimum spend", "Individual use only" and "Exclude sale items". These options allow online store owners to include some additional functionalities and checks in the coupons. However, this section includes several other settings, which are "Products" and "Exclude Products". Let's discuss these options today.
How to Interact with PHP Web Site Users using SMS, WhatsApp, Facebook or Telegram
Nowadays many sites need to interact with Web users. The best way to do it is to use the instant messaging system that each user prefers. Read this article to learn how to implement instant message based user interactions in your PHP Web site using SMS, WhatsApp, Facebook or Telegram.
Basic User Management in Symfony2 with FOSUserBundle
Symfony has a very powerful authentication and authorisation system, which can cater to a lot of our needs out of the box. FOSUserBundle is a library built on top of Symfony’s security system, which provides functionality such as registration, login, password resets, etc. It has built-in support for MongoDB, as well as ORMs such as Doctrine, Propel, etc.
Configuration Values Are Dependencies, Too
As part of his consulting work, Paul Jones gets the opportunity to review lots of different codebases of varying modernity. One thing he has noticed with some otherwise-modern codebases is that they often “reach out” from inside a class to retrieve configuration values, instead of injecting those values into the class from the outside. That is, they use an equivalent of globals or service-location to read configuration, instead of using dependency injection.
Installing PHP 7 on OS X Yosemite
Last week was the release of PHP7.0.0 and I wanted to have it on my mac as fast as possible. Since I'm still using Mac OS X Yosemite I will post here the steps to upgrade my platform, and it might be useful for you too. Since Apple is doing a great job to provide PHP, Apache and MySQL straight out of the box, I'm not worrying about the Apache and MySQL. In order to to install PHP from source, you need to have XCode installed as it provides required libraries and headers that you will need to have a successful experience.
Enabling Autocompletion for Dynamic Return Types in PhpStorm
If you’re using PhpStorm you probably make heavy use of it’s autocomplete features. The IDE can, for most classes, suggest all accessible functions. Unfortunately, when a function has a dynamic return type PHPStorm will leave you out in the cold. So when resolving something out of Laravel’s IoC-container PhpStorm cannot help you.
PHP Logging Basics
This guide explores the basics of logging in PHP, where to find PHP logs, and how these logs help you more effectively troubleshoot problems and monitor your PHP application.
Magento Theme Development: Home Page, Part 2
In the previous tutorial in this series, we started modifying the header section of the home page. In this tutorial, we'll start where we left off with the header section improvement, and then we'll create the new slider CMS block and call it from our template files. As we have a lot to cover in this article, let's start without further delay.
PHP vs Ruby – Let’s All Just Get Along
Quite often you see developers who have a lot of experience in one language try to play with another, then make a rather quick comparison between the two. This comparison is usually quite worthless, but the clickbait titles get them a lot of traffic. Instead of doing that, I thought it would be interesting to have a slightly more fair comparison, from the perspective of someone who really enjoys writing both PHP and Ruby, and has done so for years. The aim here is not to find out which is “better”, but to point out a few key things I like about Ruby and its ecosystem. |
News and Announcements
PHP 7.0.0 Release Announcement
The PHP development team announces the immediate availability of PHP 7.0.0. This release marks the start of the new major PHP 7 series. PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features.
WordPress 4.4 “Clifford”
Version 4.4 of WordPress, named “Clifford” in honour of jazz trumpeter Clifford Brown, is available for download or update in your WordPress dashboard. New features in 4.4 make your site more connected and responsive. Clifford also introduces a new default theme, Twenty Sixteen.
Expressive 1.0.0RC3 Released!
The Zend Framework community is pleased to announce the immediate availability of Expressive 1.0.0rc3! You can install it using Composer.
Laracon US - July 27-29th 2016, Louisville
Laracon US 2016 has been announced for next July. Although information is sparse, it has been confirmed that there will be a day of workshops for the first time. Save the date!
php[cruise] Summer 2016 - July 17th-24th 2016, Out of Baltimore, MD
We’d like to announce php[cruise] is happening in 2016! This 7 day long conference-cruise to the Bahamas will be a unique event for the PHP community. Completely immersive and giving you, the attendee, a hands-on experience not to be matched! A discounted block of rooms has been booked at a hotel for the night before the cruise, and Early Bird tickets are on sale now until the end of December.
PHP Benelux Conference - January 29-30th 2016, Antwerp
We’re very pleased to announce the 7th edition of our conference. The PHPBenelux Conference 2016 should be one of the best PHP community conferences, where community members from around the world come together to learn and share information about the latest trends in professional PHP development. Tickets are on sale now. |
Podcasts
Voices of the ElePHPant - It's The Booze Talking - Contributing to Open Source
In the latest podcast in the "It's The Booze Talking" series, Cal Evans talks to several members of the PHP community about how they started in open source, and contributing to projects.
Three Devs and a Maybe Podcast - 'Hardcore' Functional Programming using Ramda with Andrew D'Amelio
In this week’s show we are lucky to be joined by Andrew D’Amelio, to discuss all things Ramda and ‘Hardcore’ Functional Programming.
Acquia Podcast: Drupalsnack from Internetdagarna, Stockholm 2015
Something a little different this week: In co-operation with the Swedish "Drupalsnack" ("Talking Drupal") podcast, Leander Lindhal, Robert Douglass and Jeffrey A. "jam" McGuire get together at the 2015 Internetdagarna in Stockholm.
Full Stack Radio Podcast Episode 31: Woody Zuill - #NoEstimates
In this episode Adam talks to Woody Zuill about software project estimation. They talk about the #NoEstimates hash tag, and what it means and where it came from. They also talk about ways to manage software projects without worrying about estimation, and alternative ways to make the decisions that estimates are usually used for. |
Fetch Remote Data Using Guzzle
Fetching data from a remote server has become a very common task these days. Unless you are very new to web programming, you must have, at some point, written code to fetch something from a remote server, be it JSON, XML, text or even an image. Most PHP developers are used to using cURL to perform such tasks. However, there’s a better alternative: the Guzzle HTTP client. It has a more intuitive API, and using it means writing less code. In this screencast, I’m going to show you how to download an RSS feed using Guzzle.
How to Use a Queue To Speedup PHP Processing Tasks
In this episode of the John Morris Show we cover: how to use a queue to speedup the processing of tasks in PHP, the advice an ex-Microsoft engineer has for developers, what this year’s holiday means for web developers, the little-talked-about secret to success on Upwork and answers to your other questions.
Learning PHP 7 – Setting up a PHP 7 Development Environment with Xdebug
Learn how to setup a PHP 7 development environment using vagrant and virtual box. This is an easy cross platform solution for trying PHP 7 and it works well with PHPStorm.
New Features in PHP 7: A Quick Overview
Hurray! PHP 7 is finally out there and to celebrate the release, Thijs Feryn has created a video that highlights a couple of interesting features that PHP 7 offers.
PHP 7 and Beyond: The Future of PHP
A presentation by Anthony Ferrara at php[world] 2015. PHP is experiencing a renaissance; old methodologies are everywhere under assault from advances in tooling and design. From Composer to HackLang, "the PHP way" of solving problems is dramatically evolving. Walls between projects are falling; interoperability and collaboration are happening on levels never thought possible. What do these accelerating changes mean for the future of the language? What might PHP 8 look like? |
Jobs
Senior Backend Developer (PHP), HelloFresh, Berlin
HelloFresh is among the Top 3 largest companies to come out of Europe over the past 4 years (market cap). We aim to revolutionize the way we eat by making it more convenient and exciting to cook meals from scratch at home. We have received almost US$ 280mn in venture capital and have won multiple prizes for our work. As a member of our experienced IT team you will be exposed to a modern technology stack and a very professional and agile project management setup. Join us and help with building up a fresh food global champion!
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
genius-php
Genius PHP is an open source library that allows you to access Genius API from your PHP application.
codebird-php
A twitter library in PHP.
phpmandrill
A PHP library for parsing webhooks received from Mandrill.
former
A powerful form builder for Laravel and other frameworks (stand-alone too).
charcoalphp2
A task oriented PHP web framework.
launchkey-php
PHP Libraries for interaction with LaunchKey.
phpr
Extending some PHP classes to be used in a more functional way.
vars
A simple to use and easily extendable configuration file loader with built-in support for INI, JSON, PHP, Toml, XML and YAML config file types. Built-in support for Silex and more frameworks to come soon.
swagger-php
A PHP swagger annotation and parsing library.
phpmig
Phpmig is a (database) migration tool for PHP, that should be adaptable for use with most PHP 5.3+ projects.
patchwork
Patchwork is a PHP 5.4+ full-stack web framework, which main purpose is to provide a minimalist yet complete start point for building websites.
curl-plus
A simple OO wrapper around PHP's cURL implementation.
yelp-php
A PHP client for consuming Yelp API.
pushy
A PHP client for Pushover.net.
random_compat
PHP 5.x support for random_bytes() and random_int().
tipsy
An MVW (Model, View, Whatever) PHP micro framework inspired by AngularJS. It provides a very lightweight, easy to use interface for websites, rest APIs, and dependency injection.
spark
A tiny, yet powerful, PHP micro-framework.
mongoimport
Import Extended JSON created by mongoexport with PHP. |
Please help us by clicking to our sponsor:
From our sponsors:
|
So, how did you like this issue?
|
Protect your PHP code with SourceGuardian 10. Free trial.
|
|