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!

October 4, 2018

Welcome PHP Fans.

The PHP team has announced that PHP 7.3.0RC2, the next PHP 7.3.0 pre-release, is out now for testing.

Also this week we bring news of the Sunshine PHP Conference, in Miami early next year. Early Bird tickets are now on sale.

Take a look at the latest Symfony news in A Week of Symfony. Several maintenance version releases, an addition to the 4.2 version and a new mailer component which was introduced during SymfonyLive London last month.

Plus learn about the work of the Joomla Security Strike Team as they work on protecting their CMS-powered website.

And finally, in the latest Three Devs and a Maybe Podcast, the team talks going serverless with PHP and the Symfony framework.

Have a great weekend,

Cheers
Ade and Katie

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.

Articles

Guide to 24 PHP Frameworks [Part 4]
We are finally here. Right now, you can consider yourself as a proper master Jedi of PHP frameworks. If you have followed the previous parts you have discovered that there are several different types of PHP applications that can speed up the development process of your web projects or websites. Below you will find the last few elements that I consider to be the best among the 24 frameworks available today.

Your Brain is Your Garden
After a few technical and open-source posts, it's time for brain hacking. Thanks to the recent boom of AI, neuroscience starts to overlap with human psychology. When it comes to learning methods, humans and computers are more alike than ever before. To overcome AI disruption, you'll be valuable by actually making AI or by hacking your brain to be super-adaptable and irreplaceable.

What to Do About The Linux COC (An open letter to the Linux community)
You need to decide for yourself how dire your circumstances are now that the Contributor Covenant Code of Conduct (CCCOC) is in place. If you think the Social Justice capture of the Linux kernel is all-well-and-good, you need do nothing. Everything is running right on schedule. But if you think this heralds the end of Linux as anything resembling a meritocracy (however flawed), as well as the beginning-of-the-end of a project that you love and depend on, then you need to take action. Nobody is coming to save you. You’re going to have to save yourselves.

Tutorials and Talks

What is stdClass in PHP?
The stdClass is the empty class in PHP which is used to cast other types to object. It is similar to Java or Python object. The stdClass is not the base class of the objects. If an object is converted to object, it is not modified. But, if object type is converted/type-casted an instance of stdClass is created, if it is not NULL. If it is NULL, the new instance will be empty.

Test-driving Repository Classes - Part 1: Queries
There's something I've only been doing since a year or so, and I've come to like it a lot. My previous testing experiences were mostly at the level of unit tests or functional/system tests. What was left out of the equation was integration tests. In this article I'll cover one of the two main use cases for repositories: querying the database, and returning some objects for it.

Get Started With Pusher: Using Presence Channels
Presence channels build on the security provided by private channels, but they add the benefit of knowing which users are subscribed and connected to that channel. The best part is how easy it is to implement and use presence channels, and it's even easier if you've already configured your app to use private channels. You'll learn how to use presence channels in this post.

Laravel Passport: Ignore Login Errors
At work we built a web application consisting of one backend that provides an API for user management and login via OAuth2, and a couple of frontend applications that all rely on that API.

Safe PHP: Throwing Exceptions Instead of Returning False
For historic reasons, the PHP core functions return false on failure instead of throwing exceptions. Let's see how we can fix this!

302 Found
302 Found is another misunderstood status code. The intent of this status is to tell the client that the resource they tried to access is temporarily hosted somewhere else.

How to Convert Word Documents to HTML Pages using REST API + PHP
Converting between Word Doc and HTML is a very important conversion for a number of reasons. As it will allow you to turn an existing Word document into an HTML page, this will eliminate the risk of losing or editing any document content. With this conversion, you no longer need to worry about downloading documents and having them in a single location, you can access them from any device (mobile phones, tablets, computers), on any platform, with no extra software.

Use Custom HTML Components in your Blade Views
Today we launched our newest package called BladeX. In short this package provides you with an easy html like way to render custom html components in your Blade views. In this blogpost I'd like to introduce the package to you.

Modern PHP Developer - PSR
Prior to PHP Standards Recommendation (PSR), there were no truly uniformed standards for writing PHP code. At the time of this writing, there are six accepted PSRs: two of them are about autoloading, two of them are related to PHP coding style and the remaining are about interfaces. In this chapter, we will discuss each PSR briefly.

Resize and Manipulate Images in PHP (With Examples)
In my previous tutorial, we discussed basic image manipulation using the PHP GD library. In this tutorial, we will learn about many more useful functions in GD and how they can be used to automate more of our image manipulation tasks.

The Land Where PHP Uses eval()
It is 2018, and we can still find eval() being used in more than 28% of every PHP code source. It is repeatedly reported as a security issue and a performance bottleneck, and a memory hazard. Yet, we can’t get rid of it.
News and Announcements

PHP 7.3.0RC2 Released
The PHP team is glad to announce the next PHP 7.3.0 pre-release, PHP 7.3.0RC2. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki. Please carefully test this version and report any issues found in the bug reporting system. THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!

ScotlandPHP Conference - 5-6th October 2018, Edinburgh
Join the worldwide PHP community for the third ScotlandPHP conference. There will be 14 talks presented across 2 tracks, along with 4 workshops to help you enhance your current skills and find out what's next for PHP and beyond. Still some tickets available.

Symfony Live USA - October 9-12th 2018, San Francisco
Welcome to Symfony Loves PHP USA, the only conference dedicated to Symfony and PHP in the USA. We aim to gather the American Symfony and PHP communities to hear all the latest and best developments with Symfony and PHP! Symfony and PHP fans, don’t miss the upcoming presentations, discussions, symposiums, meetups and our wonderful conference happy hour with two days of workshops and two conference days. Tickets are on sale now.

Symfony Con - December 4-8th 2018, Lisbon
Symfony is proud to organise the sixth edition of the SymfonyCon, the international Symfony conference. This year, to celebrate Symfony, we decided to bring the entire community to Portugal and discover the amazing city of Lisbon. If you like Symfony and share fun with professionals, this is where you want to be in December! Join us for talks, workshops, discussions and other serious work around Symfony and its environment. Tickets are on sale now.

PHP Benelux - 26-27th January 2019, Antwerp
The 10th edition of the conference has been announced for January next year and this time all activities will be retro-themed. We will be looking back on all the good vibes of the old days to see what has changed over the years. The Call for Papers will be announced in due course, so for now Save The Date!

Sunshine PHP Conference - 7-9th February 2019, Miami
The Sunshine PHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida from February 7th - 9th 2019 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! Early Bird Tickets are on sale now.

Nomad PHP EU - October 18th 2018 11:00 PDT
Pipelined, presented by Mike Willbanks. With the introduction of PSR-7 (message interfaces) and subsequently PSR-15 (server request handlers) we can pipeline our process and create more interchangeable components using HTTP middleware. In this talk we'll talk about middleware, how it changes our applications, mindset and the ecosystem. As middleware can be used most anywhere with just about any framework, we will use SlimPHP as our backbone to provide examples and work-through best practices of sustainable and reusable middleware.

Podcasts

Three Devs and a Maybe Podcast - Running Symfony on AWS Lambda with Neal Brooks
Discussion on going Serverless with PHP and the Symfony framework.

That Podcast Episode 52: geocod.io with Michele and Mathias
Michele and Mathias from Geocodio join us to talk about their business.

Full Stack Radio Podcast Episode 98: Ryan Chenkie - Securing Single Page Applications
In this episode Adam talks to Ryan Chenkie of Angularcasts about authentication strategies and security best practices when building client-side applications with frameworks like React, Vue, Angular, or Ember.

PHP Round Table Podcast 78: DocBlocks, Annotations, PSR-5 & The Like
We discuss DocBlocks, PSR-5, Annotations, reflection, automatic API documentation generation, and their future in PHP.

North Meets South Web Podcast Episode 48: Type-Safety, BladeX and HTML Emails
Jake and Michael return to discuss the introduction of further type-safety in PHP, BladeX, finite state machines, and rendering HTML emails.

PHP Web Development Podcast Ep #16 - Are Web Developers Anti Social?
This is another session with Dan Blows, currently Head of Engineering and has held positions such as Senior developer as well as a Tech lead. Dan has done some really cool stuff. He's in the top 3% on stack overflow, in the top 10% of PHP developers in Europe, speaking at meet ups, spoke at the European conference in front of 100s of people, hiring, training and mentoring developers and much more.

Reading and Viewing

Typed Properties Coming to PHP 7.4
The Typed Properties 2.0 RFC was accepted with a vote of 70 in favour and one no vote. A 2/3 majority is required because typed properties is a language change. The typed property change is a PHP 7.4 proposal.

Drupal Business Survey 2018
The hot topics are recruitment, changing Drupal playing field and shift to Drupal 8.

php[architect] Magazine October 2018 - Internal Journeys
You may be used to helpers and frameworks which rapidly generate new code at the press of a button. However, understanding what these tools are doing is immensely valuable when they don’t work or you need to develop a lean solution. This month, we’ll investigate how things work under the hood to find new tools and applications for them.

A Week of Symfony #613 (24-30 September 2018)
This week Symfony 2.8.46, 3.4.16 and 4.1.5 maintenance versions were released. Meanwhile, the upcoming Symfony 4.2 version added an Instantiator::instantiate() method to create and populate objects without calling their constructors and made cookies auto-secure. Lastly, a new Symfony Mailer component was introduced during the SymfonyLive London 2018 conference and will be published in the coming weeks.

Cloudways Interview - Larry Garfield, Director of Developer Experience at Platformsh
Larry Garfield discusses PHP 7, PHP frameworks and open source contributions.

Slice Of PIE #00
Astute readers have noticed that our blog posts have decreased in frequency this year. We put a heavy emphasis on quality, not so much on quantity. At the same time, we field a lot of questions on social media, where our answers (and, sometimes, the questions themselves) are difficult to locate, especially when people close or lock their accounts. With both of these thoughts in mind, I asked my Twitter followers if they'd be interested in a Q&A-style blog series. I expected maybe a 55:45 split on yes/no responses, but the final tally was overwhelmingly "Yes". So with that in mind, I'd like to introduce the pilot for our new series, Slice of PIE.

Red Alert, Shields up - The Work of The Joomla Security Team
A CMS-powered website has all the ingredients for an IT security nightmare: it is publicly accessible, it’s running on powerful machines with great connectivity and the underlying system is used countless times around the globe, making it an attractive target for attackers. The Joomla Security Strike Team (JSST) is working hard to make sure that this nightmare doesn’t become reality for Joomla users!

The Month in WordPress: September 2018
The new WordPress editor continues to be a major focus for all WordPress contribution teams. Read on to find out some more about their work, as well as everything else that has been happening around the community this past month.

Jobs





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

tracy
The addictive tool to ease debugging PHP code for cool developers, with a friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support.

budget
An open-source application that helps you keep track of your finances.

phpmussel
PHP-based anti-virus anti-trojan anti-malware solution.

tus-php
A pure PHP server and client for the tus resumable upload protocol v1.0.0.

screeenly
An open source web application which lets users create website screenshots through a simple API. It's built with Laravel.

rector
Rector is a reconstructor tool - it does instant upgrades and instant refactoring of your code.

property-info
PropertyInfo extracts information about PHP class' properties using metadata of popular sources.

security-bundle
The security system is one of the most powerful parts of Symfony and can largely be controlled via its configuration.

di
Nette Dependency Injection. Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features.

movim
Movim is a decentralised social platform, written in PHP and HTML5 and based on the XMPP standard protocol.

textpattern
A flexible, elegant, fast and easy-to-use content management system written in PHP.

simplesamlphp
SimpleSAMLphp is an award-winning application written in native PHP that deals with authentication. 

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