Skip to content

Instantly share code, notes, and snippets.

View stefro's full-sized avatar

Stef Rouschop stefro

View GitHub Profile
@stefro
stefro / LockedPublicPropertyTamperException.php
Last active June 4, 2023 10:08
WithLockedPublicPropertiesTrait
<?php
namespace App\Exceptions;
use Exception;
class LockedPublicPropertyTamperException extends Exception
{
//
}
@stefro
stefro / verifyMailableWithWebhookID.php
Last active February 1, 2017 19:04
Laravel Mailable that sends a custom id to reference webhook to Mailgun
<?php
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->markdown('emails.email-verification')
->subject('verify your email address')
Gist to identify on onename.com