<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
<template> | |
<div class="rating-wrapper"> | |
<div class="rating"> | |
<button v-for="n in 5" | |
type="button" | |
class="rating-element" | |
:disabled="read_only" | |
:class="[rating >= n ? '' : '--outlined']" | |
@click="setRating(n)"> | |
</button> |
<?php | |
if (function_exists(real_email)) { | |
/** | |
* Validate an email address by checking its syntax | |
* and if the given domain exists | |
* | |
* @param string $email The email address | |
* @return bool |
/** | |
* Prepare the mailto anchor tag from string or data attributes. | |
* Helpful to prevent spam. | |
* | |
* ============================================== | |
* HOW TO USE | |
* ============================================== | |
* inside an html document: | |
* | |
* Example with text : |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Carbon\Carbon; | |
use Mcamara\LaravelLocalization\Middleware\LaravelLocalizationMiddlewareBase; | |
class LocalizeDatetime extends LaravelLocalizationMiddlewareBase | |
{ |
function logTimes(message) { | |
performance.mark(message); // this one is for WebPageTest | |
console.timeStamp(message); // this is for the Performance tab in Chrome DevTools | |
console.info(message, performance.now()); // this is for the console, duh | |
// this here is for Google Analytics | |
ga('send', { | |
hitType: 'timing', | |
timingCategory: 'Performance', | |
timingVar: message, |
<!DOCTYPE html> | |
<html lang="{{ app()->getLocale() }}"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<title>{{ config('app.name') }} - @yield('title')</title> | |
<meta name="description" content="" /> | |
<meta name="HandheldFriendly" content="True" /> |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Request; | |
class ForceHttps | |
{ | |
/** |
<template> | |
<div> | |
<input id="trix" type="hidden" :name="name" :value="value"> | |
<trix-editor ref="trix" input="trix" :placeholder="placeholder"></trix-editor> | |
</div> | |
</template> | |
<script> | |
import Trix from 'trix'; |
<?php | |
namespace App\Console; | |
/** | |
* Benchmark functionality for Artisan Command. | |
* | |
* @author Maurizio Lepora <[email protected]> | |
* @license MIT | |
*/ |