Skip to content

Instantly share code, notes, and snippets.

View davidpeach's full-sized avatar
🖥️
I use Arch btw

David Peach davidpeach

🖥️
I use Arch btw
View GitHub Profile
@davidpeach
davidpeach / WebmentionsController.php
Last active August 29, 2015 14:22
My Laravel 5 Webmention Controller from my personal website. This file handles both the receiving of webmentions and then their later conversion into comments / mentions on my site.
<?php namespace App\Http\Controllers;
use App\Mention;
use App\Webmention;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Carbon\Carbon;
use Mf2\Parser as Mf2Parser;