Customized authentication will be used in this gist instead of default Auth facade provided by Laravel
composer create-project laravel-laravel your-project-name
cd your-project-name
#!/bin/env python | |
# expects python3 | |
################################################################################ | |
import argparse | |
import socket | |
import sys | |
################################################################################ |
// Create an immediately invoked functional expression to wrap our code | |
(function() { | |
// Define our constructor | |
this.myPlugin = function() { | |
// Create global element references | |
this.element = null; | |
// Define option defaults |
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) | |
define([], factory(root)); | |
else if (typeof exports === 'object') | |
module.exports = factory(root); | |
else | |
root.myPlugin = factory(root); | |
})(typeof global !== "undefined" ? global : this.window || this.global, function (root) { |