Instantly share code, notes, and snippets.

View SubscriberVerificationController.php
<?php
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
class SubscriberVerificationController extends Controller {
public function update(Request $request)
{
View VerifyEmail.php
<?php
namespace App\Notifications;
use App\Services\ModelHasher;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;
class VerifyEmail extends Notification
{
View ModelHasher.php
<?php
namespace App\Services;
use Hashids\Hashids;
use Illuminate\Database\Eloquent\Model;
class ModelHasher
{
/**
View Ent.skema
[{"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