zwacky / loginchecka
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
Requires
- php: >=5.3.0
- illuminate/support: 4.1.*
- orchestra/testbench: 2.1.*
- twitter/bootstrap: *
Requires (Dev)
- mockery/mockery: dev-master
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.
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',