zwacky/loginchecka

There is no license information available for the latest version (v0.1.0) of this package.

Small login component to casually drop in yo app

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/zwacky/loginchecka

v0.1.0 2014-03-26 13:03 UTC

This package is not auto-updated.

Last update: 2025-12-06 22:38:30 UTC


README

Small login component that adds a config auth driver to casually drop in yo app.

Loginchecka login screen

Instructions

  • do a php artisan config:publish --path="vendor/zwacky/loginchecka/config" zwacky/loginchecka
  • add 'Zwacky\Loginchecka\LogincheckaServiceProvider' to your app.php providers array
  • change 'driver' => 'config' in config/auth.php

Add or modify accounts

Assuming you're using the config auth driver, you can modify the access accounts config/packages/zwacky/loginchecka/config.php under valid_logins.

Default the identifier to use is username. If you're using an eloquent auth driver and your logins need an email to authenticate, change config_driver.identifier in the loginchecka config.

Integration with Frozennode/Laravel-Administrator

check that config/packages/frozennode/administrator/administrator.php has the following changes in the config:

'permission'=> function()
{
	return Auth::check();
},

// the same as loginchecka::urls.login
'login_path' => 'login',