Skip to content

Instantly share code, notes, and snippets.

<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
class SubscriberVerificationController extends Controller {
public function update(Request $request)
{
<?php
namespace App\Notifications;
use App\Services\ModelHasher;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
class VerifyEmail extends Notification
{
<?php
namespace App\Services;
use Hashids\Hashids;
use Illuminate\Database\Eloquent\Model;
class ModelHasher
{
/**
@XavRsl
XavRsl / Ent.skema
Created December 1, 2014 15:02
Futur schema ENT
[{"name":"users","color":"Red","position":{"x":119,"y":171},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"login","type":"string","length":"10","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":true,"fillable":true,"guarded":false,"visible":false,"hidden":false,"colid":"c44","order":0},{"name":"Firstname","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"hidden":false,"colid":"c62","order":1},{"name":"Lastname","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":true,"guarded":false,"visible":false,"hidden":false,"colid":"c70","order":2}],"relation":[{"extramethods":"","foreignkeys":"","name":"apps","relatedmodel":"apps","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"pictureable","name":"pictures","relat