Skip to content

Instantly share code, notes, and snippets.

@dragg
dragg / .env
Last active June 3, 2017 11:33 — forked from Ellrion/.tinker
Laravel tinker helper include file
PSYSH_CONFIG=tinker.config.php
@dragg
dragg / AuthenticateController.php
Last active August 17, 2016 10:11 — forked from iolson/AuthenticateController.php
SentinelAuthAdapter for using Tymon\JWTAuth with Cartalyst\Sentinel
<?php namespace App\Http\Controllers\Api\V1;
use App\Http\Controllers\Controller;
use App\Http\Requests;
use Illuminate\Http\Request;
use Tymon\JWTAuth\Facades\JWTAuth;
use Tymon\JWTAuth\Exceptions\JWTException;
class AuthenticateController extends Controller
{