2022 Year in review
As the end of the year is nearing (time sure went fast), it is time to look back and ahead to the coming year.
Previous editions: 2020,
Read more
I'm Jeffrey, a freelance web developer based in the Netherlands. I love building digital products.
As a freelance PHP developer, I get to work with great tools like Laravel and WordPress to do just that.
Tools of the trade
<?php
namespace Jeffreyvr\SimpleMedia;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
trait HasMedia
{
public function mediaByGroup($group): BelongsToMany
{
return $this->media()->where('media.group', $group);
}
// ...
}
WordPress has been around for a long time and is the most used CMS in the world. It's a great tool to build a solid website.
WordPress has a huge community providing with tons of plugins and themes, but sometimes you need customization. That's where I come in.
<?php
function tailpress_asset( $path ) {
if ( wp_get_environment_type() === 'production' ) {
return get_stylesheet_directory_uri() . '/' . $path;
}
return add_query_arg( 'time', time(), get_stylesheet_directory_uri() . '/' . $path );
}
A few awesome projects where I get to do what I love.