Class User
/**
* Get the phone record associated with the user.
{ | |
"workbench.colorTheme": "Cobalt2", | |
"workbench.iconTheme": "vscode-icons", | |
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 16, | |
"editor.lineHeight": 28, | |
"editor.fontLigatures": true, | |
"editor.formatOnPaste": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.wordWrap": "on", |
<?php | |
use Illuminate\Http\Request; | |
/* | |
|-------------------------------------------------------------------------- | |
| Public Routes | |
|-------------------------------------------------------------------------- | |
*/ |
<template> | |
<form @submit.prevent="onSubmit" @keyup="form.errors.clear($event.target.name)"> | |
<!-- Stripe Elements --> | |
<div class="stripe-element"> | |
<stripe-elements ref="card" @change="stripeEvent($event);"></stripe-elements> | |
<small v-if="cardError" class="form-text text-danger">{{ cardError }}</small> | |
</div> | |
<!-- Errors --> | |
<div v-show="form.errors.any()" class="alert alert-danger"> | |
<ul class="list-unstyled mb-0"> |
"ignore_regexes": [ | |
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json", | |
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/", | |
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini", | |
"\\.env", "vendor/", "node_modules/", "tests/", | |
"storage/app/public/", | |
"storage/framework/cache/", "storage/framework/sessions/", "storage/framework/views/", | |
"storage/logs/" | |
], |
// Fancybox | |
// -------------------------------------------------- // | |
$('.modal-link').click(function (evt) { | |
evt.preventDefault(); | |
const url = this.href; | |
const breakPoint = this.dataset.breakPoint || 768; | |
const separator = /\?/.test(url) ? '&' : '?'; | |
// Leave some room on either side of a modal. |
<?php | |
// This is a stub for a "resourceful" controller | |
// Find & replace the following, then delete these comments! | |
// | |
// `MyModel` = name of model | |
// `MyController` = name of class | |
// `directory` = name of resource route: i.e. 'admin.users' | |
// `$collection` = variable identifying a collection: i.e. 'users' or 'categories' | |
// `$resource` = variable identifying a single resource: i.e. 'user' or 'post' |
<?php | |
namespace App\Providers; | |
use Laravel\Telescope\EntryType; | |
use Laravel\Telescope\Telescope; | |
use Illuminate\Support\Facades\Gate; | |
use Laravel\Telescope\IncomingEntry; | |
use Laravel\Telescope\TelescopeApplicationServiceProvider; |