2017 © Pedro Peláez
 

library laravel-indieauth-client

Laravel package for indieauth based authentication

image

inklings.io/laravel-indieauth-client

Laravel package for indieauth based authentication

  • Wednesday, June 7, 2017
  • by dissolve
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel-IndieAuth-Client

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

Installation

first run composer require inlings.io/laravel-indieauth-client to fetch the vendor libraries., (*2)

Next add it to your providers and aliases in config/app.php., (*3)

 [
    
    ...

        Inklings\IndieAuth\IndieAuthClientServiceProvider::class,
    
    ...

    'aliases' => [

    ...

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

    ...

    ],

?>

Adding to templates

Now you can easily add a login / logout form directly in your template, (*4)

{!! IndieAuth::login_logout_form() !!}, (*5)

There are also login_form() and logout_form() functions., (*6)

You can add a logged in line, if the user is currently logged in., (*7)

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

You can customize the templates by using the vendor:publish command, (*8)

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

Look at src/Helpers.php to see all functions available under IndieAuth::, (*10)

The Versions

07/06 2017

dev-master

9999999-dev

Laravel package for indieauth based authentication

  Sources   Download

MIT CC0-1.0

The Requires

 

07/06 2017

0.1.2

0.1.2.0

Laravel package for indieauth based authentication

  Sources   Download

MIT CC0-1.0

The Requires

 

26/05 2017

0.1.1

0.1.1.0

Laravel package for indieauth based authentication

  Sources   Download

MIT CC0-1.0

The Requires

 

25/05 2017

0.1.0

0.1.0.0

Laravel package for indieauth based authentication

  Sources   Download

MIT CC0-1.0

The Requires