Blog header image


A blog by Phil Mareu about web development. It covers a variety of topics such as new and current projects, PHP, Laravel, refactoring and general coding techniques.

$event->videos()->attach([13, 14]);

Using Many To Many Polymorphic Relations with Laravel Eloquent

Aug 22nd, 2016

Twitter::getSearch(['q' => $event->hashtag])->statuses;

Disc golf events project now with Tweets and YouTube videos

Jun 13th, 2016