sticker

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!

February 2, 2017

Hi there PHP fans,

The first Sourcehunt of the year is out now, promoting interesting and promising open source projects to the community.

Also this week we have a tutorial on how to work with the Google Calendar API in PHP.

There are two at-large board member positions open on the Drupal Association Board of Directors. These positions are self-nominated and then elected by the community. If you are interested in a position the nominations are open now until February 19th.

Plus, in this weeks Acquia Podcast, the executive director of the Drupal Association, Megan Sanicki, discusses in greater detail what the board is all about and why you might want to apply for a position.

And finally, the 9th SymfonyLive Paris takes place at the end of next month, over two days. Tickets are on sale now. 

Enjoy your read folks,

Cheers
Katie and Ade

We love our sponsors. Why not try them?

 From our sponsors:
Know when and why code breaks Users finding bugs? Searching logs for errors? Find + fix broken code fast!

(ads by LaunchBit) 

Articles

Sourcehunt 17.1: 7 Interesting PHP Packages to Keep an Eye On
Could it be this is only this years first Sourcehunt? Seems longer, especially given what’s on offer this time around. If you’re new to Sourcehunt, it’s our monthly post for promoting open source projects that seem interesting or promising and could use help in terms of Github stars or pull requests. It’s our way of giving back – promoting projects that we use (or could use) so that they gain enough exposure to attract a wider audience, a powerful community and, possibly, new contributors or sponsors. Without further ado, let’s dive into this month’s offering.

What’s New On Drupal.org? - December 2016
Read our Roadmap to understand how this work falls into priorities set by the Drupal Association with direction and collaboration from the Board and community. Our December update comes to you a bit later than our usual monthly posts, for all the usual practical reasons: holidays, vacations, and our staff retreat in early January. But also, because we've been reflecting on the past year, and planning for the year to come. You'll soon hear about our initiatives for 2017, but for now— let's dive into what we did in December.

Habits of Highly Productive Tech Teams
There’s always a lot of talk about “culture” on tech teams. And that makes sense: managers generally hire people that will fit in well with the group they’ve assembled because they know there’s more to work than just doing the job. Being able to get along with your coworkers, being reliable, and looking the part are also important.  A big part of building a solid company culture is about creating an environment which helps your employees be productive. Unfortunately, a lot of what we do in tech has the opposite effect.

Nine Things You Should Need to Know About PHP 7
If you are a web developer or a website owner, and you love to use CMS that are PHP-enabled like WordPress, Drupal, Joomla or Magento, you should rejoice to hear that according to official PHP timetable, PHP 7 which was released on 3 December 2015, is now ready for the production use. Yes you heard it right! PHP 7 is out to use. We are going to tell all the great things you need to know about PHP 7.

Refactoring to PHP 7
Major PHP projects are moving to PHP 7 in 2017. Our friend Tim recently decided that it was time for their Lizards & Pumpkins e-commerce platform to reap the benefits of the improved type system in PHP 7. Here is what he learned.

Tutorials and Talks

Calendar as a Service in PHP? Easy, with Google Calendar API!
In this article, you’ll learn how to work with the Google Calendar API in PHP. You’ll do it by building a calendar app that allows users to add new calendars, add events, and sync calendars to Google Calendar. If you want to follow along, I recommend you to set up Homestead so you can easily get an environment for running the app.

Laravel Random Keys with Keygen
A quick guide through using the Keygen package in your Laravel application.

Programming With Yii2: Security
In this Programming With Yii2 series, I'm guiding readers in use of the Yii2 Framework for PHP. If you're planning to share your application with the public, you'll need it to be secure, and it's best to plan this from the beginning. Fortunately, starting with a framework such as Yii makes this a lot easier than it otherwise would be. In this tutorial, I'll walk you through the basic security concepts within the Yii application framework. And, if you're interested, future episodes will work to secure the application, Meeting Planner, featured in our startup series, as it approaches alpha release.

Tutorial On Sending Postcards, Letters and Checks by Postal Mail Using LOB REST API Using PHP
Lob is a suite of REST APIs for building applications for the enterprise market. It provides very useful services controlled via a Web API that allow businesses to order the print and deliver materials by postal mail. The most interesting API is a print and mail service that enables companies to send postcards, letters, checks, and more, with the same as effort as sending emails. Read this article to learn how to take advantage of the LOB APIs to send all these types of physical world mailings from PHP applications.

MySQL Workbench To Laravel Migration
We all have our favourite database GUIs, some work with PHPMyAdmin others use tools such as MySQL Workbench. I tend to use MySQL Workbench more than any database GUI tool. MySQL Workbench is a cross-platform GPL app that allows you to fully design and document your databases through the app.

Composer-patches – Simple Patches Plugin for Composer
Composer-patches is a plugin for Composer which helps with applying patches to the installed dependencies. It supports patches from URLs, local files, and from other dependencies.

From PHP/cURL to Guzzle
In previous tutorial, we explained the difference among cUrl, libcurl and PHP/cURL and showed you how to get started with PHP/cURL. In this tutorial, we are going to you a PHP package called Guzzle. Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. It is meant to be a replacement of your existing PHP/cURL usage in your code base. If you want to know why you should make the switch and how you can do so. Read on.

Running PHPUnit Tests in PHPStorm
Did you know that PHPStorm has a nice intergration with PHPUnit? Running tests directly from IDE offers several benefits that can boost your productivity to some extent.

Methods Are Affordances, Not Abilities
In one of my current projects, I needed to be able to broadcast email announcements to all of the users in the system.

Implement a SOAP Server With Zend-Soap
SOAP is an XML-based web protocol designed to allow describing messages, and, optionally, operations to perform. It's similar to XML-RPC, but with a few key differences. Zend-soap provides a full-featured SOAP implementation.

Sharing State in a Symfony Hybrid with Twig, React and Other JavaScript Apps
Front end development has certainly grown up in the last few years. UI logic is increasingly being moved to the client side, but the traditional server-rendered views aren't going anywhere soon. And they shouldn't. The two methods will live alongside each other and you'll have to work with two worlds. Let's explore an idea how to make this pleasant to work with, by sharing state between Twig templates and JavaScript.

PSR-7 Request and Method Utilities
We all know the standard HTTP request methods and status codes, right? Or do we? We definitely know whether or not they should be integers or strings, and/or how string values should be normalised, right? And our IDEs can totally autocomplete them, right? Oh, that's not the case?

Building Your Startup: Issue Tracking and Feature Planning
Even for a one-person startup, it helps to have more than a spreadsheet (or paper) to track issues, ideas, and bugs.  A few years ago, I'd used Lighthouse for my grant-funded NewsCloud Community Starter Project. Last year, I'd been introduced to Asana during a consulting gig. The pronunciation of the name drove me a bit nuts at first—as a yogi, I regularly pronounce the word āsana or asa·na, which typically represents a flow of yoga poses. The Asana folks pronounce it a·sauna.  In today's episode, I'll walk you through how I began using Asana for Meeting Planner.

How Monolithic Repository in Open Source Saved My Laziness
I started creating open-source about 6 years ago. Now I'm maintaining over 20 repositories. I used classic standalone repositories, but with each new package I wanted to add, I realised how much work it needs to keep everything up-to-date and consistent. So I didn't and got stuck. Fortunately, I noticed a talk from Fabien about monorepo and Symfony. I said to myself: "I don't know a thing about it. Let's try it out. I can always return if it sucks." I never did. Today I will show you why I see monorepo approach in open-source as so awesome.

Building a Simple API using Opulence PHP
This tutorial will show you how to code a simple JSON API using Opulence PHP. We will install Opulence’s skeleton project using composer, then create a ‘user’ database entity, and finally we will match CRUD (Create, Read, Update, Delete) to POST, GET, PUT, and DELETE.
News and Announcements

WordPress 4.7.2 Security Release
WordPress 4.7.2 is now available. This is a security release for all previous versions and we strongly encourage you to update your sites immediately.

Symfony 3.1.10 released
Symfony 3.1.10 has been released this week.

The “pds/skeleton” Standard Is Now Stable!
I am proud to announce that the first PHP Package Development Standards publication, pds/skeleton, has been released as stable at version 1.0.0.

PhpStorm 2017.1 EAP 171.2613
The new PhpStorm 2017.1 EAP build (171.2613) is now available! You can download it here or via JetBrains Toolbox App. Or, if you have the previous PhpStorm 2017.1 EAP build (171.2455) installed, you should soon get a notification in the IDE about a patch update.

2017 Community Board Election Begins 1 February
Now that Drupal 8 is a year old, it is an exciting time to be on the Drupal Association Board. With Drupal always evolving, the Association must evolve with it so we can continue providing the right kind of support. And, it is the Drupal Association Board that develops the Associations strategic direction by engaging in discussions around a number of strategic topics throughout their term. As a community member, you can be part of this important process by becoming an At-large Board Member.

Symfony Live Paris: 30-31st Match 2017
After an excellent SymfonyCon Berlin 2016, we meet in Paris for SymfonyLive, a local conference entirely in French on the innovations of Symfony. This is the 9th edition of the Paris SymfonyLive and SensioLabs is pleased to announce that registration is open! The SymfonyLive Paris 2017 conference is a unique opportunity to exchange with not only Symfony team and community members, local and international experts, but also to discover the latest Symfony features, the most advanced uses as well as its evolution for the months and years to come. Tickets are on sale now.

php[tek] Conference - May 24-26th 2017, Atlanta
Hello and welcome to php[tek] 2017 - the premier PHP conference and annual homecoming for the PHP Community. This conference will be the 12th annual edition, and php[architect] and One for All Events are excited to bring it to Atlanta, the empire city of the south! We are currently working on big plans for the 2017 edition and will continue to update this website with more information. Meanwhile Early Bird tickets are on sale now.

International PHP Conference - May 29th-June 2nd 2017, Berlin
The International PHP Conference is the world’s first PHP conference and has been going for more than a decade, for top-notch pragmatic expertise in PHP and web technologies. Internationally renowned experts from the PHP industry meet up with PHP users and developers from large and small companies. Early Bird ticket prices end today.

Dutch PHP Conference  - 29-30th June-1st July 2017, Amsterdam
Ibuildings is proud to organise the eleventh Dutch PHP Conference on June 30th and July 1st, plus a pre-conference tutorial day on June 29. Both programs will be completely in English so the only Dutch thing about it is the location. Keywords for these days: Know-how, Technology, Best Practices, Networking, Tips & Tricks. The Call for Papers is now open.

Podcasts

PHP Articles Report January 2017 Edition
This is the January 2017 edition of the podcast hangout recorded by Manuel Lemos and Arturs Sosins, to comment on the latest outstanding PHP articles recently published. In this edition they discuss articles about PHP performance comparison and evolution since PHP 5 to PHP 8 or PHP 7.2, a tool for helping to develop scalable PHP applications, a tutorial on how to create a PHP secure login and registration system, and a tutorial on processing Word Processing documents in RTF format.

PHP Ugly Podcast #45: Sockets Edition
Topics include the 2016 Laravel Survey and why you shouldn't trust Geek Squad ever again.

Full Stack Radio Podcast Episode 57: Derrick Reimer - Building and Scaling Drip
In this episode, Adam talks to Derrick Reimer about the technical challenges behind building and scaling Drip, a sophisticated email marketing automation platform.

Acquia Podcast: Drupal Association Board Community Elections 2017 - Meet Megan Sanicki
In this podcast and video, Megan Sanicki, Executive Director of the Drupal Association, and I talk about what the DA Board is all about and why you might want to run for a community directorship. The 2nd half of the podcast is also a chance to get to know Megan. Megan fell in love with the intersection of tech and community work and has been with us in the community since 2009 (or 2010, she's not sure ...).

Zend Framework Quick Bites Episode 22 - How To Use Forked Repositories In Composer
In this episode, we continue on the journey of Composer discovery, discussing the recent tutorial How To Use Forked Repositories In Composer, which dug deep into how to use forked repositories with Composer. This is a very compelling part of Composer, one which can make your development life a breeze - if you let it.

Laravel News Podcast LN30: Laravel 5.4 with Taylor Otwell
Jake and Michael take the reigns for their very first Laravel News podcast with a bang, tackling all the big new features in the just-released Laravel 5.4, with the help of Taylor Otwell.

Reading and Viewing

Transparent Session Management with Sessionz
Sessionz is a new PHP library that adds a custom session manager to your application. On top of this custom manager, you can mix any number of specific handlers into a stack to deal with your data: Write sessions out to the default, filesystem-based session store, cache session data in-memory for faster reads (and faster performance), encrypt stored data so it’s protected at rest, and synchronise data to an external storage system so multiple application servers can reference it.

Cloudways Interviews Joe Howard Of WP Buffs
Joe Howard of WP Buffs is more of an entrepreneur than a teacher. He studied Mathematics at Haverford College and continued his journey as a teacher. As he excelled on with his profession, he took a leap of faith in the digital marketing domain. That’s how he initiated his venture under the name flag, WP Buffs. He helped grow two startups up to $500,000+ and $120,000+ worth of revenue.

PHP Town Hall Podcast #52: What Do We Do Now?
Amanda Folson officially takes the co-host reins! We ease you in to the transition by Ben grilling… ahem… interviewing Amanda a bit so you can get to know her better. Watch the video here.

Laravel Basics: Creating Web Apps. It's Simple (by Gregory Blake, published 30th December 2016)
This book is an exploration of Laravel, which is a framework for web application development. The first part of the book explains to you what Laravel is and how it can be used for the development of apps. Laravel supports the implementation and use of notifications. This book guides you on how to implement notifications in your application.

Design Patterns in PHP and Laravel Paperback (by Kelt Dockins, published 14th January 2017)
This book teaches you design patterns in PHP and Laravel using real-world examples and plenty of humor. Too often design patterns are explained using tricky concepts, when in fact they are easy to use and can enrich your everyday development. Design Patterns in PHP and Laravel aims to break down tricky concepts into humorous and easy-to-recall details, so that you can begin using design patterns easily in your everyday work with PHP and Laravel. 

Jobs

HelloFresh Are Hiring a Number of Senior Backend Developers (PHP/Go) in Berlin.
If you love food and want to be part of one of the most successful startups to come out of Europe then we'd love to hear from you! Visa applications are supported with this role.

Please use this link to apply so we know you came from PHP Weekly.


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

createsend-php
A PHP library which implements the complete functionality of the Campaign Monitor API.

statsd-php
A PHP client library for the statistics daemon (statsd) intended to send metrics from PHP applications.

ezhttp
A powerful bash script for the installation of web server(Apache,Nginx,PHP,MySQL and etc).

gifcreator
GifCreator is a PHP class that creates animated GIF from multiple images.

transphporm
Transformation Style Sheets - Revolutionising PHP templating.

tileserver-php
This server distributes maps to desktop, web, and mobile applications from a standard Apache+PHP web hosting.

php-meminfo
PHP Meminfo is a PHP extension that gives you insights on the PHP memory content.

maghead
The fastest pure PHP ORM with a powerful static code generator, designed for PHP7.

flywheel
A flat-file, serverless, document database for PHP that can store data in JSON, YAML or Markdown formats.

nakita
Simple PHP Forum system for developers. 

token-bucket
This is a threadsafe implementation of the Token Bucket algorithm in PHP. You can use a token bucket to limit an usage rate for a resource (e.g. a stream bandwidth or an API usage).
Please help us by clicking to our sponsor:


 From our sponsors:
Know when and why code breaks Users finding bugs? Searching logs for errors? Find + fix broken code fast!

(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 © PHPWeekly.com