Skip to content

Instantly share code, notes, and snippets.

View kamerk22's full-sized avatar
🔄
Lazy Loading

Kashyap Merai kamerk22

🔄
Lazy Loading
View GitHub Profile
<?php
namespace App\Http\Requests;
use Illuminate\Contracts\Validation\Validator;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Http\Exceptions\HttpResponseException;
use Illuminate\Http\JsonResponse;
use Waavi\Sanitizer\Laravel\SanitizesInput;
<?php
namespace App\Http\Requests;
class UserStoreRequest extends BaseFormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
@kamerk22
kamerk22 / temporary-url.js
Last active March 21, 2019 08:34
URL Temporary Sign
UrlSigner.temporarySign('http://secured.domain/tempSigner', 24, { user : 1 });