This is a laravel Auth Starter Kit, with full user/admin authentication with both session and token auth

Overview

About Auth Starter

It's a Laravel 8 authentication markdown that will help you to understand and grasp all the underlying functionality for Session and API Authentication which include:

  • User & Admin Sessions
  • Admin Roles & Permissions
  • Authentication Middleware for Users and Admins
  • Gates and Policies
  • Form Request
  • API Resources
  • Auth Sanctum
  • Notifications
  • Social Login with socialite
  • API Endpoints to accomplish social login from mobile or frontend applications

feel free to use it as a startup for your next Laravel project

User Features

User has the following features provided as Web and API

  • Routing
  • Email & Password Authentication
  • Login, Register, Update Profile
  • Forget Password functionality
  • Email Verification functionality
  • Social Login with google and facebook login
  • Protecting some routes against un verified emails
  • Protecting routes against admin sessions
  • Protecting some routes against guests
  • File Upload
  • UI is built with Bootstrap 5

Admin Features

Admin has the following features provided as Web and API

  • Routing
  • Email & Password Authentication
  • Login, Update Profile
  • Protecting routes against user sessions
  • Protecting some routes against guests
  • Control Admins
  • Control Users
  • Policies for admin roles
  • UI is built with Purple Dashboard

Installation

First clone this repository, install the dependencies, and setup your .env file.

git clone https://github.com/samialateya/Auth-Starter.git
composer install
cp .env.example .env

Then create new database and run the migrations.

php artisan db migrate

Run the initial migrations and seeders to create an admin account aside with admin roles.

php artisan db:seed
Update your ENV file with the email driver credentials
and social login keys

lastly you need to setup and run the queue worker in order to send email in background. run the following commands and then update ENV QUEUE_CONNECTION=database

php artisan queue:table

php artisan queue:work

you are good to go now in another terminal serve the application

php artisan serve

Contributing

Thank you for considering contributing to AuthStarter. Feel free to fork this repo and submit a pull request with your updates

Errors and Vulnerabilities

Please open an issue on Github if you discover a vulnerability or you face an error with this repo. and feel free to contact me at [email protected]

You might also like...
Laravel + Livewire + Bootstrap 5 UI starter kit.
Laravel + Livewire + Bootstrap 5 UI starter kit.

bastinald/ui Laravel + Livewire + Bootstrap 5 UI starter kit. Requirements Laravel 8 NPM Features Bootstrap 5 pre-configured Textarea autosize Floatin

a free, open-source dashboard panel starter kit for Laravel
a free, open-source dashboard panel starter kit for Laravel

QAdmin a free, open-source dashboard panel starter kit for Laravel. Just intall and everything is ready Tech Stack Client: ruangAdmin, Bootstrap, Jque

A simple starter kit for using TypedCMS with the Laravel framework.

TypedCMS Starter Kit for Laravel Our stater kits are tailored solutions for each platform, unlike the simple API wrappers offered by other vendors. Th

 Laravel React Webpack Starter Kit
Laravel React Webpack Starter Kit

About Laravel Laravel React Webpack Starter Kit This starter kit is designed to get you up and running with with react.js with Laravel, built on top o

👔 Enterprise Web application starter kit or template using Laravel

Laravel Enterprise Starter Kit (LESK) Description LESK, is a template project based on the Laravel LTS, combining a set of features that can kick star

A Laravel-Nuxt starter kit.
A Laravel-Nuxt starter kit.

Laravel-Nuxt A Laravel-Nuxt starter project template. Features Nuxt 2 Laravel 8 SPA or SSR Socialite integration VueI18n + ESlint + Bootstrap 4 + Font

A Laravel-Vue-Tailwind SAAS Starter Kit.

Super SAAS Template My name is Julien Nahum, I've founded multiple Software-As-A-Service companies. This repo is the base I'm using to create a new SA

A Laravel-Vue SPA starter kit.
A Laravel-Vue SPA starter kit.

Laravel-Vue SPA A Laravel-Vue SPA starter kit. Features Laravel 8 Vue + VueRouter + Vuex + VueI18n + ESlint Pages with dynamic import and custom layou

An administration starter kit for Laravel.
An administration starter kit for Laravel.

Craftable About Demo Packages used Requirements Installation New project Add to existing project Basics Documentation Where to go next? About Hi Craft

Owner
Sami Alateya
Senior Web Developer
Sami Alateya
An implementing of the Laravel Breeze application / authentication starter kit frontend in Next.js

Windmill with Laravel Breeze as Backend API Introduction This repository is an implementing of the Laravel Breeze application / authentication starter

ROKET ID 17 Nov 18, 2022
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme

Laravel Boilerplate Project Laravel Boilerplate provides a very flexible and extensible way of building your custom Laravel applications. Table of Con

Labs64 848 Dec 28, 2022
Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Note: This package is only used by Backpack v3. Starting with Backpack v4, everything this package does is included in Backpack/CRUD - one package to

Backpack for Laravel 845 Nov 29, 2022
Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE

Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Backpack for Laravel 845 Nov 29, 2022
React laravel starter kit with tailwind css and vite js(laravel 9)

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Jerald Tonmoy Dias 2 Dec 23, 2022
A Laravel Starter Kit for Laravel. Built with Laravel 8.

Laravel Get Started Project Laravel Get Started Project is a basic crud app built with laravel 8. In this app a basic product crud created. Features i

Nazmul Hasan Robin 8 Nov 24, 2022
A starter kit that integrates Laravel with Vue CLI, Inertia.js, TailwindCSS and Vuetify

Laravel Viltify Laravel Viltify is a heavily opinionated Laravel starter kit. It's intent is to seamlessly integrate V ue, I nertia.js, L aravel, T ai

Matheus Dal'Pizzol 50 Jan 4, 2023
It's a dashboard theme/UI-Starter Kit with Laravel, Inertia and Vue (JetStream).

TailAdmin Inertia It's a dashboard theme/UI-Starter Kit with Laravel, Inertia and Vue (JetStream). Setup Directions npm install composer install Chang

Sinan AYDOÄžAN 121 Dec 31, 2022
Laravel API starter Kit will provide you with the tools for making API's that everyone will love

Laravel API Starter Kit Laravel API starter Kit will provide you with the tools for making API's that everyone will love, API Authentication is alread

Jose Luis Fonseca 400 Dec 29, 2022