Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.

Writable getters in JavaScript

Link – lea.verou.me

A pattern that has come up a few times Vera's my code is the following: an object has a property which defaults to an expression based on its other properties unless it’s explicitly set, in which case it functions like a normal property. Essentially, the expression functions as a default value.

Read more [lea.verou.me]

Stay up to date with all things Laravel, PHP, and JavaScript.

You can follow me on these platforms:

On all these platforms, regularly share programming tips, and what I myself have learned in ongoing projects.

Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer.

Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.

Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.

A recap of 2020

Original – by Freek Van der Herten – 35 minute read

What a year this has been. I guess that in January, nobody suspected that we'd got ourselves a worldwide pandemic on our hands.

For many people, 2020 has been a pretty rough year. While the pandemic also impacted me, I think that the problems I have only exist in my head. Nobody around me had health or financial troubles, and I also don't have any complaints on those fronts. That makes me a very lucky man.

In this blog post, I'd like to reflect on the things I did in 2020.

Read more

Moving PHP and Laravel tests from Travis CI to GitHub Actions

Original – by Freek Van der Herten – 3 minute read

Earlier this year, Travis CI announced a new pricing model that effectively ends the generous open-source offering they had for many years. It seems that, even though there were some plans to provide free resources for OSS projects in the future, all activity for OSS projects has stopped.

At our company, we create a lot of open-source projects and packages. Beginning 2020, we already moved most of our stuff to GitHub actions.

Sure, you can read the GitHub actions docs to start learning the possibilities, but in my experience, it might be better to see some examples of practical uses cases. Here are some interesting links that might help you get started with GitHub actions.

Read more

Building the Imagick PHP extension from master

Original – by Freek Van der Herten – 2 minute read

At the time of writing there is no version of Imagick compatible with PHP 8. Fortuntely, the version on the master brach of the Imagick repo seems to work. Here's how you can use it. Clone the repo somewhere on disk Follow the steps mentioned here to create the extension. cd <directory of cloned…

Read more