View e-mail in browser

newsletter #48

Hi, welcome to the 48th newsletter! 

A beautiful webapp to fetch dns records
Recently my company Spatie launched, a beautiful site to quickly lookup dns records. Let's take a look behind the scenes.

Don't design your emails
You can spend a lot of time to make emails look pretty, but it might be better to just don't style them at all.

A little story about the `yes` Unix command
yes is a Unix command that will spit out and infinite stream of y's. In a post on his blog Matthias Endler, an engineer at trivago, shares that there is more than meets the eye to make this happen in a performant way

Writing clean code
Jason McCreary, creator of Laravel Shift, wrote a down a two part series on how to write cleaner code.

Meerkat, A beautiful, full-featured comment system for Statamic, a flat-file CMS. (sponsored link)

Airplanes and Ashtrays
Harry Roberts makes the case for making technical debt visible instead of trying to hide it.

PHP Versions Stats - 2017.2 Edition
Every six months Jordi Boggiano, co-creator and maintainer of Composer/Packagist, publishes statistics on which versions of PHP are used. 

Improve the error output of console commands in a Laravel app
If you execute an Artisan command and something goes wrong, the error output is not terribly detailed. A package by Nuno Maduro improves improves the ouput.

In this blogpost by Tailwind CSS co-creators Adam Wathan and Steve Schoger share lots of actionable tips to improve the layout of a site.

Meanwhile on Twitter

On Twitter I see a bunch of people regularly tweeting very nice code snippets.

A ping command with a graph

In PHP 7.3 a trailing comma will be allowed in function calls

Symmetry in naming is a powerful tool

Eloquent's query builder has a whereBetween function

Removing comments is one of the best drivers towards clean code

Useful links from the archives

A magic memoization function
Taylor Otwell tweeted an easy to use memoization function called once. Let's take a look at how it works.

Stupid ES6 tricks
Emil Ong shares some cool ways you can leverage ES6.

How I Learned to Stop Worrying and Love Giving a Talk
Iain Poulson wrote a good article on public speaking.

Bulgaria PHP Conference 2016 videos
The Bulgaria PHP conference organizers recently released videos of all the sessions of this years edition.

Some people to follow on Twitter
Here's a nice list of people that tweet out interesting links, their opinions or stuff they're working on

Does code need to be perfect?
Andreas Creten explains his view on wether you should always try to write perfect code. Spoiler: no.

On Being Explicit
Mathias Verraes, one of the organizers of DDD Europe, recently gave a talk at DDD London on how to name things to both improve your code and to improve communication with the business.

Testing interactive Artisan commands
For a new package I'm working on I had to test some Artisan commands.

Laravel service provider examples
On his blog Barry van Veen listed some examples of things you can do within a Laravel service provider.

PHP 7 at Tumblr
Another big boy on the web upgraded to PHP 7. If you're not yet on the train heading for PHP7-ville, best get your ticket soon, you won't regret it.

Let’s talk about phone numbers on mobile sites
Wes Bos shares a quick tip to make phone numbers on websites tappable.

A full web request may be faster than a SPA
At this years Chrome Dev Summit Jake Archibald gave an excellent talk on some new features that are coming to the service worker. 

Using our superpowers for good
An excellent talk by Eryn O’Neil that underlines the fact that the code we write should be as humane, warm, emphatic and thoughtful as we ourselves need to be in real-life.

Advertisement opportunities at

You are receiving this mail because you've subscribed at