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!

August 16, 2018

Hello to the PHP community, and welcome to PHPweekly.com.

We start with two new releases from Laravel  - v5.6.30 and v5.5.42. Both have been released to fix security issues.

Also this week, if you have always wanted your very own PHP ElePHPhant then you're in luck. Production is starting soon on batches of the mascot in different countries, but help and collaboration are needed to make it work.

We have the third part in the WordPress Deployment series, looking at how to deploy WordPress using Git.

Plus if you worry about internet security, you need to implement a Secure Sockets Layer. Check out this course showing you how to get and install SSL certificates for free.

And finally a brand new conference has been announced this week. Full Stack Europe will take place early next year in Antwerp, aimed at every type of developer. Subscribe to the mailing list on the conference website for regular updates.

Enjoy your read,

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

8 Resources To Learn About SOLID Design Principles
Lately, I've been reading about the SOLID design principles. They were introduced by Robert C. Martin in his paper titled "Design Principles and Design Patterns". While these are no absolute rules, they can help you design better software. Here are some different resources that teach the SOLID principles.

More Code Comments
Recently I read a comment on Twitter by Nicola Poša about avoiding comments in code. He was providing us with a useful suggestion, one that I myself have been following ever since reading "Clean Code" by Robert Martin. The paraphrased suggestion in that book, as well as in the tweet, is to consider a comment to be a naming issue in disguise, and to solve that issue, instead of keeping the comment.

How You Can Buy the PHP Elephant for Sale in 2018 - The elePHPant, the PHP Mascot
The PHP mascot is hard to find when you want to buy one because producing these mascots is a complicated process. The good news is that we are about to fix this problem. Thanks to the collaboration of several people, we are getting ready to start producing batches of PHP elePHPants in different countries at affordable prices, which can arrive to you soon. But we need your colaboration. Read this article to learn how you can help to get elePHPants to your and your local PHP community soon and also can help PHP 8 come out faster with your collaboration.

Why I Don't Use Time Machine Anymore and How Dotfiles Helped Me To Level Up My Backup Strategy
Last month I have been through hell while my laptop broke one week before my book release. I had a full backup, but it turned out restoring it is not always as easy as you might think. In this article, I tell you my backup story, why I abandoned Apple Time Machine and how Dotfiles help me now.

A More Sustainable Framework for Fiscal Sponsorship of Drupal Camps
Camps are Drupal’s growth engine and they take place all over the world. The Drupal Association supports camps as we can, providing grants to new events and fiscal sponsorship to camps. This program has two major challenges however, so we have been looking at best practice models across many open source communities.

Tutorials and Talks

Automatically Switch PHP Version on CD
After using phpbrew to manage my local PHP versions for a while, I got tired of re-compiling PHP after every release and decided to install multiple PHP versions side-by-side with OndÅ™ej Surý's PPA. One of the features I missed from phpbrew was the ability to run a command like phpbrew use php-7.2.8 to automatically change the php command to that version, so I ended up implementing this feature myself using symlinks and shell aliases.

Lando + Envoy
Envoy is a task runner put together by the Laravel team. This post will show you how to add envoy as tooling to Lando.

Get Started With Pusher: Using Private Channels
In this series, we've been learning about Channels from Pusher, a platform that allows you to give your users the seamless real-time experience they want. Private channels provide your applications with a secure, private medium for publishing messages. The best part is how easy it is to implement and use private channels for your apps. You'll learn how to use them in this post.

Stylish and Standard Console Output with Symfony Style
Even if you don't use any component from Symfony or even installed one, you can use this trick in your PHP CLI App. It's simple, provides standard and makes your output look like a design from Apple - useful and nice at the same time.

Single Action Controller in Laravel
There are some magical functions in PHP, and __invoke is one of them. Through this __invoke method, we can create classes with just one function __invoke in them, and whenever their object is called it will directly call the __invoke method, it means you don’t have to manually say $obj->someFunction().

WordPress Deployment Part 3: Deploying WordPress Using Git
In my last article, we looked at deploying WordPress using some different command line (CLI) tools. In this article, we’re going to look at how we can deploy WordPress using Git, both manually via the CLI and also automatically when you push code to your remote repository.

206 Partial Content
206 Partial Content is used for range requests. It’s possible for a HTTP client to request only portions of a resource using range requests. Examples of this might include a large log resource for which a client only wants the last n bytes. Or maybe a video and the client doesn’t want to buffer more data than needed, or maybe a user is seeking through the video by fast-forwarding.

Playing with Grafana and Weather APIs
Today I want to play with Grafana. Let me show you my idea: I’ve got a Beewi temperature sensor. I’ve been playing with it previously. Today I want to show the temperature within a Grafana dashboard. I want to play also with openweathermap API.
News and Announcements

Laravel v5.6.30 and v5.5.42 Have Been Released
Laravel 5.6.30 and Laravel 5.5.42 have both been released to fix a security issue and is recommended that all users upgrade as soon as possible.

Joomla 3.8.11 Release
Joomla 3.8.11 is now available. This is a bug fix release for the 3.x series of Joomla including over 35 bug fixes and improvements.

Laracon EU - 29-31st August 2018, Amsterdam
Laracon EU is a unique international Laravel event with over 750 attendees. The conference has multiple tracks and is focusing on in-depth technical talks. Come learn about the state of the industry while networking with like-minded and diversely experienced developers. Tickets are on sale now.

Northeast PHP Conference - 19th-21st September 2018, Boston
Our event is a community conference intended for networking and collaboration in the developer community. While grounded in PHP, the conference is not just about PHP. Talks on web technology, user experience, and IT management help PHP developers broaden their skill sets. Tickets are on sale now.

Symfony Live - September 27-28th 2018, London
Symfony is proud to organise the 7th edition of the British Symfony conference and to welcome the Symfony community from all over the UK. Join us for 2 days of Symfony to share best practices, experience, knowledge, make new contacts and hear the latest developments with the framework! Tickets are on sale now.

php[world] - November 14-15th 2018, Washington DC
PHP as a language and a community has been rapidly changing in the last few years. A staggering 83% of the Web runs on PHP, and those websites are built on frameworks such as Drupal, WordPress, Magento, Symfony, ZF and Laravel, each of which has their own strong community. We created a conference designed to appeal to all these communities and bring them together. Hence, php[world] was born. Super Early Bird tickets are on sale now.

Announcing the Full Stack Europe Conference
A brand new conference called Full Stack Europe has been announced and will take place in the city of Antwerp sometime in Spring or early Summer of 2019. With the conference, we want to welcome every type of developer, whether you identify yourself as full stack or are interested in front end, back end, devops, design or anything in between. To stay in the loop, subscribe to the mailing list at the conference website.

Nomad PHP US - September 20th 2018 20:00 CDT
Build of a Modern ORM enabled Apigility API, presented by Tom Anderson. The modern REST API can be described as Richardson Maturity Model level 3, HATEOAS, REST and RPC API serving data in one of a selection of JSON dialects (Apigility uses Hypertext Application Language) and returning API Problems via an accepted standard and authenticated with OAuth2. An API built around these standards will be hardened but still has an Achilles Heel if written with embedded SQL.

Nomad PHP EU - September 20th 2018 20:00 CEST
The Faster Web Meets Lean and Mean PHP! Presented by Andrew Caya. The Faster Web is quickly changing the way we think about Web development. The Web has changed considerably in recent years and is now built upon many new technologies. Amongst the most notable ones are those concerning PHP: PHP 7, asynchronous libraries, PHP tools like Blackfire.io and many others. It is important to take the time to look into these new Faster Web technologies in order to learn how to better optimise any Web application. Join us for this journey that will take us even beyond performance!

Podcasts

PHP Web Development Podcast Ep #10A - What Format Should Your CV Be In?
In this episode, Mathew will be talking about CV format. Should your CV be in Word, PDF or picture format? What are the benefits of each? This will lead to a podcast on recruiters editing your CV and why this is necessary.

Voices of the ElePHPant - Interview with Chris Rowe
This week Cal Evans chatted with Chris Rowe live at the PHP Detroit Conference.

PHP Ugly Podcast #116 - Milo4Mayor
This month the team discusses Snapchat's source code being leaked and then taken down from Github - TorrentFreak.

Laravel News Podcast LN67: Workflows, HTML email, and Laravel 5.7 Changes
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

Full Stack Radio Podcast Episode 95: Frank de Jonge - Implementing Event Sourcing
In this episode, Adam continues his event sourcing discussion with Frank de Jonge from episode 85, going deep into how to actually implement event sourcing using Frank's library EventSauce. 

Reading and Viewing

Become Symfony or Twig certified before September 30th
2 months to become a Symfony or a Twig certified developer, it’s time to test and secure your Symfony or Twig experience! We are offering a special deal on all certifications: if you take your certification exam before September 30th, you’ll get a 40% discount on your certification fees. Use the code CERTIF40 while buying your certification to get the discount.

Secure Your WordPress Site With SSL
The need today for a secure internet is greater than ever. Things like identity theft, stolen passwords, or ransomware can be avoided by implementing proper security measures. An important security best practice for the server is implementing SSL (Secure Sockets Layer) certificates, which encrypt the data between the client and the server. In this Coffee Break Course, Envato Tuts+ instructor Bilal Shahid will show you how to get and install free SSL certificates using Certbot and Let's Encrypt - a free and open certificate authority aiming to support a more secure and privacy-respecting web.

Cloudways Interview - Devan Sabaratnam on Making it Big in the World of Software
This week, we interviewed Devan Sabaratnam, CEO of Blaze Business Software for the past 20 years and the founder of HRPartner.io. Devan focuses on developing web and mobile applications, and other technologies for small businesses. We spoke to him about the operational challenges of serving clients and managing workflows and the importance of cloud hosting solutions for creating custom applications.

Announcing the Russian Translation of 'Building Your First PHP Application with Docker'
It’s been almost a year exactly since I first published Building PHP Applications in Docker, and today I’m excited to announce that it is now available in Russian!

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

laravolt/avatar – Plug-n-Play PHP Library For Quick Dynamic Avatars
A PHP library that helps to avoid those old and boring anonymous face pictures for users who haven’t uploaded or configured their avatar in your application.  With library you can use any string – name, email, initials, or anything else you fancy – to generate a dynamic avatar with random color and letters.

php-sandbox
A full-scale PHP 5.3.2+ sandbox class that utilises PHPParser to prevent sandboxed code from running unsafe code.

artax
Artax is an asynchronous HTTP client for PHP based on Amp. Its API simplifies standards-compliant HTTP resource traversal and RESTful web service consumption without obscuring the underlying protocol.

jsonq
JsonQ is a simple, elegant PHP package to Query over any type of JSON Data. It'll make your life easier by giving the flavour of an ORM-like query on your JSON.

last-wishes
Last Wishes is a PHP application written following Domain-Driven Design approach. It's one of the sample applications where you can check the concepts explained in the "Domain-Driven Design in PHP" book.

ringphp
Provides a simple API and specification that abstracts away the details of HTTP into a single PHP function.

filterus
A simple filtering library for PHP.

extended-cpts
A library which provides extended functionality to WordPress custom post types and taxonomies.

csp-builder
Build Content-Security-Policy headers from a JSON file (or build them programmatically).

mini2
Just an extremely simple naked PHP application, useful for small projects and quick prototypes.

container
Small but powerful dependency injection container.

gitelephant
GitElephant is an abstraction layer to manage your git repositories with PHP.

pixeler
Render images in CLI with UTF-8 characters.

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