🔐 JSON Web Token Authentication for Laravel & Lumen

Overview

jwt-auth-banner

PHPUnit Codecov branch StyleCI Latest Version Latest Dev Version Monthly Downloads

Documentation

Documentation for 1.* here

For version 0.5.* See the WIKI for documentation.


Supported by Auth0

If you want to easily add secure authentication to Laravel apps, feel free to check out Auth0's SDK and free plan at auth0.com/developers

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

The MIT License (MIT)

SensioLabs Insight

Issues
  • Refresh token

    Refresh token

    I use refresh token middleware

    Route::group(['prefix' => env('API_VERSION', 'dev'),'middleware' => ['jwt.refresh','jwt.auth','user.lastseen']], function()

    I always get token invalid message (token_invalid)?

    thanks:D

    opened by marijang 53
  • Add support & documentation for integrating with Lumen 5.2

    Add support & documentation for integrating with Lumen 5.2

    Since Lumen does not support session state, incoming requests that we wish to authenticate must be authenticated via a stateless mechanism such as API tokens. This package is really going to be helpful for resolving out the authenticated user from the request through API token. https://lumen.laravel.com/docs/5.2/authentication

    Auth::viaRequest('api', function ($request) {
        try {
            if (! $user = JWTAuth::parseToken()->authenticate()) {
                return null;
            }
        } catch (Exception $e) {
            return null;
        } 
        return $user;
    });
    

    It would be really helpful if we have another section in the wiki about integrating this package with Lumen. I see that most of the work has already been done ( already there is a LumenServiceProvider ), only that it needs to be upgraded to support v5.2 and documented. Thank you Symon for giving us this wonderful package that we can use with out Laravel and Lumen projects.

    opened by rajabishek 49
  • Laravel 5.5. jwt:generate issue

    Laravel 5.5. jwt:generate issue

    Hi all, I came upon one issue when I try to run php artisan jwt:generate I get the Reflection Exception saying "[ReflectionException] Method Tymon\JWTAuth\Commands\JWTGenerateCommand::handle() does not exist"

    Both Facades and service providers are entered properly and they are valid.

    Also for people who have a struggle to make it work I can advise one solution. Go to JWTGenerateCommand.php file located in vendor/tymon/src/Commands and paste this part of code public function handle() { $this->fire(); }

    I know this is not an elegant solution, but it works. I hope this might help until official fix arrive.

    Have a nice day.

    opened by Milos0110 49
  • Token Not Provided

    Token Not Provided

    Hello.

    I've added the following header to all of my requests in Angular:

    Authorization: Bearer eyJhbGciOiJI...
    

    and I can see that it's working. On the Laravel side I'm using:

    public function __construct()
    {
        $this->middleware('jwt.auth');
    }
    

    No matter what I do I'm getting 400 bad request, token_not_provided. Any idea what might be going on?

    Thank you for your work on this package. Matt

    opened by mcblum 48
  • Feature: Laravel 5.2 Custom Authentication Guard and Driver

    Feature: Laravel 5.2 Custom Authentication Guard and Driver

    The docs indicate it is possible to create your own implementation of Illuminate\Contracts\Auth\Guard and registering it as a driver in a service provider.

    I was reading about the new stateless token authentication that was added in 5.2 in a JacobBennett Gist (the docs are really vague), but it doesn't appear to be the same as JWT tokens. That said it would be amazing to be able to leverage Laravel's API the same way.

    Would it be possible to create a custom driver to reduce the amount of changes required to implement JWT tokens, and reduce the API a bit so using more of Laravel's API? For example getting a user is Auth::guard('api')->user(); using the API guard, and the equivalent could be Auth::guard('jwt')->user();

    opened by mtpultz 44
  • Laravel v6 support

    Laravel v6 support

    Please support Laravel v6.

    opened by MatanYadaev 42
  • How do you refresh Token ?

    How do you refresh Token ?

    Hi

    Is there any documentation on how to refresh token after it gets expired ?

    Also there is conflict if you use both refresh and blacklist for all protected routes.

    opened by mrgodhani 31
  • Guide for setting up with Lumen?

    Guide for setting up with Lumen?

    Where's the current guide to setting up a recent version of jwt-auth (I'm trying to use 1.0.0-beta.3) with a recent version of Lumen (5.4)?

    I've looked through various threads in the issue tracker (such as https://github.com/tymondesigns/jwt-auth/issues/376) and it's really not clear what the best practice is.

    opened by tremby 29
  • JWT Auth doesn't have Laravel 5.8 Compatibility and Carbon 2

    JWT Auth doesn't have Laravel 5.8 Compatibility and Carbon 2

    https://github.com/tymondesigns/jwt-auth/releases/tag/1.0.0-rc.3

    Please release Larvel 5.8 compatibility package with nesbot/carbon: v2.* require

    opened by akr4m 29
  •  Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given

    Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given

    Subject of the issue

    Describe your issue here.

    Your environment

    | Q | A | ----------------- | --- | Bug? | no | New Feature? | no | Framework | Laravel | Framework version | 5.7 | Package version | 11.0.0-rc.3 | PHP version | 7.x.y

    Steps to reproduce

    Tell us how to reproduce this issue. After Pushing code to live server and generating jwt key and clearing config cache. I get Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given, error

    Expected behaviour

    Tell us what should happen

    Actual behaviour

    Tell us what happens instead

    opened by sulemankhann 27
  • Force login doesn't work.

    Force login doesn't work.

    Subject of the issue

    Describe your issue here.

    Your environment

    | Q | A | ----------------- | --- | Bug? | no | New Feature? | no | Framework | Laravel | Framework version | 7.30..6 | Package version | 1.0.2 | PHP version | 7.4.3

    Steps to reproduce

    Uing the 'login' method. image

    Expected behaviour

    Log in and return the token. image

    Actual behaviour

    Returns the token correctly. But when I try to use it, it returns 401. image

    I'm trying to login without database. If the criteria is correct, I want to force login manually. I created a 'UserApi' model and put it in the 'provider'. But I can't use the returned token. Always returns '401'. Am I doing something wrong?

    This is my controller:

    public function loginLdap(Request $request)
        {
            try {
                $usuario = $request->username;
                $senha = $request->password;
    
                $validator = Validator::make($request->all(), [
                    'username' => 'required',
                    'password' => 'required|string|min:6',
                ]);
    
                if ($validator->fails()) {
                    return response()->json($validator->errors(), 422);
                }
    
                $user = new UserApi([
                    'username'    => $usuario,
                    'password' => $senha
                ]);
    
                $authLdap = $this->ldapConnection($usuario, $senha);
    
                if ($authLdap)
                    throw new Exception($authLdap);
    
                $token = auth('api')->login($user);
    
                return $this->createNewToken($token);
            } catch (Exception $exp) {
                return response()->json(['error' => $exp->getMessage()]);
            }
        }
    

    This is my class:

    class UserApi extends Authenticatable implements JWTSubject
    {
        use Notifiable;
        protected $table = 'nm_api_auth';
    
        /**
         * The attributes that are mass assignable.
         *
         * @var array
         */
        protected $fillable = [
            'username', 'password',
        ];
    
        /**
         * The attributes that should be hidden for arrays.
         *
         * @var array
         */
        protected $hidden = [
            'password', 'remember_token',
        ];
    
        /**
         * The attributes that should be cast to native types.
         *
         * @var array
         */
        protected $casts = [
            'email_verified_at' => 'datetime',
        ];
    
        /**
         * Get the identifier that will be stored in the subject claim of the JWT.
         *
         * @return mixed
         */
        public function getJWTIdentifier()
        {
            return $this->getKey();
        }
    
        /**
         * Return a key value array, containing any custom claims to be added to the JWT.
         *
         * @return array
         */
        public function getJWTCustomClaims()
        {
            return [];
        }
    }
    

    Provider config: image

    opened by netofontess 0
  • refresh token flow

    refresh token flow

    How to implement refresh token like this:

    1. when login return access_token and refresh_token
    2. when access_token expires, return a message that informs the token was expired.
    3. after expired, request a new token by sending refresh_token
    4. then return new access_token with new refresh_token too.

    I'm using lumen 8 and from your documentation, the AuthController only return access_token how to generate refresh_token with TTL_REFRESH ?

    opened by donny26utama 2
  • composer require ReflectionException::(

    composer require ReflectionException::("Class auth does not exist")

    Subject of the issue

    Hello, i'm try install this package but return same error: ReflectionException::("Class auth does not exist"). How to resolve?

    Your environment

    | Bug? | yes | New Feature? | no | Framework | Laravel | Framework version | 6.2 | Package version | 1.0 | PHP version | 7.3

    Steps to reproduce

    only install package: composer require tymon/jwt-auth "^1.0"

    Expected behaviour

    Package installed.

    Actual behaviour

    [email protected]:~/dev_environment/core$ composer require tymon/jwt-auth "^1.0" ./composer.json has been updated Running composer update tymon/jwt-auth Loading composer repositories with package information Updating dependencies
    Lock file operations: 4 installs, 0 updates, 0 removals

    • Locking lcobucci/jwt (3.3.3)
    • Locking namshi/jose (7.2.3)
    • Locking symfony/polyfill-php56 (v1.20.0)
    • Locking tymon/jwt-auth (1.0.2) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 4 installs, 0 updates, 0 removals
    • Installing symfony/polyfill-php56 (v1.20.0)
    • Installing namshi/jose (7.2.3): Extracting archive
    • Installing lcobucci/jwt (3.3.3): Extracting archive
    • Installing tymon/jwt-auth (1.0.2): Extracting archive 1 package suggestions were added by new dependencies, use composer suggest to see details.

    composer/package-versions-deprecated: ...done generating version class composer/package-versions-deprecated: You should rely on the Composer\InstalledVersions class instead of this package as you are using Composer 2. You can require composer-runtime-api:^2 to ensure it is present.

    Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi

    Illuminate\Contracts\Container\BindingResolutionException : Target class [auth] does not exist.

    at /home/fabio/dev_environment/core/vendor/laravel/framework/src/Illuminate/Container/Container.php:805 801| 802| try { 803| $reflector = new ReflectionClass($concrete); 804| } catch (ReflectionException $e) {

    805| throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e); 806| } 807| 808| // If the type is not instantiable, the developer is attempting to resolve 809| // an abstract type such as an Interface or Abstract Class and there is

    Exception trace:

    1 Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(Tymon\JWTAuth\Providers\LaravelServiceProvider)) [internal]:0

    2 ReflectionException::("Class auth does not exist") /home/fabio/dev_environment/core/vendor/laravel/framework/src/Illuminate/Container/Container.php:803

    Please use the argument -v to see more details. Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

    Installation failed, reverting ./composer.json and ./composer.lock to their original content.

    opened by fabioselau077 0
  • Token has expired and can no longer be refreshed

    Token has expired and can no longer be refreshed

    I'm getting this error, I can't update the token. I think the problem is in the intermediate function (middleware). Should I protect the token update strategy? Message Token has expired and can no longer be refreshed Level ERROR UserId 6 Exception

       "class": "Tymon\\JWTAuth\\Exceptions\\TokenExpiredException",
       "message": "Token has expired and can no longer be refreshed",
       "code": 0,
       "file": "/var/www/app/vendor/tymon/jwt-auth/src/Claims/IssuedAt.php:59",
       "trace": [
           "/var/www/app/vendor/tymon/jwt-auth/src/Claims/Collection.php:61",
    opened by injectionsuccesfully 2
  • Update lcobucci/jwt (minor)

    Update lcobucci/jwt (minor)

    Gets passed this snyk vulnerability report

    opened by lewiscowleschipuk 1
  • JWT tokens keep getting blacklisted even with blacklist turned off

    JWT tokens keep getting blacklisted even with blacklist turned off

    Recently I've noticed that I keep getting blacklisted tokens, and I'm not sure why.

    My project holds a JWT token and is valid for a period of time, then, when the user tries to navigate to a route, I call a refresh endpoint which returns the result from auth()->refresh() and for some reason it refreshes the token just fine and gives a 200 response, but then tries again 6 more times and results in a blacklisted token.

    I've tried turning the blacklist feature off through .env and directly in the JWT auth file and have set the grace period ridiculously high as well, but still tokens are getting blacklisted

    How do I turn this feature off!

    opened by sts-ryan-holton 1
  • Conflicts with another require

    Conflicts with another require

    Hello. I have an error when installing via composer:

    Problem 1
        - Root composer.json requires tymon/jwt-auth ^0.5.12 -> satisfiable by tymon/jwt-auth[0.5.12].
        - tymon/jwt-auth 0.5.12 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    
    

    PHP 8, Laravel 8 Other dependencies:

    "require": {
        "php": "^8.0",
        "darkaonline/l5-swagger": "^8.0",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "laravel/framework": "^8.54",
        "laravel/sanctum": "^2.11",
        "laravel/tinker": "^2.5",
        "phpunit/phpunit": "^9.3.3",
        "predis/predis": "^1.1"
    },
    "require-dev": {
        "facade/ignition": "^2.5",
        "fakerphp/faker": "^1.9.1",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.2",
        "nunomaduro/collision": "^5.0"
    },
    
    opened by adiafora 8
  • Feel sad for planning to replace this library

    Feel sad for planning to replace this library

    👋 tymondesigns/jwt-auth team,

    I'm Rizki from uasoft and maintainer badaso

    First of all, i would like to thanks for all this library maintainer and contrinbutor, it's a awsome project.

    Because of that, we are using this in our low-code development platform called badaso and that's awesome !

    But badaso is a long term project and need other LTS library project also

    But until now, this library looks like a abandoned project, it's so sad and very unfortunate.

    So we have plan to replace this with other good support token auth library from the official called sanctum.

    I really hope there is a reply from the this library maintainer about the future this library.

    So we can make better choices and plan

    If badaso get good financial support, for sure we will be a sponsoe for this library

    Thank you

    opened by rizkiheryandi 6
  • lcobucci dependency

    lcobucci dependency

    I want to use the apple socialite provider and this package needs lcobucci/jwt v4 plz update your package

    opened by MohammaddReza 3
  • Return

    Return "Expired token" refreshing an expired token on time for ttl_refresh. [On last versión (0.4.3) for old Laravel 4.2]

    Subject of the issue

    return "Expired token" refreshing an expired token on time with ttl_refresh param.

    This problem it's resolved in version 0.5.3, but Laravel 4.2 users, can't install this version.

    Can you add this PR on a new versión (0.4.4 maybe) for Laravel 4.2 users, please? https://github.com/tymondesigns/jwt-auth/pull/102/commits/5e06b6bf3bb43d713386976755d7cb369d7913d2

    Thank you for your work!

    Your environment

    | Q | A | ----------------- | --- | Bug? | yes | New Feature? | no | Framework | Laravel | Framework version | 4.2 | Package version | 0.4.3 | PHP version | 5.6.40

    Steps to reproduce

    Refreshing an expired token

    Expected behaviour

    Return a new token

    Actual behaviour

    Return "expired token".

    opened by manelds 1
Releases(1.0.2)
  • 1.0.2(Nov 27, 2020)

    :sparkles: Improvements

    • Prevent installation of lcobucci/jwt 3.4 and above due to breaking deprecation notice in laravel https://github.com/tymondesigns/jwt-auth/issues/2059
    Source code(tar.gz)
    Source code(zip)
  • 1.0.1(Sep 8, 2020)

  • 1.0.0(Mar 5, 2020)

    :sparkles: Improvements

    • Compatible with Laravel 7

    :boom: Breaking changes

    • Drop support for Laravel 5.1
    • Drop support for Cartalyst Sentinel
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0-rc.5.1(Jan 21, 2020)

  • 1.0.0-rc.5(Sep 12, 2019)

    :sparkles: Improvements

    • Compatible with Laravel 6 (4908d376687bc836e463d851a842d5f0c1c8f494)
    • Added "always-no" option to secret generate command (59421160e5713f14972a72edce7c63ba6a1e3332)
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0-rc.4.1(Mar 14, 2019)

    :bug: Bug fixes

    • Do not add to blacklist if it already exists (63698d304554e5d0bc3eb481cc260a9fc900e151)
    • Fix issue with php 5 (1ce697e1fa280bf22196bc397b324bc9997b90b3)
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0-rc.4(Mar 12, 2019)

    :sparkles: Improvements

    • Compatible with Laravel 5.8 (34d8e48b2a3dd779f37e53fcb76f37e69e8cdd25)
    • Compatible with Carbon 2 (8dfa7952bf752ea1867fcb038a92e01e4b0d8668)

    :bug: Bug fixes

    • Allow nbf claim to be in the future (b860a4ca219d6d76374445cffd9836b1bd1db9a6)

    :art: Other

    • Increase generated secret key length in jwt:secret command to 64 characters (f72b8eb0deff2c002d40a8b0411a546c28ebec98)
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0-rc.3(Sep 20, 2018)

    :sparkles: Improvements

    • Compatible with Laravel 5.7 (#1655)
    • Added JWTProvider (#1505)
    • JWTGuard is now macroable (#1604)
    • Reset claims collection when creating a payload (#1589)

    :art: Other

    JWTAuth also respects the lock_subject config (#1545)


    👍 Huge thank you to everyone who contributed to this release!

    ℹ️ The next release will be 1.0.0 and I will be stepping up activity on this repo very soon. Thanks for bearing with me 🙏

    Source code(tar.gz)
    Source code(zip)
  • 1.0.0-rc.2(Feb 9, 2018)

    :sparkles: Improvements

    • Compatible with Laravel 5.6
    • Add config option for lock_subject, allowing the removal of the prv claim, if you don't have multiple guards (7c1d58e294b255c4afa31c121b11b947e8699cbe)
    • Add ability to specify leeway to help with clock skew (#1453)
    • Add lcobucci jwt provider, since namshi/jose has been abandoned (#1453)
    • Cookies can now be decrypted (#1363)

    :bug: Fixes

    • Fix jwt:secret command

    :art: Other

    • Tested on php 7.2
    • Tons of other improvements, including code style fixes and even more test coverage

    :boom: Breaking changes

    • auth()->getToken() now returns null instead of false if the token is not present.

    👍 Huge thank you to everyone who contributed to this release!

    Source code(tar.gz)
    Source code(zip)
  • 1.0.0-rc.1(Aug 31, 2017)

    :sparkles: Improvements

    • Compatible with Laravel 5.5 💥 (#1278) (#1255)
    • Support for multiple guards (#1167)
    • More sensible order of claim overrides (#1222)

    :bug: Fixes

    • Fix for Lumen empty request issue (#1243)
    • Fix jwt:secret command not returning when it should (5b4785e45671a45fdb23d3b3df5c9c31681d547c)

    :art: Other

    • Adding code of conduct
    • Tons of other improvements, including code style fixes and even more test coverage

    Full docs will be ready for the final 1.0.0 release

    👍 Huge thank you to everyone who contributed to this release!

    @lucasmichot @cappuc @crynobone @miscbits @MitchellMcKenna @KennedyTedesco @DanielMcAssey @hughsaffar @nachodd

    Source code(tar.gz)
    Source code(zip)
  • 0.5.12(Jun 7, 2017)

  • 0.5.11(Apr 6, 2017)

  • 1.0.0-beta.3(Mar 25, 2017)

  • 1.0.0-beta.2(Jan 30, 2017)

  • 1.0.0-beta.1(Nov 20, 2016)

  • 1.0.0-alpha.3(Sep 6, 2016)

  • 1.0.0-alpha.2(Apr 21, 2016)

  • 1.0.0-alpha1(Mar 7, 2016)

    Tagging an alpha version of the next release.

    No documentation just yet (soon) so only use if you know what you're doing :smile:

    Will populate here with a quick start soon too

    Source code(tar.gz)
    Source code(zip)
  • 0.5.9(Feb 18, 2016)

  • 0.5.8(Feb 17, 2016)

  • 0.5.7(Feb 16, 2016)

    Some bug fixes brought over from develop branch.

    • Allow Auth exceptions to bubble up to the surface (948518e1bc4752ab1f8fda78d8a615673d7ee6ef)
    • Improve testing mock stability (20185f7bfa94ed0ddf4934c755cd795479eee148)
    • Enabling blacklisting of expired-but-refreshable tokens (7b89b50da7b50d1e2608cfe060490d396f2f0d6a)
    • Other small improvements and tweaks
    Source code(tar.gz)
    Source code(zip)
  • 0.5.6(Nov 24, 2015)

  • 0.5.5(Sep 15, 2015)

  • 0.5.4(Jul 2, 2015)

  • 0.5.3(Apr 26, 2015)

    • fixes token refreshing where token is wrongly deemed expired - see #102
    • fixes issue where refresh ttl not passed from config
    • other small improvements
    Source code(tar.gz)
    Source code(zip)
  • 0.4.3(Apr 20, 2015)

  • 0.5.2(Apr 20, 2015)

  • 0.5.1(Apr 7, 2015)

  • 0.4.2(Apr 7, 2015)

Laravel Authentication Log is a package Log user authentication details and send new device notifications.

Laravel Authentication Log is a package which tracks your user's authentication information such as login/logout time, IP, Browser, Location, etc. as well as sends out notifications via mail, slack, or sms for new devices and failed logins.

Anthony Rappa 393 Jan 9, 2022
Laravel Podcast is Laravel 5.5 web app that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI and User Authentication.

Laravel Podcast is Laravel 5.5 web app that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI and

Jeremy Kenedy 36 Dec 29, 2021
Laravel-FCM is an easy to use package working with both Laravel and Lumen for sending push notification with Firebase Cloud Messaging (FCM).

Laravel-FCM Introduction Laravel-FCM is an easy to use package working with both Laravel and Lumen for sending push notification with Firebase Cloud M

Rahul Thapa 2 Dec 29, 2021
📦 Adds Laravel Packages Support to Lumen and Vendor Publish Artisan Command.

Laravel Package Support for Lumen: Makes Lumen compatible with Laravel Packages. You can use any Laravel Packages in Lumen by installing Larasupport Package.

Irfaq Syed 117 Jan 11, 2022
A collection of generators for Lumen and Laravel 5.

Lumen generators A collection of generators for Lumen and Laravel 5. Contents Why ? Installation Quick Usage Detailed Usage Model Generator Migration

Amine Ben hammou 352 Dec 31, 2021
CORS (Cross-Origin Resource Sharing) support for Laravel and Lumen

Description This package adds Cross-Origin Resource Sharing (CORS) support to your Laravel application. The package is based on Framework agnostic (PS

null 48 Feb 1, 2020
A Laravel and Lumen Badges Generator

Laravel and Lumen Badge Generator That package is a easy wrapper to Badges/Poser. #Installing composer require vluzrmos/laravel-badge-poser Laravel co

Vagner Luz do Carmo 6 Jun 10, 2020
Provides a Eloquent query builder for Laravel or Lumen

This package provides an advanced filter for Laravel or Lumen model based on incoming requets.

M.Fouladgar 389 Jan 11, 2022
Laravel and Lumen Auto Hard Deleter

Laravel Auto Hard Deleter This package deletes soft deleted rows automatically after a time interval that you define. For Laravel and Lumen 6, 7, 8 In

Siavash Bamshadnia 29 Oct 25, 2021
Laravel Lumen service provider for Understand.io

The service provider is deprecated - it does not support error grouping. Laravel Lumen service provider for Understand.io You may also be interested i

null 6 May 30, 2019
Laravel 2-Step Verification is a package to add 2-Step user authentication to any Laravel project easily.

Laravel 2-Step verification is a package to add 2-Step user authentication to any Laravel project easily. It is configurable and customizable. It uses notifications to send the user an email with a 4-digit verification code. Laravel 2-Step Authentication Verification for Laravel. Can be used in out the box with Laravel's authentication scaffolding or integrated into other projects.

Jeremy Kenedy 190 Dec 29, 2021
Teste dos mano do pay lá ft. Lumen Framework

Teste dos caras lá pay Avisos antes de começar Crie um repositório no seu GitHub sem citar nada relacionado a empresa dos cara lá. (CHECK) Faça seus c

Daniel Reis 26 Dec 19, 2021
Stripe integration in Lumen

Lumen Boilerplate/Starter App for Stripe payment processing Core Features return all available subscription plans create a subscription check subscrip

George Basteas 3 Jan 3, 2022
Chinese to Pinyin translator for Laravel5 / Lumen based on overtrue/pinyin.

Laravel-pinyin Chinese to Pinyin translator for Laravel5 / Lumen based on overtrue/pinyin. Install composer require "overtrue/laravel-pinyin:~4.0" For

安正超 497 Dec 27, 2021
Public API for the project coding.events. Made in PHP 8.0 with Lumen 8, PHP-FPM, NGINX and MySQL 8.

coding.events API Uma API feita apenas para passar o tempo, montando uma API para o site <coding.events>. Sinta-se livre para usar esse código como es

Kaique Garcia 4 Dec 29, 2021
A Slack Invitator made with Lumen Framework.

Lumen - Slackin A Slack Invitator made with Lumen Framework and inspired by rauchg/slackin. That application uses some of my awesome packages: Badge P

Vagner Luz do Carmo 56 May 3, 2020
Lumen rest api demo with Dingo/Api, JWT, CORS, PHPUNIT

lumen-api-demo 这是一个比较完整用 lumen 5.7 写的的 REST API 例子。使用了 dingo/api ,jwt 实现登录,功能上很简单,登录,注册,发帖,评论,单元测试(正在补充)。 lumen5.x 请看对应的分支 有需要随时联系我 lumen/laravel/rest

Yu Li 863 Jan 12, 2022
Authentication for SPA (Laravel Sanctum + Vue.js)

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

Damir 0 Dec 30, 2021
Log user authentication actions in Laravel.

Laravel Auth Log The laravel-auth-log package will log all the default Laravel authentication events (Login, Attempting, Lockout, etc.) to your databa

Label84 11 Jan 18, 2022