Skip to content

Instantly share code, notes, and snippets.

View ImtiazEpu's full-sized avatar
🇵🇸
I stand with Palestine 🇵🇸

Imtiaz Ahmed ImtiazEpu

🇵🇸
I stand with Palestine 🇵🇸
View GitHub Profile
//login method
public function processLogin()
{
$validator = Validator::make(request()->all(), [
'email' => 'required|email',
'password' => 'required',
]);
if ($validator->fails()) {
return redirect()->back()->withErrors($validator)->withInput();
}
@ImtiazEpu
ImtiazEpu / deployment_guide.md
Created April 24, 2019 18:41 — forked from vicgonvt/deployment_guide.md
Deployment Guide for Ubuntu Server from Scratch with Laravel

Setting Up Laravel in Ubuntu / DigitalOcean

Getting Started

  • Create droplet with Ubuntu 18.10
  • ssh root@[DROPLET IP ADDRESS]
  • Get password from your email
  • Change password on first login
  • adduser laravel
  • Enter password and other information