PHP Classes
elePHPant
Icontem

File: src/helper.php

Recommend this page to a friend!
  Classes of Wedmak  >  PHP Artisan Auth Laravel 5  >  src/helper.php  >  Download  
File: src/helper.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Artisan Auth Laravel 5
Laravel service provider to track visitors
Author: By
Last change:
Date: 10 months ago
Size: 207 bytes
 

Contents

Class file image Download
<?php

function urlauth($user_id, $url)
{
   
$record=new \iWedmak\UrlAuth\UrlAuth;
   
$record->user_id=$user_id;
   
$record->url=$url;
   
$record->save();
    return
route('urlAuth', $record['token']);
}