Skip to content
Laravel package to allow others to login via indieauth
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


The Laravel-IndieAuth-Client package offers a simple form field that will allow users to log in to your site via indieauth.


first run composer require to fetch the vendor libraries.

Next add it to your providers and aliases in config/app.php.


    'providers' => [


    'aliases' => [


        'IndieAuth' => Inklings\IndieAuth\Helpers::class,




Adding to templates

Now you can easily add a login / logout form directly in your template

{!! IndieAuth::login_logout_form() !!}

There are also login_form() and logout_form() functions.

You can add a logged in line, if the user is currently logged in.

    @if (IndieAuth::is_logged_in())
        <div>Logged In As: {!! IndieAuth::user() !!}</div>

You can customize the templates by using the vendor:publish command

Any results will be in session('error') or session('success');

Look at src/Helpers.php to see all functions available under IndieAuth::

You can’t perform that action at this time.