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 10, 2019


Welcome PHP Fans.

Several releases have been announced this week - PHP 7.4.0RC3, Symfony 4.3.5 and 3.4.32 and WordPress 5.3 Beta 3.

Also this week the Laracast Snippets podcast is back, discussing how working remotely impacts on building friendships.

This months issue of the php[architect] magazine is out, looking at tools and techniques to make you a fearless coder.

And finally, it's less than a month until Scotland and Bulgaria PHP conferences, both opening on 8th November and both with tickets on sale. 

Have a great weekend,

Cheers
Katie and Ade

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

Is Not Writing Tests Unprofessional?
Triggered by Marco Pivetta who apparently said during his talk at Symfony Live Berlin: "If you still don't have tests, this is unprofessional", I thought I'd tweet about that too: "It's good for someone to point this out from time to time".

Drupal Association Collaborates On New, Long-Awaited Tech Initiative As Featured on TagTeamTalk
The Drupal Association collaborated on Automatic Updates, one of the Drupal Core Strategic Initiatives that was funded by the European Commission. We are excited to partner with MTech, Tag1 Consulting, and the European Commission FOSSA program on this new initiative and share information with you about its features.


Focus Lab: The Branding Work Behind Laravel 6
Focus Lab released a case study on the branding work behind the new Laravel logo and site design that launched with v6.

Agiledrop - Our Blog Posts From September 2019
Missed some of our blog posts last month? Don’t worry - here’s a recap of all our posts from September. Check it out and make sure you’re all caught up!

Tutorials and Talks

How to Run a WordPress Photo Contest With a Plugin
One of the ways to create brand awareness is by offering prizes to customers. In this tutorial, we will cover how to create a photography contest using the Photo Contest plugin available at CodeCanyon.


Creating a Laravel Specific Package (part 3/5)
Sometimes you want your package to offer a bit more. If we image that we're developing a Blog related package, we might want to provide a Post model for example. This post will focus on handling Models, migrations, how to test them and how to deal with the situation whenever your model needs a relationship with the App\User model that ships with Laravel.

How to Host WordPress on DigitalOcean Cloud Server
In this article, I’ll highlight how to host WordPress on DigitalOcean cloud server. Because while WordPress is by far the best content management system in the world, in order to scale your website effectively, you need more than just a reliable content management system.


Build Your Own PHP Fiddle Tutorial
I thought a nice all-around learning resource would be to build your own PHP fiddle. It takes many attributes into account to build a fully functional fiddler. I’m not going to use any type of framework, just to keep it simple and easy enough for anyone else to follow and repeat. So for those devs out there who are frowning at the unstructured files, you know why!


New Password Confirmation Flow for Logged In Users in Laravel 6.2
Laravel released v6.2 yesterday with a new password confirmation feature that enables you to require a logged-in user to re-enter their password before being allowed access to a route. This functionality works like the GitHub confirmation screen when you perform sensitive actions. Setting it up is a breeze in Laravel, so let’s take the new feature for a spin so you can see how it works.

Dependency Injection in Slim 4
In contrast with Slim 2 and Slim 3, Slim 4 does not ship with a DI container, but instead, supports any PSR-11 compatibly DI container that you provide. This is part of Slim 4’s commitment to interoperability via the PHP-FIG standards.

How to Delete a WordPress Theme (3 Effective Ways)
From time to time, you’ll find yourself switching to a new WordPress theme on your site. When you do this, it’s a good idea to delete the old WordPress theme, once you’re sure you won’t be switching back to it. In this guide, I’ll show you the methods you can use to delete a WordPress theme so that you know how to do it safely and thoroughly.


Structured Headers NPM Package: New Version
I just updated my structured-headers package to be up to date with the latest verison of the Structured headers IETF draft. If you do anything with HTTP, structured headers might be something you have to deal with in the future.


Create a Database Queue to Send SMS in PHP with Laravel Queues and Twilio SMS
Queues are ways in which we enable our application to listen and act based on predefined events. In this tutorial, we will be creating an application that utilises Laravel queues to send our users “Happy Birthday” messages on their birthday. We will create a command that fetches all users whose birthdays are today and sends them to the queue to be processed. 
News and Announcements

PHP 7.4.0RC3 Released!
The PHP team is glad to announce the third release candidate of PHP 7.4: PHP 7.4.0RC3. This continues the PHP 7.4 release cycle, the rough outline of which is specified in the PHP Wiki.
Please DO NOT use this version in production, it is an early test version.


Symfony 4.3.5 Released
Symfony 4.3.5 has just been released with a list of the most important changes.

Symfony 3.4.32 Released
Symfony 3.4.32 has just been released with a list of the most important changes.


WordPress 5.3 Beta 3
WordPress 5.3 Beta 3 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.


ScotlandPHP Conference - November 8-9th 2019, Edinburgh
Join the worldwide PHP community for the fourth ScotlandPHP conference later this year. There will be at least 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. Tickets are on sale now.

Bulgaria PHP Conference - November 8-10th 2019, Sofia
We are proud to announce the return of Bulgaria PHP Conference! The 2019 edition will take place from the 8th to the 10th of November in the emblematic National Palace of Culture in the heart of Sofia, Bulgaria. The conference will consist of a training day and two conference days with two tracks, an unConf, a great theme, an awesome party, exquisite food and lots of beer (we take fun really seriously on the Balkans). Tickets are on sale now.

PHP Barcelona - November 12-13th 2019, Barcelona Spain
We've crafted the best PHP conference possible just for you. To allow you to see the future and get ready before nobody else. You'll gather top-notch speakers and an awesome community eager to share a lot of knowledge. All of this will take place in the very centre of the gorgeous city of Barcelona in an excellent venue. Tickets are on sale now.

PHP Conference Brazil - December 5-7th 2019, 
Porto Alegre, RS, Brazil
PHP Conference Brasil, the Main PHP Event in Latin America, will have it's 14th Edition in December. Keynotes will feature Adam Culp, Enrico Zimuel, Diana Arnos and Flavio Lisboa. On Sunday the 8th the event will hold a recreational day at Vinicola Stopassola, a Vineyard located at Serra Gaucha. Participants who opt-in will be treated to a genuine Gaucho Barbecue and a tour through the vineyard. Tickets are on sale now.

Podcasts and Vlogs

Voices of the ElePHPant - It’s The Booze Talking: PHP, The Next 25
This episode is sponsored by Using the WordPress REST API.


Laravel News Podcast LN95 - Laracon US 2019 Speaker Interview Freek Van der Herten
Bill Condo interviews Freek Van der Herten at Laracon US 2019 in New York.

Full Stack Radio Podcast Episode 125: Rob Walling - Choosing the Right Product Idea
In this episode, Adam talks to Rob Walling about choosing, validating and marketing a viable software product.


MageTalk Magento Podcast #205 - Humming Makes Your Voice Better
In a surprise mid-week episode, the boys talk about the disruptive power of marketplaces, sustainable initiatives, and predict how AI might bring about the end of the world. Listen now!


PHP Internals News: Episode 30: Object Initializer
In this episode of "PHP Internals News" I chat with MichaƂ Brzuchalski (Twitter, GitHub, Website) about an RFC that he produced that would add a new "Object Initializer" syntax.


The Laracasts Snippets Episode 108 - Forming Friendships When Working Remotely
Traditionally, there are three primary locations when most friendships are formed: school, the workplace, and church. But what if you're unable to tick any of these boxes, as is increasingly the case for remote workers.


PHP Ugly Podcast #165: Coder Combat
This week Eric, Thomas and John discuss various topics including Greta Thunberg.

Beachcast Tech Videos - Document a REST API with OpenAPI and Stoplight Studio
Adam Culp of Beachcasts PHP programming videos shares how to document REST APIs using the OpenAPI convention (formerly known as Swagger) with an OpenAPI gui editor.

Reading and Viewing

php[architect] Magazine October 2019 - Coding Without Fear
It’s the spookiest time of the year, but that doesn’t mean you should be afraid of working on the code. This issue rounds up tools and techniques to make you a fearless coder: static analysis, writing WordPress plugins, protecting against DDoS attacks and more.


Making the Most out of WordCamps: Learn from Piccia Neri, WordCamp NYC 2019 Speaker
I love the month of September in the northern hemisphere, it’s when summer is at its best: nature is plentiful, the days are still warm and long, and the light is glorious and golden. This year I got to love it even more, as I knew I’d be heading to WordCamp NYC to speak about UX, on my first assignment as Cloudways’ Ambassador.

A Caveat When Using PHPUnit Assertions in Laravel Fake Callbacks
A while ago I blogged about making failing tests more readable by using PHPUnit assertions in Laravel fake callbacks. In this video, Jason McCreary explains a limition of that approach.

Most Popular PHP Magic Methods
PHP features the concept of magic methods : methods that have a special function. They are related to other PHP features, and are automatically called on an object, when available.


Security Newsletter Issue 149
A weekly e-mail keeping you up-to-date with security news, with about 10 items in every issue.

A Week of Symfony #666 (30 September - 6 October 2019)
This week, Symfony continued fixing bugs and polishing the new features of the upcoming Symfony 4.4 version. Meanwhile, the new String component introduced in Symfony 5.0 added a locale-aware Slugger with support for transliterating multiple locales. Lastly, the new Notifier component was merged as an experimental feature in the upcoming Symfony 5.0 version.

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 katie@phpweekly.com

Interesting Projects, Tools and Libraries

bedita
BEdita 4 is a ready to use back-end API to handle the data of your mobile, IoT, web and desktop applications. It's also an extensible framework to build your custom back-end API via plugins.


emoncms
Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the OpenEnergyMonitor project.

portable-utf8
The benefit of Portable UTF-8 is that it is easy to use, easy to bundle. It is written in PHP (PHP 7+) and can work without "mbstring", "iconv" or any other extra encoding php-extension on your server.

eventsauce
EventSauce is a somewhat opinionated, no-nonsense, and easy way to introduce event sourcing into PHP projects. It's designed so storage and queueing mechanisms can be chosen based on your specific requirements.


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

freescout
FreeScout is the super lightweight free open source help desk and shared inbox written in PHP7 (Laravel 5.5 framework) – self hosted clone of HelpScout.

laravel-visits
Laravel Visits is a counter that can be attached to any model to track its visits based on Redis.

phpipam
phpIPAM is an open-source web IP address management application. Its goal is to provide light and simple IP address management application.

git-wrapper
Git Wrapper provides a readable API that abstracts challenges of executing Git commands from within a PHP process for you.

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

phplist3
Fully functional Open Source email marketing manager for creating, sending, integrating and analysing email campaigns and newsletters.

browscap
This tool is used to build and maintain browscap files.

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