Skip to content

pathak-vikash/laravel-airlock

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Introduction

Laravel Airlock provides a featherweight authentication system for SPAs and simple APIs.

Installation

  • Clone repository and install composer dependencies

    composer require laravel/airlock

  • Setting database and run migration

    php artisan migrate

  • Start application

    php artisan serve

  • Implementation examples - follow the routes/api.php file

    • Generate Token & Set token abilities
    • Authenticate Application using Token
    • Get current loggedIn User
    • SPA authentication - get the code in resources/view/welcome.blade.php
    • Revoke tokens

Official Documentation

https://github.com/laravel/airlock

About

An example project for laravel airlock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published