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!

November 22, 2018

Welcome PHP Fans.

Having run for 14yrs, PHP 5 is coming to an end on the last day of the year. The time has now come to make sure your site is running an updated and supported version of PHP.

On the other side of the coin, take a look at all of the gifts PHP 7.3 brings, on its release next month.

The latest instalment of the Building a Laravel Translation Package series is out this week, looking at wiring up the front end. 

Plus, if you are interested in taking your WordPress skills to the next level, we have a list of the best coding courses to inspire you.

And finally, the Laracasts Snippets podcast has received a fresh coat of paint. Hear all about the redesign process.

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

Fresh Exploit Takes The Shackles Off Disabled PHP Functions
Web hosting vendors need to shore up their systems following the discovery of a hack that creates a means for miscreants to abuse PHP functions that have been disabled for security reasons.

PHP Lands Preload Feature, Boosting Performance In Some Cases 30~50%
PHP developers unanimously approved and already merged support for the new "preloading" concept for this web server language. PHP preloading basically allows loading PHP code that persists as long as the web server is running and that code will always be ready for each subsequent web request, which in some cases will dramatically speed-up the PHP performance on web servers.

The End of PHP 5
PHP, the Open Source scripting language, is used by nearly 80 percent of the world's websites. If you are still using PHP 5, now is the time to upgrade to a newer version of PHP.

The Gift of PHP 7.3
Christmas time is almost here, get ready to welcome the new gifts that PHP7.3 has in store for you. 

What Do You Want To See Out Of The Redesigned, Next-Gen Raspberry Pi?
With the launch this week of the Raspberry Pi 3 Model A+, they made it clear whatever comes next will be a big re-design compared to all of the Raspberry Pi ARM single board computers up to this point. So what would you hope they incorporate into the next-generation of these low-cost boards?

Tutorials and Talks

Building a Laravel Translation Package – Wiring Up The Frontend
In the last installment of this series, we talked through the process of manipulating the translations in our application’s language files into a format where we are now in a position to start interacting with them. In this article, we’ll be wiring up the frontend ready to start building out the user interface which will aid users with the process of translation management.

Hosting WordPress Yourself Part 4 – Server Monitoring and Caching
In the previous installment of this series, I walked you through the process of how to quickly setup sites using WP-CLI. However, no considerations were made on how well the server would handle traffic under heavy load. As a system administrator, it is also imperative that you can quickly determine the current utilisation of system resources. This will better help you to gauge how many sites your server can potentially handle, and when you may need to plan the scaling of hardware or cloud resources. In this post I will guide you through the process of tackling all of those issues, as well as setting up server monitoring and alerts.

The Powerful Resource of PHP Stream Wrappers
Introduced in PHP 4.3, streams are little known powerful resources that PHP provides. In this article, we will explore ways to bypass protection methods using the PHP Stream Wrappers, which are responsible for handling protocol related tasks like downloading data from a web or ftp server and exposing it in a way in that it can be handled with PHP’s stream related functions.

Do you Autowire Services in Symfony? You can Autowire Parameters Too
I love how Symfony caught up late autowiring integration in since Symfony 2.8. Then set a trend in Symfony 3.3 with service autoregistration. That opens new possibilities to almost config-less registration, doesn't it?

PHP Integers, Floats, and Number Strings
Working with numbers in PHP seems to be a trivial concept, but it can be quite confusing. It looks easy at first because PHP provides automatic type conversion. Unfortunately, this automatic conversion can sometimes break your code. There are a lot of types for numeric values as well. In this tutorial, you'll learn about integers and floats in PHP, as well as the functions which can be used to determine the type of numbers that we are dealing with and convert between them.

400 Bad Request
400 Bad Request is the first error code. Every status that starts with a 4 indicates that the client did something wrong. If the status starts with a 5 it means that the server did something wrong.

New Rule Emphasising The Importance of SOLID Principles
SymfonyInsights main aim is to help you manage and increase the quality of your applications. A great way to achieve this is to follow good practices and standards, both from Symfony and from programming in general. One of these good practices is to follow the SOLID principles, a famous set of concepts which help developers create high quality software architectures.

PHP Test Driven Development Part 5: Integration Testing
Let’s learn about Integration testing today. Integration testing is a method of testing by passing in the real dependencies and thus testing out the integration between two or more objects. Please check out Part 4 if you have not read it yet.

PHP-FPM Cuts Web App Loading Times by 300%
Speed matters. Our engineers are always looking at ways on improving the stack. One of the major objectives of our stack integrations is to improve the speed of the overall processes of our stack.

Ways of Creation Custom Composer Dependency
Сomposer is awesome. It allows us to manage dependencies and required libraries for the application we are developing. But what if the dependency we need does not exist in the composer default repository. Then we as inventors (maybe not) implement it ourselves. In this post I will discuss the basic techniques of how this can be done.

Logging With dot-log in Zend Expressive and DotKernel
This article will explain the usage of the dot-log component within DotKernel, Zend Expressive or in a project that uses Zend Service Manager. Since dot-log extends zendframework/zend-log this tutorial is mostly compatible with zend-log as well.

Adding a Subdomain to Your Laravel Application
Often we need to handle subdomains with our Laravel application. Let’s take a look, how can we treat the routes dynamically and set up the subdomain with Valet and Forge.

Improvements to the Handling of .env Files for all Symfony Versions
When Symfony 4.0 was released, the .env file was introduced as a way to set environment variables. Thanks to recent updates to some core Symfony recipes, .env loading has some new features that can be enjoyed on any Symfony Flex project! If you have an existing Symfony app (started before today), your app does not require any changes to keep working. But, if/when you are ready to take advantage of these improvements, you will need to make a few small updates.

Generating PHP Library Code from OpenAPI
I'm working with a bunch of OpenAPI specs now I am working for Nexmo and so far I'm loving working with API descriptions. OpenAPI is the next iteration of what used to be called "Swagger", a machine-readable way to describe your API and from that description create docs, code libraries, tests, and all sorts. Todays post is a quick write-up of how I generated some PHP code so that I can refer back to this next time I want to do it!

Fuzzing PHP for Fun and Profit
PHP is probably the single most prevalent server-side scripting language on the web. PHP has been the de facto choice for popular blog platforms like WordPress, Joomla and Drupal, which makes it a very attractive target for a wide range of attackers. It is also a very ideal system for demonstrating the power of American Fuzzy Lop (AFL) to identify memory corruption bugs within mature software.
News and Announcements

WordPress 5.0 Beta 5
WordPress 5.0 Beta 5 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 to play with the new version.

Symfony 4.2.0-BETA2 Released
Symfony 4.2.0-BETA2 has just been released. Here is a list of the most important changes.

PHP UK Conference - February 20th-22nd 2019, London
We are pleased to announce the 14th Annual PHP UK Conference. An optional workshop day followed by two days of amazing talks, plentiful networking opportunities and great socials. With over 600 delegates, speakers, and sponsors, PHP UK conference aims to deliver fantastic up-to-date content about PHP and related web technologies in a comfortable and professional setting. There are countless networking opportunities to engage with international speakers and delegates, making the event one you won't want to miss. Early Bird Tickets are on sale now.

MageTestFest - March 5-8th 2019, Florence Italy
All the ingredients you like as a developer. Let our great set of speakers blow you away. Join developers from all around the world for this unique and leading event. Are you going to be there? Join us at the most exciting developer-centric Magento event ever! With two days of workshops followed by the conference and hackathon. Early Bird Tickets are on sale now.

Midwest PHP Conference - 8-9th March 2019, Minnesota
The Midwest PHP Conference is hosted by the Minnesota PHP User Group community through the North Foundation in Bloomington, Minnesota from March 8th - 9th, 2019. This is our seventh year and each year the conference continues to become better. Our goal is to share best practices, ideas, and techniques about building state-of-the-art software applications. Early Bird tickets are on sale now.

Laracon US 2019 Venue and Dates Announced
Laracon VII is coming to Playstation Theater in Times Square, NYC on July 24th-25th, 2019! Taylor Otwell made the announcement today. No details on speakers or ticket prices are available yet, but you should sign up now to get early bird access once tickets are made available. Typically ticket sales start in January, and that’s only a few months away! If ticket sales are anything like recent years, these tickets are going to sell fast! Save The Date!

Podcasts

PHP Ugly Podcast #128: The Set Up
The week, Eric, John and Thomas discuss various topics including other peoples set up.

LaraChat Live - Episode #36: Don't Call It A Comeback
The team gets back together and discusses what everyone has been up to the last year.

The Laracasts Snippets Episode 86: The 2019 Laracasts Refresh
It's been over two years since Laracasts last received a fresh coat of paint. For those who know me (Jeffrey), that's two years too long. In this episode, I discuss every facet of the redesign process.

PHP Web Development Podcast Ep #23: Brief Talk on React and Advice For Developers Looking To Go To The Next Level…
Continuing our talk with Mark Harding, we will be talking about React, its pros and cons. Mark will also be sharing his view on junior developers, as well as the best approach for those who want to become polygon developers.

Voices of the ElePHPant - Interview with Lorna Mitchell
This week Cal Evans spoke with Developer Evangelist Lorna Jane Mitchell.

Laravel News Podcast LN74:  Space, Danger and 80's-themed Development Conferences
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

North Meets South Web Podcast Episode 50: Reconstructive Surgery, Time Management and Scaling Infrastructure
Jake and Michael catch up for the 50th episode and discuss Michael's ACL reconstruction, time management and scaling infrastructure.

Reading and Viewing

Sending Laravel Notifications Via Twitter
My first and most used Laravel package is the Twitter Channel I made for Laravel Notifications. Today I released a new version of it, and I thought it is an excellent time to share a video about how to use it as well.

Book Review: Functional Programming in PHP
I was asked by php[architect] a while back to review "Functional Programming in PHP, 2nd Ed" by Simon Holywell. I've been sitting on this review for a while, so it's time to finally get it done.

A Week of Symfony #619 (5-11 November 2018)
This week, the upcoming Symfony 4.2 version added the loadEnv() method to replace the newly introduced loadForEnv() method. In addition a new Application::bootstrapEnv() method was introduced to define APP_ENV/APP_DEBUG from argv. Finally, the SymfonyCon Lisbon 2018 conference announced a scholarship program and a fundraising campaign.

11 Best Courses to Learn to Create a WordPress Theme or Plugin
Do you want to take your WordPress skills to the next level and learn to create your own themes and plugins? Well, you’ve come to the right place. I’ve compiled 11 of the best WordPress coding courses on Envato Tuts+ to help you do just that. Take a look and be inspired.

The Ultimate Raspberry Pi eBook Bundle, save 83%
We have a great deal for our readers in the Geeky Gadgets Deals store today. You can save 83% on the Ultimate Raspberry Pi eBook Bundle.

New Laracasts and A New Laravel Nova Mastery Course
Last week Jeffrey Way and Laracasts designer @tudssss launched a new Laracasts design that they’ve been working on for the good part of this year. The design looks phenomenal! Along with the new look, Laracasts launched a new Laravel Nova Mastery series recorded by Marcel Pociot. Nova Mastery is a free course covering Laravel Nova, which is a premium admin panel by the creators of Laravel. The series consists of 15 episodes totaling over two hours of content.

Fast Web Scraping With ReactPHP #1: Extracting Data From HTML
In this tutorial, we use ReactPHP to create a fast web scraper and extract data from HTML.

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

storefront
Storefront is a robust and flexible WordPress theme, designed and built by the team at WooCommerce to help you make the most out of using the WooCommerce plugin to power your online store. It's available to download for free from the WordPress theme repository.

magento-turpentine
Turpentine is a full page cache extension for Magento that works with Varnish, a very fast caching reverse-proxy.

koolreport
This is an Open Source PHP Reporting Framework which you can use to write perfect data reports or to construct awesome dashboards using PHP.

omise-php
A library designed specifically to connect with Omise API written in PHP.

contao-manager
Contao is an Open Source PHP Content Management System. Contao Manager is a graphical tool to manage a Contao installation.

swoole-ide-helper
Auto completion, trigger suggest and view docs for Swoole in editor.

bulk-delete
Bulk Delete is a WordPress Plugin that allows you to delete posts, pages and users in bulk based on different conditions and filters.

schema-org
A fluent builder Schema.org types and ld+json generator.

platform
RAD platform for building a business application using the Laravel framework. Can act as the basis for web applications or perform the functions of CMS, CMF or admin panel for your site.

db.php
Simple PHP class for doing standard MySQL actions, such as select, insert, update and delete rows.

jikan
Unofficial MyAnimeList PHP+REST API which provides functions other than the official API.

laravel-bakery
An on-the-fly GraphQL Schema generator from Eloquent models for Laravel.

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