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,
Lees verder
Mijn naam is Jeffrey, freelance PHP developer en ik houd van het maken van digitale producten.
Dit doe ik voor mezelf, voor jou en met behulp van geweldige tools als Laravel en WordPress.
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);
}
// ...
}
<?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 );
}
Een aantal gave projecten waar ik aan gewerkt heb.