jwt refresh token
摘要:$app->post('auth/refresh-token', ['middleware' => 'jwt.refresh', function() { try { $old_token = JWTAuth::getToken(); $token = JWTAuth::refresh($old_token); JWTA...
阅读全文
faker image
摘要:http://placehold.it http://placekitten.com/g/200/300 带文字 https://placeholdit.imgix.net/~text?txtsize=50&txt=logo&w=110&h=110&txttrack=0 cat http://pla
阅读全文
intervention/image intervention/imagecache
摘要:http://image.intervention.io/ 安装两个包 使用 Creating Image from File Upload laravel router
阅读全文
图片lightbox2
摘要:1. 官网下载http://lokeshdhakar.com/projects/lightbox2/2.引入 css jquery js3. HTML格式
阅读全文
dropzone
摘要:1.引入css与js文件2.建立上传图片的路由到控制器3.视图文件form(action到上传路由)与dropzone(参数对应form的ID)选项js如下:@extends('layouts.main')@section('content') Gallery Show {{ $g->n...
阅读全文
验证码 mewebstudio/captcha
摘要:composer require mews/captchahttps://github.com/mewebstudio/captcha
阅读全文
laracasts/flash
摘要:一个flash消息的插件composer require laracasts/flashconfig\app.php//provider'Laracasts\Flash\FlashServiceProvider'//aliases'Flash' => 'Laracasts\Flash\Flash'...
阅读全文